đ User & Group Management
đš Check all users: net user
đš Check user details: net user username
đš Add a new user: net user NewUser Password123 /add
đš Add user to local admin group: net localgroup Administrators NewUser /add
đš Remove user from a group: net localgroup Administrators NewUser /delete
đš Delete a user account: net user NewUser /delete
đ System Information & Performance
đš Check system info: systeminfo
đš View running processes: tasklist
đš Kill a process by name: taskkill /IM processname.exe /F
đš Check disk usage: wmic logicaldisk get name, freespace, size, description
đš Check RAM details: wmic MEMORYCHIP get BankLabel, Capacity, Speed
đš Check network configuration:ipconfig /all
đš Flush DNS cache: ipconfig /flushdns
đ Network & Remote Management
đš Ping a server: ping google.com
đš Check open ports: netstat -an | find "LISTEN"
đš Test remote connection (RDP): mstsc /v:RemotePCName
đš Enable RDP remotely: reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
đ File & Disk Management
đš List all drives: wmic logicaldisk get name
đš Check disk health (SMART): wmic diskdrive get status
đš Check file size in a folder: dir /s /a C:\YourFolder
đš Find large files (over 1GB): forfiles /S /M *.* /C "cmd /c if @fsize GEQ 1073741824 echo @path @fsize"
đ Active Directory & Domain Management
đš Check domain details: nltest /dsgetdc:yourdomain.com
đš List all domain users: net user /domain
đš Force Group Policy update: gpupdate /force
đš Check AD replication status: repadmin /replsummary
đ Security & Event Logs
đš Check failed login attempts: wevtutil qe Security /c:10 /f:text /q:"*[System[(EventID=4625)]]"
đš Enable BitLocker on drive C: manage-bde -on C: -RecoveryPassword
đš Check Windows Defender status: sc query windefend
đ Why Every System Admin Should Use These Commands?
â Saves time â No need to navigate through GUI
â Troubleshoot quickly â Identify & fix issues in seconds
â More control â Perform advanced tasks efficiently