A curated list of useful hidden commands for Windows power users, IT professionals, and enthusiasts.
| Command | Purpose | Notes / Example |
mountvol /r | Reset stale volume mount points | Removes old USB history and orphaned volume GUIDs; useful for eliminating false “Scan and Fix” prompts. |
diskpart | Disk partition management | Use list disk, select disk, clean to manage partitions. |
fsutil dirty query X: | Check if volume X: has the dirty bit set | Requires admin rights. |
chkdsk | Check and repair filesystem | /f fixes errors, /r locates bad sectors. |
robocopy | Robust file copy and mirroring | Preserves timestamps and retries automatically. |
vssadmin | Manage Volume Shadow Copies | Useful for creating or listing snapshots. |
defrag | Optimize disks | /C defrags all volumes, /X consolidates free space. |
| Command | Purpose | Notes / Example |
fsutil reparsepoint query <path> | Inspect junctions/symlinks | Advanced filesystem analysis. |
cipher /w:X: | Wipe free space securely | Does not touch existing files. |
takeown /f <file> | Take ownership of a file/folder | Useful for locked files. |
icacls | Manage permissions | Grant, remove, save ACLs. |
powercfg /energy | Generate power efficiency report | Checks system for energy waste. |
wevtutil | Manage Event Logs | Export, clear, or query logs. |
| Command | Purpose | Notes / Example |
schtasks | Schedule tasks from CLI | Automate scripts and maintenance. |
gpupdate /force | Force Group Policy refresh | Useful after policy changes. |
wmic | Query system info via WMI | Hardware, BIOS, network, processes. |
gpresult /r | See what organization owns the computer | Group Policies Result. |
bcdedit /enum | She how current config is set | BIOS=C:\boot\*.bcd UFI=??\ufi\*.bcd on UFI partition. |
services.msc | Manage background services | Open Services window. |
taskschd.msc | Schedule automated tasks | Open Task window. |
diskmgmt.msc | Handle disk partitions | Open Virtual Disk Service window. |
devmgmt.msc | All-in-one Computer Manage | Open Device Manager window. |
compmgmt.msc | WMI Control | Open Computer Management window. |
wmimgmt.msc | Configure startup and services | Console Root\WMI Control. |
msconfig | Monitor system performance | Change Boot Options. |
perfmon.msc | Local security policies | Open Performance Monitor window. |
netsh advfirewall show allprofile | Show Firewall Settings | Domain, Private and Public Profile. |
powershell wmiobject win32_winsat | Show SAT 32 Score | Win SAT Rating. |
powershell -Command "<script>" | Run PowerShell commands from CMD | Integrates scripts into batch automation. |