Solved

Windows XP Service permissions

Posted on 2006-07-16
4
1,748 Views
Last Modified: 2013-12-04
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.
0
Comment
Question by:Dragon_Krome
  • 3
4 Comments
 
LVL 28

Accepted Solution

by:
Michael Pfister earned 500 total points
ID: 17120538
1) Uninstall AVGuard
2) start regedit and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\avguard (key name is guessed, don't have this software).
3) delete the entire key and all its subkeys
4) re-install AVGuard
0
 
LVL 28

Expert Comment

by:Michael Pfister
ID: 17120552
Maybe the sc command can overwrite the perms: http://support.microsoft.com/kb/914392/en-us
0
 
LVL 5

Author Comment

by:Dragon_Krome
ID: 17121012
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.
0
 
LVL 28

Expert Comment

by:Michael Pfister
ID: 17121326
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.

0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

As I write this article, I am finishing cleanup from the Qakbot virus variant found in the wild on April 18, 2011.  It was a messy beast that had varying levels of infection, speculated as being dependent on how long it resided on the infected syste…
OfficeMate Freezes on login or does not load after login credentials are input.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question