Solved

Windows XP Service permissions

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The term "Bad USB" is a buzz word that is usually used when talking about attacks on computer systems that involve USB devices. In this article, I will show what possibilities modern windows systems (win8.x and win10) offer to fight these attacks wi…
OfficeMate Freezes on login or does not load after login credentials are input.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 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

12 Experts available now in Live!

Get 1:1 Help Now