Trusted answers to developer questions

How to run cmd as an administrator

Get Started With Machine Learning

Learn the fundamentals of Machine Learning with this free course. Future-proof your career by adding ML skills to your toolkit — or prepare to land a job in AI or Data Science.

Command prompt ( cmd ) is a command-line interface used to execute commands in the Windows operating system. Sometimes, you will need to perform a task that requires administrator privileges. For that, we need to specifically open cmd as an administrator.

There are two ways for us to perform this task:

Search cmd

You can open cmd as an administrator by searching for it in the Windows search bar located in the bottom left corner of the desktop screen. Then, right-click on Command Prompt and select Run as administrator.

svg viewer

Using the run command

You can also open a command prompt using a run-box (Windows + R). To do so, open a run-box, write cmd, and press Control + Shift + Enter to open the command prompt as an administrator.

svg viewer

RELATED TAGS

cmd
run
administrator
Copyright ©2024 Educative, Inc. All rights reserved
Did you find this helpful?