Skip to main content

Recently Updated Pages

Microsoft Word won't close (Windley Ely)

Windows Command Line

This is caused by residue from Wordox Remove the offensive file with the following del c:\USers...

Map Network Drive - Command Line

Windows Command Line

Example of mapping a drive from the command line net use m: \\server01\share Example of mapping...

Windows 10 Hide Shutdown, Restart, Sleep links

Windows Command Line

Run from an Elevated Command Prompt Hide Shutdown Links REG ADD HKLM\SOFTWARE\Microsoft\PolicyM...

Windows Offline Files

Windows Command Line

The two command files attached are for turning Off or On Offline Files in Windows. These should ...

Domain Controllers Sync Password Reset

Windows Command Line

Command netdom resetpwd /s:{servername} /ud:{Username} /pd:* Example netdom resetpwd /s:wrsi-a...

Change Windows DNS

Windows Command Line

Show the current configuration netsh interface ip show config Set the Static DNS netsh interfa...

Display Windows License Information

Windows Command Line

Run from Command Line slmgr -dli

Windows Computer Uptime

Windows Command Line

Both of these commands will display the uptime for the current computer systeminfo | find "Syste...

Update Microsoft Office without a Windows Online Username

Windows Command Line

This will initiate the update of Microsoft Office without logging into Microsoft These commands ...

Unexpected Shutdown Message will not go away

Windows Command Line

This occurs when the Dirty Shutdown flag in Windows does not go away and displays the dialog ever...

Turn on File/Folder Inheritance

Windows Command Line

The code snippet below turns on File/Folder inheritance recursively from the current position Th...

Turn on the Windows Admin Share

Windows Command Line

This is executed from an elevated Command Line REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVe...

Sudo for Windows

Windows Command Line

The attached CMD files can be called to force another application to run with administrator right...

Updated 10 months ago by Tom George

Time Zone Commands

Windows Command Line

List All Time Zones tzutil /l List Current Time Zone tzutil /g Set Time Zone tzu...

Remove Corrupted Recycle Bin

Windows Command Line

Run from an elevated Command Line rd /s /q C:\$Recycle.Bin

Rebuild Windows Search Database

Windows Command Line

This is a CMD file and when run stop the Windows Search and force a rebuild of the database. sc ...

Stop Windows from Sleeping

Windows Command Line

powercfg -change -standby-timeout-ac 0

Windows Memory Information

Windows Command Line

For Total Physical Memory wmic ComputerSystem get TotalPhysicalMemory For Available Physical Me...

Map a drive as a different user

Windows Command Line

Map a drive net use y: \\server-1\cpas /USER:server-1\famme @TimeSheets /PERSISTENT:YES Delete ...

Lock Computer

Windows Command Line

rundll32.exe user32.dll,LockWorkStation