Recently Updated Pages
Windows Computer Uptime
Both of these commands will display the uptime for the current computer systeminfo | find "Syste...
Update Microsoft Office without a Windows Online Username
This will initiate the update of Microsoft Office without logging into Microsoft These commands ...
Unexpected Shutdown Message will not go away
This occurs when the Dirty Shutdown flag in Windows does not go away and displays the dialog ever...
Turn on File/Folder Inheritance
The code snippet below turns on File/Folder inheritance recursively from the current position Th...
Turn on the Windows Admin Share
This is executed from an elevated Command Line REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVe...
Sudo for Windows
The attached CMD files can be called to force another application to run with administrator right...
Time Zone Commands
List All Time Zones tzutil /l List Current Time Zone tzutil /g Set Time Zone tzu...
Remove Corrupted Recycle Bin
Run from an elevated Command Line rd /s /q C:\$Recycle.Bin
Rebuild Windows Search Database
This is a CMD file and when run stop the Windows Search and force a rebuild of the database. sc ...
Stop Windows from Sleeping
powercfg -change -standby-timeout-ac 0
Windows Memory Information
For Total Physical Memory wmic ComputerSystem get TotalPhysicalMemory For Available Physical Me...
Map a drive as a different user
Map a drive net use y: \\server-1\cpas /USER:server-1\famme @TimeSheets /PERSISTENT:YES Delete ...
Lock Computer
rundll32.exe user32.dll,LockWorkStation
Get WiFi Password
List all known WiFi Networks netsh wlan show profiles Show password for a known WiFi Netwo...
Find Public IP from Command Line
nslookup myip.opendns.com resolver1.opendns.com
Disable LLMNR
From and elevated Command Line REG ADD “HKLM\Software\policies\Microsoft\Windows NT\DNSClient”...
Disable IPV6
Commands to disable IPV6 netsh interface teredo set state disabled netsh interface ipv6 6to4 se...
Copy files with permissions
xcopy x:*.* y:*.* /D /E /C /F /H /K /O /Y
Windows Command Line Firewall Commands
To Turn Off: NetSh Advfirewall set allprofiles state off NetSh Advfirewall set domainpr...
Check the state of Windows Activation
slmgr.vbs /xpr Typical Output: