PDF download Download Article
Use Command Prompt even when your system admin doesn't want you to
PDF download Download Article

Windows administrative are set to control what users are and aren't allowed to do on a computer. If the administrator has blocked Command Prompt access on a computer you are using, you may be able to run Command Prompt commands using batch files. However, administrators can block batch files too. You can download a tool for Windows 7 that allows you to bypass the administrative restrictions and run programs, but it may not work for newer versions of Windows. If nothing else, you can install Windows on a USB drive and use it to boot your own version of Windows without restrictions on any computer. This wikiHow teaches you how to access the Command Prompt on a that is restricted by administrative privileges.

Things You Should Know

  • You can create a batch file to run the command prompts you want, but some administrators may have blocked BAT files on their systems.
  • You can put a Windows 10 ISO on a USB drive and run it to gain access to Command Prompt, but this method can take several hours.
  • If you are on a Windows 7 or earlier operating system, you can download and run RAAC to gain access to Command Prompt.
Method 1
Method 1 of 3:

Using Batch Files

PDF download Download Article
  1. It's in the taskbar in the lower-right corner. This displays the Windows Start menu.
    • Some administrators may block use of batch files on their systems.
  2. This displays Notepad in the Windows Start menu.
    Advertisement
  3. Notepad has an icon that resembles a blue notepad. Click the icon in the Windows Start menu to launch Notepad.
  4. Use Notepad to type the commands you want to use in Command Prompt. Place each command on a separate line.
  5. It's in the menu bar at the top of Notepad.
  6. It's in the File menu.
  7. This allows you to save the file as a file other than a text (.txt) file.
  8. You can give the file any name you want.
  9. This saves your file as a batch file.
  10. After you save the batch file, navigate to the location you saved it at and double-click it to open the batch file.
  11. Advertisement
Method 2
Method 2 of 3:

Running Windows 10 from a USB Drive

PDF download Download Article
  1. As Windows has progressed, it has become increasingly hard to bypass administrative rights. One way to get around this is to boot your own portable version of Windows from a USB drive. To do this, you'll need a copy of Windows, and an installation key to activate it. Use the following steps to download Windows from any computer:
  2. Use the following steps to create a Windows ISO file that can be used to install Windows. Use the following steps to create a Windows 10 ISO file.
    • Open MediacreationTool.exe in your Downloads folder.
    • Click Yes .
    • Click Accept to accept the license terms.
    • Select Create installation media (USB drive, DVD, or ISO file) for another PC and click Next .
    • Select your language, edition, and architecture (optional, uncheck the checkbox to enable the drop-down menus) or use the recommended settings and click Next .
    • Select ISO file and click Next .
    • Click Save to save the ISO file (note where it saves to).
  3. Rufus is a free tool you can use to create a bootable USB drive. Use the following steps to download Rufus:
    • Go to https://rufus.ie/
    • Scroll down and click the latest version of Rufus below "Download".
  4. To install Windows on a USB drive, you'll need at least a 16 GB USB drive (32 GB or higher recommended). Insert a blank USB drive in a free USB slot.
    • This will erase any data on your USB drive. It is recommended that you backup any files you want to keep before proceeding.
  5. By default, your downloaded files can be found in your Downloads folder. Simply click the Rufus ".exe" file to open Rufus.
  6. Use the drop-down menu below "Device" to select your USB drive.
  7. It's the button to the right next to "Boot selection". This button opens a file browser you can use to select the Windows ISO file.
  8. Use the file browser to navigate to where you downloaded the Windows ISO file. Click it to select it and click Open .
  9. Use the drop-down menu below "Image Option" to select "Windows To Go".
  10. This begins the process of installing Windows on your USB drive.
  11. You can install Windows 10 Home Edition, Education, or Pro Edition. Click the radio option next to the version of Windows you want to install and click Ok . This will begin installing Windows on your USB drive. This may take several hours.
  12. You can insert it into any free USB slot.
  13. On most computers, you can enter the BIOS by press F12, F10, F2, F1, ESC, or DEL (depending on the manufacturer) while it boots up. It will normally tell you which button to press. You can also boot into the BIOS using the following steps:<ref> https://www.laptopmag.com/articles/access-bios-windows-10
    • Click the Windows Start menu.
    • Click the Settings/Gear icon.
    • Click Update & Security .
    • Click Recovery in the panel to the left.
    • Click Restart Now .
    • Click Troubleshoot .
    • Click Advanced Options .
    • Click UEFI Firmware Settings .
    • Click Restart .
  14. The BIOS menu is a little different on each computer make and model. Use the arrow keys on the keyboard to navigate the BIOS menu and press "Enter" to select your option. Look for a menu that says "Boot", "Boot Menu", "Boot order" or something similar.
  15. On most computer, the boot order determines which drive the computer will try to boot from first. Set it so that it boots from the USB drive first. If no USB drive is available, it will boot into it's standard Windows installation.
  16. Once you have it set to boot from the USB drive first, navigate to the option to save and exit. The computer will reboot. When it does, it will boot from your USB drive and load your own Windows installation instead of it's normal Windows Installation.
    • The first time you load Windows from a USB drive, you will need to go through standard Windows setup process . You will also need to activate Windows. Once it is installed, you can use the USB drive to access your own Windows installation from any computer. You can also install any programs and files on it.
    • The downside to running Windows from a USB drive is it will run slower than a standard Windows installation.
  17. It's in the lower-left corner of the Windows taskbar.
  18. This displays the Command Prompt in the Windows Start menu.
  19. Since you are running your own Windows installation, the administrative restrictions will not apply.
  20. Advertisement


