Can't delete service - OpenService FAILED 5: Access is denied

I hit this error while trying to delete a leftover McAfee Validation Trust Protection Service using sc delete "mfevtp" command.

sc delete "mfevtp"

This is how I resolved the issue:

  • Open Registry Editor (regedit.exe)
  • Navigate to:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mfevtp
    mfevtp is the KeyName of the service you having problem with (the same you use with sc delete command)
  • Delete sub-key called "Security"
    Allways make a registry backup befory deleting any keys
  • Restart computer

After reboot sc delete "mfevtp" completed without any errors and service was gone for good.

Windows XP

Comments  

Sachin
# Sachin 2015-08-05 11:47
Is there any other option to resolve this issue
cihan
# cihan 2015-06-02 13:47
Thanks :)
fsasa
# fsasa 2015-04-20 13:09
:D ;-) 8) :oops: :sad: :sigh: :-x :P

Newsletter

Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait