Skip to content


SQL on Windows Server 2008 – Remember to run SSMS with elevated privileges

Or just turn off UAC.

If you’re getting a login failed for your Windows user – which you’re sure you put in the sysadmins role – it’s probably because UAC isn’t pasing all your group memberships to SSMS when you run it, and therefore giving you access denied. If you check your SQL errorlog and you see something like this:

Login failed for user Username Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors.

It’s probably UAC. Try right clicking and running as administrator and seeing if it goes away. Of course if you added your user explicitly you’re probably fine, but just to get a cluster up and running I added my domain admins user to the DB – and of course that’s a membership that UAC will mask.

Posted in Angry Robbo, Windows.

Tagged with , , , .


2 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Terry Wallner says

    Yes, this was my issue for EventID 18456. I created a shortcut to ‘SQL Server Management Studio’ and configured the shortcut’s advanced properties to ‘Run as administrator’. Then it launched without issues.

  2. Neufusion says

    OMG so simple… haha

    Why doesn’t MS get smart enough to let users know this when they install or launch SQL 2008 on Server 2008?



Some HTML is OK

or, reply to this post via trackback.