Method 3
Method 3 of 3:

Using RAAC (WIndows 7 And Earlier)

PDF download Download Article
  1. Navigate to http://sourceforge.net/projects/raacrunasadmin in a web browser. You can use any web browser installed on your computer. This is the download page to for Run As Administrator Controller. It is a free download that allows you to run programs with administrative access on Windows 7 and earlier.
  2. It's the green button at the top of the download page. You ll need to wait approximately 7 seconds for the download to begin.
  3. This will open RAAC. Typically your downloaded files can be found in your Downloads folder. If you are running a 32-bit version of Windows, make sure you download the RAAC X86.exe file. For 64-bit versions of Windows, use RAAC X64.exe.
  4. It's in the upper-right corner of RAAC. This allows you to add programs that you can run as an administrator.
  5. It's the third button at the bottom of RAAC. This option allows you to add executable files you can run.
  6. This will add "cmd.exe" to the list of programs in RAAC. Use the following steps to navigate to the CMD executable.
    • Click the C: drive.
    • Click Windows
    • Click System32
    • Click cmd.exe
      • To find "cmd.exe" on Windows 10, make sure hidden files and folders are visible and navigate to C:\Users\[username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools . RAAC may not be able to open any programs on Windows 10.
    • Click Open .
  7. Windows Command Processor will be listed in RAAC. Click it to select the program and then click the Play icon at the top. This should run cmd.exe with administrative privileges.
  8. Advertisement


Community Q&A

Search
Add New Question
  • Question
    How do I hack command prompt?
    Community Answer
    You can't hack command prompt. You use command prompt to hack. Try to learn how to use command prompt. An example of what you can do with CMD is shut down a computer remotely that is on your local area network. If it is blocked in school, create an echo code which will keep the tab open and bypass the admin access denied notification.
  • Question
    How can I open APK files using command prompt?
    Community Answer
    You can't. APK files are for Android. You can emulate Android using Bluestacks.
  • Question
    What commands can I use to unblock any site with CMD?
    Community Answer
    You can not unblock any site with CMD. You are free to use 3rd party programs though.
See more answers
Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      Warnings

      • Be careful when doing this, many IT admins and tech guys do not like people messing around with their systems when they have it setup for a reason.
      • Don't do this around teachers or people that can see what you're doing, do it when the teacher is not looking or anyone else.
      • We do not take responsibility for any punishment you may get; it is your responsibility to do this without getting caught.
      Advertisement

      About This Article

      Article Summary X

      1. Open Notepad
      2. Type the commands you want to execute in CMD.
      3. Click File followed by Save as .
      4. Select All files (*.*) next to "Save as Type".
      5. Save the file as a ".bat" file.
      6. Navigate to where you opened the file and open it.

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 163,653 times.

      Is this article up to date?

      Advertisement