Tuesday, April 14, 2015

netdom join isn't working - eh? wha?

I couldn't join my VM to the Test domain, using just

netdom join machinename /domain:mydomain.com 


Instead, I was getting this error message:

Logon failure: unknown user name or bad password.

The command failed to complete successfully.


netdom join machinename domain:mydomain.com /userd:mydomain.com\Administrator /passwordd:*





Tuesday, April 7, 2015

Running SSMS as a non-domain user

Every so often, I have to run SSMS against a host (or a VM ) that's in a different domain than the current PC/client that I'm on.

runas.exe /netonly /user:domain\username "C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Ssms.exe"

Since, in whatever environment that is, I have to do this repeatedly, I create a shortcut on the desktop for it, and use the shortcut as the text above.