Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I login to a particular instance of SQL Server 2008 using a Windows domain user who is in the sysadmin role and I create a brand new database via SQL Management Studio, a user in the newly create database is automatically mapped explicitly for my local MACHINE\Administrator account.

This doesn't happen on any other SQL instance I have running, or for any other user on the problematic instance. I'm thinking there must be a setting somewhere (at the server level or the user level), but I can't seem to find info anywhere in Microsoft's documentation or on the Google.

share|improve this question
up vote 4 down vote accepted

This is because there is a user created in the model database with that right. The SQL Server uses the model database to create other databases, so anything done within the model database will be created in the new database. This includes the tempdb database which is recreated every time the instance is started.

share|improve this answer
Thanks, @mrdenny! I don't why I couldn't find mention of this anywhere. – Rob Sobers Sep 15 '10 at 12:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.