Right-click on it and from the context menu select Run as Administrator.
In Windows 10 and Windows 8, follow these steps: Take the cursor to the bottom left corner and right-click to open the WinX menu.
Select Command Prompt (Admin) to open an elevated command prompt.
How do I run Command Prompt as administrator in Windows 10?
Press Windows+R to open the “Run” box. Type “cmd” into the box and then press Ctrl+Shift+Enter to run the command as an administrator. And with that, you have three very easy ways to run commands in the Command Prompt window as administrator.
How do I get to command prompt in Windows 10?
Tap the Search button on the taskbar, type cmd in the search box and choose Command Prompt on the top. Way 3: Open Command Prompt from Quick Access Menu. Press Windows+X, or right-click the bottom-left corner to open the menu, and then select Command Prompt on it.