Tag Archives: cmd

Windows CMD

Useful commands for Windows CMD Run a cmd as administrator runas /user:administrator cmd Setup a temporal user as an administrator net user tempuser password /add net localgroup administrators tempuser /add Remove a computer from a domain netdom.exe remove %computername% /domain:Domainname /UserD:DomainName\UserName /PasswordD:Password Domain connectivity information nltest /dsgetdc:<domain_name>