How to run SQLCMD with builtin Administrator Group.
+1
A:
Run CommandPrompt (or PowerShell) as Administrator (so that you have elevated permissions). Then use sqlcmd with the -E flag, so that it uses your Windows login (using sa these days isn't recommended).
Rob Farley
2009-12-09 23:52:36