Solved

NT Service 'Access denied'

Posted on 2004-04-02
4
338 Views
Last Modified: 2013-12-04
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?
0
Comment
Question by:pmanso
  • 3
4 Comments
 
LVL 12

Accepted Solution

by:
trywaredk earned 500 total points
Comment Utility
Choose properties on your service in servicemanager
Set it to run as system-account (builtin)

BTW: Anything in your eventlog about it?

Many Regards
Jorgen Malmgren
IT-Supervisor
Denmark

:o) Your brain is like a parachute. It works best when it's open
0
 
LVL 7

Expert Comment

by:Chatable
Comment Utility
I know it's pretty dumb answer but are you running as Administrator?
(Only administrators can start/stop services by default...)
0
 
LVL 12

Expert Comment

by:trywaredk
Comment Utility
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
0
 
LVL 12

Expert Comment

by:trywaredk
Comment Utility
:o) Glad I could help you - thank you for the points
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Article by: btan
The intent is not to repeat what many has know about Ransomware but more to join its dots of what is it, who are the victims, why it exists, when and how we respond on infection. Lastly, sum up in a glance to share such information with more to help…
Recently, I read that Microsoft has analysed statistics for their security intelligence report. It revealed: still, the clear majority of windows users do their daily work as administrator. An administrative account is a burden, security-wise. My ar…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

763 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

5 Experts available now in Live!

Get 1:1 Help Now