Share via


WinHttpAutoProxySvc service access denied error

Question

Thursday, January 16, 2020 6:48 AM

I have enabled the built -in administrator account and restarted and run command as administrator and ran the below script:

sc config WinHttpAutoProxySvc start = disabled

net stop WinHttpAutoProxySvc

still getting below error:

[SC] OpenService FAILED 5:

Access denied.

The requested pause, continue, or stop  is not valid for this service.

Am getting this Access denied error only in Windows 10 machine when am running the same command in Windows 7 it is successful.

Appreciate your help.....

All replies (4)

Friday, January 17, 2020 2:43 AM

Hi,

 

If you want to Disable WinHTTP Web Proxy Auto-Discover on Win10,  you can directly edit the registry key.

The key is HKLM\System\CurrentControlSet\Services\WinHttpAutoProxySvc

 

"Start" DWORD

 

Value = 4 (Disabled)

 

Note: Make sure that you back up the registry before you modify it.

Hope above information can help you.

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Monday, January 20, 2020 7:50 AM

Hi,

 

Just checking in to see if the information provided was helpful.

 

If the reply helped you, please remember to mark it as an answer.

 

If no, please reply and tell us the current situation in order to provide further help.

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Tuesday, January 21, 2020 2:01 PM

Hi Thanks for your reply.

I don't want to do it in registry i have to run it through script. So i modified the script and ran but still getting the same issue.

I have enabled the built -in administrator account and restarted and run command as administrator and ran the below script:

sc config WinHttpAutoProxySvc start = disabled

net stop WinHttpAutoProxySvc

still getting below error:

[SC] OpenService FAILED 5:

Access denied.

The requested pause, continue, or stop  is not valid for this service.

Am getting this Access denied error only in Windows 10 machine when am running the same command in Windows 7 it is successful.

Thanks,


Wednesday, January 22, 2020 7:54 AM

Hi,

 

As you said, the command does not work in Windows 10.

 

If you have to run it through script, you can monitor it with process monitor:

/en-us/sysinternals/downloads/procmon

 

You may get useful information there.

 

Best Regards,

Farena

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].