• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Are you having HotKey issues? Click here for tips and tricks.
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
7265ngw
Microsoft Windows 10 (64-bit)

command prompt is not opening. while trying to open it's giving me a popup screen and it's closing with in a second. 

need help on this issue.

4 REPLIES 4
HP Recommended

Hi

Try   WinKey + R

type in the little box

 

cmd.exe pause

 

or navigate to

C:\Windows\System32\cmd.exe and right click to see the options like 

Run as Adminstrator.

HP Recommended

already tried same but it's not working.

HP Recommended

Hi

In the old days a batch file would sometimes trigger the command prompt.

 

So try...

Copy, Paste and Save in Notepad, as LBB.bat (not a .TXT) and double click to run.
Preferably run as an Administrator.
OR
Copy and use the individual command lines as needed.

Post anything non-personal, but relevant please.

@Echo OFF
msinfo32

PAUSE

getmac
netsh lan show interfaces
netsh wlan show interfaces
netsh wlan show drivers

PAUSE
systeminfo
PowerShell -Command "Get-NetAdapter"
PowerShell -Command "Get-NetAdapter -Name * | Format-Table -View Driver"
PowerShell -Command "GIP -Detailed"
PowerShell -Command "Test-NetConnection"
PAUSE


and of course there is PowerShell which may offer some CLI options.

 

ELSE

 

No idea.

HP Recommended

it is also not working.

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.