The Core Technologies Blog

Professional Software for Windows Services / 24×7 Operation


6 Responses to Q&A: NET STOP Fails with “Access is Denied”. How I Do Make it Work?

  1. Derek E. says:

    Please help me. The net stop http and net start http command do not work because it says it is starting or stopping. I just want it fixed please! I can no longer access my printers or download the software I need for my class. Please help!!

  2. Hi Derek.

    NET will wait up to 30 seconds for your service to stop. If it takes longer than that, NET will timeout and fail.

    But maybe the service eventually stops — it just needs more time. You should confirm the state of the service in the Services application (available in the Control Panel).

    If your service is stuck in the starting or stopping state, you may have to terminate the underlying process. Details here:
    https://www.coretechnologies.com/WindowsServices/FAQ.html#StuckPending

  3. Stephane says:

    Dear Team,
    thanks for your useful tools!
    Following services seems to be protected and their configuration and permissions can’t be modified:
    “AppIDSvc AppXSvc ClipSVC CoreMessagingRegistrar DPS EFS embeddedmode EntAppSvc gpsvc LSM msiserver PimIndexMaintenanceSvc_d74dc RmSvc sppsvc StateRepository tiledatamodelsvc UnistoreSvc_d74dc UserDataSvc_d74dc WdiServiceHost WdiSystemHost WdNisSvc WinDefend WLMS WpnUserService_d74dc”

    Even with your tool “Windows Service Auditor” I get “Failed to modify service auditing: Access is denied.”
    Do you know a workaround?

  4. Hi Stephane.

    “Access is denied” means that your account does not have sufficient permissions to work with a service. See if an administrator with access to the service can grant you access.

    Our Service Security Editor utility, which makes it easy to modify a service’s permissions, should be able to help.

  5. Michael Sena says:

    A nice utility but it seems while tinkering/toying with the Service Security Editor, I may have locked myself out of editing service properties by being too restrictive. I’m getting “Unable to open service’s security settings: Unable to open the service: Access is denied.” A System Restore failed to remedy the issue. Is there a way to get past the too restrictive settings?

  6. Hi Michael, sorry to hear that!

    Please review this article, which discusses a couple of ways to restore your access.

    If none of those do do the trick, please get in touch with our support team we’ll do our best to help.

Leave a Reply

Your email address will not be published. Required fields are marked *