Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If you need Command Prompt for troubleshooting, open it from Windows Recovery Environment (WinRE). From there, select Troubleshoot > Advanced options > Command Prompt. The normal Windows sign-in screen does not provide an unrestricted Command Prompt; if you have forgotten your password or PIN, use Microsoft’s sign-in recovery options instead.

Open Command Prompt through Windows Recovery Environment

  1. Reach Windows Recovery Environment using one of the methods below.

  2. In WinRE, select Troubleshoot > Advanced options > Command Prompt.

  3. If prompted, choose an account and enter its credentials. Depending on the recovery route and Windows configuration, you may also need the BitLocker recovery key.

    What’s actually slowing this PC down?

    Pick the symptom - the matching free tool is one click away.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Microsoft describes WinRE as a built-in troubleshooting environment and lists Command Prompt as a tool for advanced troubleshooting. See Microsoft’s Windows recovery environment guide.

Choose a way to reach WinRE

From the sign-in screen

  1. Select the Power button on the sign-in screen.

  2. Hold Shift while selecting Restart.

  3. When the recovery menu appears, choose Troubleshoot > Advanced options > Command Prompt.

    Rank #2
    Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
    • 256 GB SSD of storage.
    • Multitasking is easy with 16GB of RAM
    • Equipped with a blazing fast Core i5 2.00 GHz processor.

This route is described in Microsoft’s Windows Recovery Environment technical reference. Availability can depend on the device and its configuration.

From Windows Settings

If you can sign in, open Settings > System > Recovery > Advanced startup > Restart now. In Windows 10, the route is Settings > Update & Security > Recovery; select Restart now under Advanced startup. Then choose Troubleshoot > Advanced options > Command Prompt.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3

After Windows startup problems

If Windows will not start correctly, Microsoft’s current support instructions describe interrupting startup twice so that the third start opens Automatic Repair. From Automatic Repair, select Advanced options, then navigate to Troubleshoot > Advanced options > Command Prompt. Use this approach only when Windows is failing to start; interrupting startup is not the usual route when the sign-in screen is available. See Microsoft’s WinRE instructions.

With Windows installation media

If the PC cannot reach its built-in recovery environment, start it from Windows installation media. At the Windows Setup screen, choose your language preferences, select Next, then choose Repair your PC rather than installing Windows. In WinRE, select Troubleshoot > Advanced options > Command Prompt. Microsoft’s recovery environment guide explains this entry route.

Rank #4
15.6 Inch Laptop Computer, N4020, 4GB DDR4 RAM, 128GB eMMC,with Windows 11
  • EFFORTLESS EVERYDAY PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 Home system, delivering reliable, low-power efficiency for daily tasks like document editing, email, online classes, and web browsing
  • 15.6-INCH FULL HD DISPLAY: Enjoy immersive visuals on the 15.6" FHD (1920x1080) anti-glare screen with micro-edge bezels. Delivers clear details and comfortable viewing for long study sessions, working on spreadsheets, and video playback
  • RESPONSIVE MULTITASKING & STORAGE: Built with 4GB LPDDR4 RAM and 128GB eMMC storage for smooth daily essential use. Expand your storage by up to 1TB via the integrated TF card slot to easily store movies, photos, and working files
  • ADVANCED CONNECTIVITY: Outfitted with 2x Full-Featured Type-C ports for data transfer, fast charging, and dual-monitor output, alongside 2x USB 3.2 Gen1 ports and a 3.5mm audio jack for complete peripheral compatibility
  • LIGHTWEIGHT & SILENT OPERATION: Slim and portable for effortless travel or commuting. Features a 1MP HD webcam for remote meetings, 38Wh battery with 45W Type-C fast charging, and a fanless silent design for peaceful work environments.

What to expect when Command Prompt asks for access

Recovery does not guarantee that Command Prompt will open without authentication. The prompt and requirements can vary by Windows version, recovery route, and device configuration. Some recovery tools on encrypted devices require the BitLocker recovery key; without it, encrypted files are not accessible in recovery. Keep the key available if the device uses BitLocker. Microsoft’s WinRE technical reference describes changes in Windows 11 that allow most tools to run without selecting an administrator account and entering its password in some recovery contexts, but that does not mean every Command Prompt route bypasses authentication.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

If you forgot your Windows password or PIN

WinRE Command Prompt is a troubleshooting tool, not Microsoft’s recommended way to reset sign-in credentials. At the sign-in screen, select I forgot my password or I forgot my PIN, as applicable, and follow the account recovery steps. Local-account users should follow Microsoft’s local account password reset guidance. Microsoft’s account access and password reset page covers Microsoft account recovery.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Windows 11 Laptop with i3 Processor 15.6" Work Laptop for College Students
  • 【Efficient Performance】 Powered by Intel Core i3 processor (2 cores, 4 threads, up to 3.4GHz) with 12GB RAM and 256GB SSD. Handles multitasking, office software, online classes, and HD video streaming smoothly. Integrated Intel UHD Graphics 620
  • Backlit Keyboard & Complete Package】Comes with a cool backlit keyboard. Comes with awebcam, dual stereo speakers (8Ω/1.0W each), DC charger, and user manual – ready for late-night studying, online classes, video conferencing, and daily productivity
  • 【Vibrant Display】 15.6-inch Full HD (1920x1080) anti-glare screen with 16:9 aspect ratio delivers crisp images and vivid colors – perfect for studying, watching lectures, or entertainment. Thin-bezel design maximizes viewing area
  • 【Fast Connectivity & Expansion】 Equipped with WiFi 6 (802.11ax) and Bluetooth 5.2 for stable, high-speed wireless. Features 3 x USB 3.0, HDMI 2.1, Type-C (supports PD3.0 fast charging), and a TF card slot expandable up to 2TB – easily connect external monitors, mice, drives, or expand storage for all your files
  • 【Long Battery Life & Portable】 Built-in 11.55V 5000mAh/57.75Wh high-capacity battery delivers approximately 7 hours of mixed-use battery life – enough for a full day of classes and assignments. Lightweight at just 1.63kg (3.6 lbs) and 19.5mm thin, plus a compact packing size – easily slips into a backpack for campus, library, or coffee shop

Why not launch a shell from an accessibility control?

Replacing an Ease of Access executable or changing a sign-in screen control to launch Command Prompt is not the supported recovery procedure described by Microsoft’s WinRE guidance. Microsoft’s accessibility documentation addresses registered assistive applications and their behavior on the secure desktop; it does not endorse using them to obtain a shell at sign-in. Use WinRE for troubleshooting, and the account recovery flow for a forgotten password or PIN.

Quick Recap

Bestseller No. 1
Bestseller No. 2
Dell Latitude 5420 14' FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
256 GB SSD of storage.; Multitasking is easy with 16GB of RAM; Equipped with a blazing fast Core i5 2.00 GHz processor.
$299.99
Bestseller No. 3
HP 14' HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
HP 14" HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
14" diagonal, 1366x768 resolution, HD BrightView LED, Glossy NON-TOUCH Display
$249.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.