Essential Shortcuts, Run Snap-ins, Diagnostic CMDs, PowerShell Cmdlets & Event IDs
gpedit.msc modifies local machine policy; gpmc.msc manages domain-wide Group Policy Objects linked across OUs.
sfc /scannowScans protected Windows system files and replaces corrupted binaries using clean cached copies.
DISM /Online /Cleanup-Image /RestoreHealthRepairs the Windows Component Store (WinSxS) image using online Windows Update sources prior to running SFC.
ipconfig /all ipconfig /flushdns ipconfig /release && ipconfig /renewDisplays detailed adapter settings, clears local DNS resolver cache, and requests a fresh DHCP IP lease.
chkdsk C: /f /rFixes disk volume file system errors (`/f`) and locates physical bad sectors, recovering readable data (`/r`).
netsh winsock reset && netsh int ip resetResets the Windows TCP/IP network stack back to clean default settings to resolve corrupted socket connection loops.
net user username newpassword /add net localgroup Administrators username /addCreates a new local user account and elevates account membership into local Administrators group.
Test-NetConnection -ComputerName "Server01" -Port 445Evaluates IP routing and tests if target TCP port (e.g. 445 SMB, 3389 RDP, 88 Kerberos) is open across firewalls.
gpupdate /forceForces an immediate re-evaluation and application of Computer and User Group Policy Objects from Domain Controllers.
Get-ADUser -Identity "username" -Properties * Unlock-ADAccount -Identity "username"Queries detailed AD user attributes and immediately unlocks a locked domain user account.
Invoke-Command -ComputerName "Server01", "Server02" -ScriptBlock { Get-Service wuauserv }
Executes PowerShell script blocks on remote target systems over WinRM (Port 5985/5986) simultaneously.
Test-ComputerSecureChannel -RepairTests and repairs broken secure channel trust relationship between a domain workstation and the Domain Controller.
0xC000006A (Bad Password), 0xC0000234 (Account Locked).