Run Command Prompt as administrator.
How to always permanently run the cmd window as administrator?
If you do not want to have to continually choose run as administrator every time you want to use the cmd window then can set this option permanently.
You must follow these steps to make this work.
If you take the shortcut to cmd.exe in the start menu it will not work. You must choose Command Prompt in this case.
Go to the start menu and click on it.
Go to all programs. Then Accessories.
You should see command prompt listed there.
Right click on this. A menu will appear.
Choose properties from the menu.
The properties for that shortcut will appear.
Go to the shortcut tab.
Click on the Advanced button.
Type one of the following:
To start a service
To stop a service
To pause a service
To resume a service