Link to home
Start Free TrialLog in
Avatar of pmanso
pmanso

asked on

NT Service 'Access denied'

I have made a NT Service that is very simple.
Writes to a log on c:\temp\ and runs a COM component at a certain time.
When I try to start it on Services I get an 'Access denied' message.
Can you help me?
ASKER CERTIFIED SOLUTION
Avatar of trywaredk
trywaredk
Flag of Denmark 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
Avatar of Chatable
Chatable

I know it's pretty dumb answer but are you running as Administrator?
(Only administrators can start/stop services by default...)
Builtin and predefined groups in Windows 2000 Pro
http://www.microsoft.com/windows2000/en/professional/help/default.asp?url=/windows2000/en/professional/help/windows_security_default_settings.htm

Builtin and predefined groups in Windows XP
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/winxppro/proddocs/lsm_local_groups.asp

members of the local admin group
1. Start / Run
2. Input CMD
3. Press ENTER
4. Input NET LOCALGROUP ADMINISTRATORS
5. Press ENTER
:o) Glad I could help you - thank you for the points