How do I run a command with elevated permissions? Some commands that you can run using Command Prompt might require elevated or administrative permissions. To run these commands, you can use the Run as administrator command.
- Swipe in from the right edge of the screen, and then tap Search.
(If you're using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, and then click Search.) - Enter cmd in the search box, and then right-click or press and hold Command Prompt.
- Tap or click Run as administrator.