Category: Windows Administation

Notes on Windows administration

Windows system info

To get window system info run systeminfo To get just OS info: systeminfo | findstr /C:”OS” OS Name:                   Microsoft Windows Server 2008 R2 Enterprise OS Version:                6.1.7601 Service Pack 1 Build 7601 OS Manufacturer:           Microsoft Corporation OS Configuration:          Member Server…

Adding users to Windows via command line

net user <user> <password> /add net user bob password To add to administrators group net localgroup administrators <user>/add To allow remote desktop access net localgroup “Remote Desktop Users” <user>/add If the password isn’t supposed to expire use this: WMIC USERACCOUNT…