Right-click that entry and choose Run as administrator:
To start an elevated command prompt (instructions for Windows 10):Īn entry for the “Command Prompt” desktop app should appear in the list of results.
This policy - called User Account Control (UAC) - is an important security measure that protects your computer from viruses and other malicious activity.īecause of UAC, you must explicitly indicate whenever you want to run an elevated command prompt - one with enough administrative rights to stop a Windows Service. You see, Windows typically starts the command prompt (and other applications) without administrative rights - even if you are an administrator on your computer. Ensure that you are running NET from an elevated command promptĪre you running NET STOP from a command prompt window? The access denied error will be raised if the prompt does not have sufficient rights to stop the service.
But you may be able to get around it! Here are our recommendations: 1.