Prevent a user from logging on ...

A

aal

I need a local user X (no domain involved) for the SQLAgent service
(Necessary for network access). I want to prevent the user X from
logging on to the system. Is there a way to accomplish this.

/Anders
 
S

Steven L Umbach

You can modify the user rights for logon locally and deny logon locally for
your needs. This can be done at the local level via Local Security Policy or
at the domain/OU level for a group of computers. For instance use secpol.msc
to open Local Security Policy and go to security settings/local
policies/user rights. You could add that account to "deny logon locally" to
prevent it from being used for a console logon. --- Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top