Solved

Windows XP Service permissions

Posted on 2006-07-16
4
1,742 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

No security measures warrant 100% as a "silver bullet". The truth is we also cannot assume anything but a defensive and vigilance posture. Adopt no trust by default and reveal in assumption. Only assume anonymity or invisibility in the reverse. Safe…
In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now