Hiding a user in Windows 7

Today I setup a virtual machine with Windows 7, Sql Server 2008 R2 and Visual Studio 2010. During installation of Sql Server, I had to specify a user account for the sql server and sql server agent services, . So I created a new user account (SQLSERVER), and used that one. Of course, this user account now shows up at the login screen of windows:

win1

So I wanted to hide this account, and it was actually quite easy to do. Go to ‘Administrative Tools/Local Security Policy’. In ‘Security Settings’, click on ‘Local Policies’ and then on ’User Rights Assignment’. Find the policy for “Deny log on locally’ , double click it and add the user you want to exclude to the list:

win2

If you now log in again, you should not see the user anymore:

win3

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s