Link to home
Start Free TrialLog in
Avatar of Dragon_Krome
Dragon_Krome

asked on

Windows XP Service permissions

Hello everybody,

Please consider the following scenario:

Got Process Explorer from http://www.sysinternals.com/Utilities/ProcessExplorer.html and with its "help" I managed to change the permissions for a service, like this:

Locate the process (avguard.exe in my case) as a child of services.exe, right click it, properties, services tab, permissions. On the permission window it popped up, i've removed all permissions for the Administrators group by checking all Deny boxes and as a consequence, the permissions button under the services tab has been disabled and i'm unable to reset the permissions. Re-installing the product yields messages like "cannot install service", even if everything has been previously removed.

The questions are:
- Is there another way of getting to that dialog where you can set permissions for a service, besides using process explorer?
- How can I reset the permissions, considering that the problem persist even after reinstalling the product?

Thanks in advance

PS: I've used Winspector to enable the Permissions button and the error message is "Cannot open service"

PPS: Please, no guessing. I don't have the time to "try rebooting, try reinstalling". Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Michael Pfister
Michael Pfister
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Maybe the sc command can overwrite the perms: http://support.microsoft.com/kb/914392/en-us
Avatar of Dragon_Krome
Dragon_Krome

ASKER

Well, I've done what you said and it seems the issue was solved, but the first time after the deletion of the key the service didn't install itself anymore. As a matter of fact, i checked the permissions on that key with regedit and everything seemed to be ok. weird stuff..

by the way, the sc command didn't work, failed with access denied.
I've looked at the permissions to the key as well and the permissions to the servcie have nothing to do with the permissions to the registry key.
The permissions are coded under ..\Services\servicename\Security\Security, but I was unable to change the settings by just exporting and importing this key.
Anyway, glad it helped.