Skip to content
Follow
Windows

How to Open Command Prompt at Boot in Windows 11

Richard
Written by
Richard
Feb 13, 2026 Updated Mar 31, 2026 2 min read
How to Open Command Prompt at Boot in Windows 11
How to Open Command Prompt at Boot in Windows 11

This guide will show you how to open the Command Prompt before you log into Windows 11. This can help you fix problems if Windows isn’t working right.

⚡ Quick Answer

Open Command Prompt at boot in Windows 11 by pressing Shift+F10 during Windows setup from installation media. Alternatively, access it via the Advanced Startup menu by holding Shift while clicking Restart, then navigating to Troubleshoot > Advanced options > Command Prompt.

What is Command Prompt?

Command Prompt is a black window where you type commands to tell your computer what to do. Windows 11 also has PowerShell, which is similar but more powerful. Using these tools, you can fix issues or automate tasks like backups.

Why open Command Prompt before logging in?

Sometimes, Windows won’t start properly, or you can’t open Command Prompt normally. Opening it early, right when your computer boots up, can help you fix problems before Windows fully loads.

How to open Command Prompt at startup on 🪟 Windows 11

There are two easy ways to do this:

  • Using Windows Installation Media (a USB drive or DVD with Windows files)
  • Using Advanced Startup options built into Windows

Method 1Open Command Prompt with Shift+F10 during Windows setup

You can open the command prompt at boot during Windows setup using a simple keyboard shortcut. If you’re installing Windows 11 from a USB drive or DVD, just press Shift+F10 when the setup screen appears to bring up the command prompt window.

  1. Insert the USB or DVD and restart your computer.
  2. When your PC starts, it may ask you to press any key to boot from the media. Press any key on your keyboard.
  3. When you see the Windows Setup screen like below, press Shift+F10 on your keyboard.
Windows 11 Setup screen
windows 11 install on virtualbox setup

A Command Prompt window will open. You can now type commands. For example, type cd C: and press Enter to switch to your main hard drive.

Command Prompt opened at boot
command prompt at boot windows

Method 2Open Command Prompt from Advanced Startup menu

If you need to open the command prompt at boot but don’t have installation media handy, Windows 11’s Advanced Startup menu is your solution. You can access this menu by holding the Shift key while restarting your PC, then navigating through Troubleshoot and Advanced options to find the command prompt.

  1. Click the Start button, then the Power icon.
  2. [Admin required] [Requires admin privileges] Hold the Shift key and click Restart. Your PC will reboot to a special menu.
  3. When the menu appears, choose Troubleshoot.
  4. Next, click Advanced options.
  5. Then choose Command Prompt.
Windows 11 Advanced Startup Troubleshoot menu
windows 11 advanced startup boot troubleshoot

Windows 11 Advanced Startup Advanced Options
windows 11 advanced startup boot advanced options

Windows 11 Command Prompt option
windows open command prompt at boot menu

A Command Prompt window will open, and you can start typing commands.

Command Prompt at boot in Windows 11
command prompt at boot windows

Summary

  • Opening Command Prompt at boot helps fix problems when Windows won’t start normally.
  • You can open it using Windows installation media with a simple key press (Shift+F10).
  • Or you can use Advanced Startup from inside Windows to access it.
  • For more Windows command info, visit Microsoft’s official page.

Opening the command prompt at boot is a powerful way to fix issues when Windows 11 won’t start correctly. You can access it easily either by using the Shift+F10 shortcut during Windows setup with installation media, or by selecting it through the Advanced Startup options from within Windows.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Disable Command Prompt in Windows 11
Windows How to Disable Command Prompt in Windows 11
How to Open Windows Media Player on Windows 11
Windows How to Open Windows Media Player on Windows 11
How to Fix Windows 11 Startup Issues with Repair Tool
Windows How to Fix Windows 11 Startup Issues with Repair Tool
How to Share Host Folders with Windows Sandbox in Windows 11
Windows How to Share Host Folders with Windows Sandbox in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *