Download ArticleDownload Article

This How.com.vn teaches you how to access Command Prompt on a Windows 10 school computer. Although you may be able to open Command Prompt if only the file path to Command Prompt is blocked, there is no way to bypass an administrator lock on Command Prompt. Similarly, you usually won't be able to run Command Prompt in administrator mode, though you may be able to use a Windows 10 installation USB drive to bypass this restriction.

Method 1
Method 1 of 5:

Using the Start Menu

Download Article
  1. How.com.vn English: Step 1 Open Start icon.
    Click the Windows logo in the bottom-left corner of the screen, or press Win.
    • This method is unlikely to work on most average school computers, but computers used for programming classes or other advanced material may allow default access to the Command Prompt.
  2. How.com.vn English: Step 2 Type command prompt into Start.
    This will search your computer for the Command Prompt program.
    Advertisement
  3. How.com.vn English: Step 3 Click icon Command Prompt.
    It should be at the top of the Start window. If clicking this icon opens Command Prompt, you shouldn't need to try any other methods.
    • If Command Prompt doesn't open, you'll need to try one of the work-arounds listed in this article.
    • If Command Prompt opens but won't allow you to type, it's administrator-locked, meaning you won't be able to use Command Prompt on your current account. Try using an installation drive instead.
  4. Advertisement
Method 2
Method 2 of 5:

Using the Run Shortcut

Download Article
  1. How.com.vn English: Step 1 Open Start icon.
    Click the Windows logo in the bottom-left corner of the screen, or press Win.
  2. How.com.vn English: Step 2 Type run into Start.
    This command will search your computer for the Run program.
    • If you receive an error message saying that you can't open Run, try running a batch file version of this command.
  3. How.com.vn English: Step 3 Click Run.
    It's the blue, envelope-shaped icon at the top of the Start window.
  4. How.com.vn English: Step 4 Type cmd.exe into Run.
    This command will open the Command Prompt application if it's available.
  5. How.com.vn English: Step 5 Click OK.
    Doing so should open Command Prompt if it's accessible on your computer.
    • If Command Prompt opens but won't allow you to type, it's administrator-locked, meaning you won't be able to use Command Prompt on your current account. Try using an installation drive instead.
  6. Advertisement
Method 3
Method 3 of 5:

Using File Explorer

Download Article
  1. How.com.vn English: Step 1 Open File Explorer icon.
    Click the folder-shaped icon in the taskbar at the bottom of the screen, or press Win+E.
    • You can also open Start
      How.com.vn English: Windows Start
      , type in file explorer, and click File Explorer in the Start window.
  2. How.com.vn English: Step 2 Highlight the text in the address bar.
    Click the text in the address bar, which is at the top of the File Explorer window, to highlight it.
    • In most cases, the text in the address bar will say "Quick access".
  3. How.com.vn English: Step 3 Enter the path to Command Prompt.
    Type in C:\Windows\System32\cmd.exe and then press Enter. This will open Command Prompt if it's available on your computer.
    • If Command Prompt opens but won't allow you to type, it's administrator-locked, meaning you won't be able to use Command Prompt on your current account. Try using an installation drive instead.
  4. Advertisement
Method 4
Method 4 of 5:

Creating a Batch File

Download Article
  1. How.com.vn English: Step 1 Open Start icon.
    Click the Windows logo in the bottom-left corner of the screen, or press Win.
  2. How.com.vn English: Step 2 Type notepad into Start.
    This will search for the Notepad application.
  3. How.com.vn English: Step 3 Click Notepad.
    It's the blue, notepad-shaped icon at the top of the Start window.
    • If Notepad is blocked on your school computer, you'll instead need to perform this task on your own computer.
  4. How.com.vn English: Step 4 Type cmd.exe into Notepad.
    This string of text will load the Command Prompt app when implemented.
  5. How.com.vn English: Step 5 Click File.
    It's in the top-left corner of the screen.
  6. How.com.vn English: Step 6 Click Save As….
    This is an option in the File drop-down menu.
  7. How.com.vn English: Step 7 Enter a name for your file, followed by .bat.
    The ".bat" part of the name is crucial to creating a batch file.
    • For example, if you name your file "cmd", you'd type in cmd.bat here.
  8. Step 8 Click the box next to "Save as type", then click All Files.
    This will ensure that your file is saved as an executable file, not a text file.
  9. How.com.vn English: Step 9 Click Save.
    It's in the bottom-right corner of the window.
    • If you're performing this step on your own computer, plug a flash drive into your computer and select it as a save location before clicking Save.
  10. How.com.vn English: Step 10 Double-click the batch file.
    Doing so should open Command Prompt if your computer allows batch files to be run.
    • If you can't run the program on your school computer, plug your flash drive into the computer and then double-click the batch file.
    • If Command Prompt opens but won't allow you to type, it's administrator-locked, meaning you won't be able to use Command Prompt on your current account. Try using an installation drive instead.
  11. Advertisement
Method 5
Method 5 of 5:

Using a Flash Drive

Download Article
  1. How.com.vn English: Step 1 Understand how this method works.
    In order to make Command Prompt appear with admin privileges, you can use a USB installation drive to access Windows 10 setup options. This method won't work on computers which have the BIOS locked. There are four main tasks you'll perform to complete this method:
    • Access blocked computer options by using an installation drive.
    • Replace the Utility Manager icon's target file with the Command Prompt file.
    • Open Command Prompt on the lock screen by clicking the Utility Manager icon.
    • Use Command Prompt to create a new admin account on which you can use Command Prompt freely.
  2. How.com.vn English: Step 2 Create a Windows 10 installation flash drive.
    Using an 8 GB (or larger) flash drive, you can create an installation drive with the Windows installation tool. You will most likely need to do this using a home (or otherwise unrestricted) computer:
    • Insert the flash drive into your computer.
    • Go to the Windows 10 download page.
    • Click Download tool now
    • Double-click the downloaded file.
    • Follow the setup instructions, making sure to select your flash drive as the installation location.
  3. How.com.vn English: Step 3 Plug your flash drive into the school computer.
    Use one of the school computer's USB ports to do so.
    • If your school computer attempts to auto-run your flash drive, close the auto-run window(s) before proceeding.
  4. How.com.vn English: Step 4 Enter the school computer's BIOS.
    Restart (or turn on) your computer; as soon as you see the screen light up after the computer turns on from restarting (or powering on), immediately begin pressing the BIOS key.
    • The BIOS key varies from computer to computer, but you'll usually see it flash across the bottom of the screen (e.g., "Press F12 to enter startup").
    • If you don't know the BIOS key, try all of the function (e.g., F12) keys, Esc, and Del.
    • If your computer's BIOS is locked with a password, you won't be able to use this method to open Command Prompt.
  5. How.com.vn English: Step 5 Change the computer's boot order.
    Changing the boot order to prioritize your USB flash drive as the primary location from which your computer starts will allow you to access special setup options:
    • Find the "Boot Order" (or similar) section.
    • Select your flash drive's name (or "USB Drives", etc.) by using the arrow keys.
    • Press + to move the flash drive up to the top of the list.
    • Press the "Save and Exit" button as indicated by the legend on the right side (or bottom) of the screen.
    • Restart the computer if it continues to the login screen.
  6. How.com.vn English: Step 6 Open Command Prompt.
    When you arrive at the setup screen, press Shift+F10 to bring up a Command Prompt window.
  7. How.com.vn English: Step 7 Replace Utility Manager with Command Prompt.
    Utility Manager is a system-level app which has a shortcut on the lock screen. You can replace Utility Manager with Command Prompt by doing the following:
    • Type move c:\windows\system32\utilman.exe c:\windows\system32\utilman.exe.bak into Command Prompt, then press Enter
    • Type copy c:\windows\system32\cmd.exe c:\windows\system32\utilman.exe into Command Prompt, then press Enter
  8. How.com.vn English: Step 8 Restart your computer without the flash drive.
    To do this, press and hold the Power button until your computer shuts down, then remove the flash drive before pressing the Power button again to start up the computer. Once you arrive at the lock screen, you can proceed.
  9. Step 9 Click the "Utility Manager" icon.
    It's an icon in the lower-left corner of the screen which resembles a dial with an arrow on it. Doing so will prompt the Command Prompt window to open.
  10. How.com.vn English: Step 10 Create a new admin account if you like.
    While you can use Command Prompt to perform various activities from the lock screen, you'll need to create and log into a new administrator account if you want to be able to use Command Prompt while logged in:
    • Type in net user name /add making sure to replace "name" with a username of your choice, then press Enter.
    • Type in net localgroup administrators name /add again replacing "name" with the name of the user you just created, then press Enter.
    • Restart your computer.
    • Select your new user on the login screen.
  11. How.com.vn English: Step 11 Open Command Prompt...
    Open Command Prompt from Start. Now that you're on an administrator account, you should be able to use the Start menu to open Command Prompt.
  12. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How do I enable command prompt?
    How.com.vn English: Community Answer
    Community Answer
    Try using PowerShell. No one really bothers to block it and it is basically an improved version of Command Prompt.
  • Question
    My school blocked everything you just suggested. What now?
    How.com.vn English: MikePlaysGames
    MikePlaysGames
    Community Answer
    Go to translate.google.com. Make the first box French, and the second box English. Paste the website link in the French section, and click it in the English section.
  • Question
    I can get into CMD, but it says "This has been blocked. Press any key to continue." What should I do?
    How.com.vn English: Community Answer
    Community Answer
    Try opening as administrator. If that don't work, your school's admin has blocked it.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      • If you can access Command Prompt on your school's computer, you still won't be able to do much with it since you won't be able to use administrator mode.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      Advertisement

      About This Article

      How.com.vn English: Jack Lloyd
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for How.com.vn. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 312,902 times.
      How helpful is this?
      Co-authors: 45
      Updated: July 28, 2022
      Views: 312,902
      Categories: Command Prompt
      Thanks to all authors for creating a page that has been read 312,902 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement