Prevent a user from logging on ...

  • Thread starter Thread starter aal
  • Start date Start date
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
 
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
 
Back
Top