How can i restrict the behavior of a Windows service?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Run the service under an appropriate account. The service is nothing special – just a program that can be started without anyone logging in interactively. Its priviledges are only determined by the user account it is run under.
In service properties open the “Log On” tab and change the “Log on as:” radio button to “This account”, then provide the username and password. The change will come into effect when you restart the service.