The Core Technologies Blog

Professional Software for Windows Services / 24×7 Operation


4 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.

Leave a Reply

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