-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Notebooks
- Notebook Operating System and Recovery
- command prompt is not opening

Create an account on the HP Community to personalize your profile and ask a question
Your account also allows you to connect with HP support faster, access a personal dashboard to manage all of your devices in one place, view warranty information, case status and more.
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
It has been a while since anyone has replied. Simply ask a new question if you would like to start the discussion again.
4 REPLIES 4
03-25-2020 01:24 PM
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.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community.
If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.
Didn't find what you were looking for?
Ask the community
† 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>.