← Back to blog

Windows 11 (Microsoft)

Productivity

Coding

Video and graphics

System and file repair

  • sfc /scannow
  • DISM.exe /Online /Cleanup-image /Restorehealth
  • chkdsk C: /f /r
  • taskkill /f /im program.exe

Network and connectivity

  • ipconfig /flushdns
  • ipconfig /release and ipconfig /renew
  • ping google.com

System information

  • systeminfo
  • wmic csproduct get name, identifyingnumber

Advanced tools

  • cleanmgr
  • shutdown /r /o /t 0

Application administration

Clear terminal history

  • Clear-History
  • del "%APPDATA%\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt"
  • Remove-Item (Get-PSReadLineOption).HistorySavePath -ErrorAction Ignore

Clear Microsoft Store and Windows Update caches

  • wsreset.exe
  • net stop wuauserv
  • del /q /s "%WINDIR%\SoftwareDistribution\Download\*"
  • net start wuauserv
  • winget source update
  • winget upgrade --all

Firewall

Manage the firewall through the Windows Security app.

  • Open Windows Security → Firewall & network protection
  • Toggle the firewall on or off separately for domain, private, and public networks
  • Allow a specific app through the firewall: Firewall & network protection → Allow an app through firewall → Change settings

Copying files via terminal

  • copy file.txt D:\Backup\
  • xcopy C:\Source D:\Destination /E /H /C /I
  • robocopy C:\Source D:\Destination /E

Disk usage and storage

  • Settings → System → Storage for an overview per category
  • Right-click a drive in File Explorer → Properties for total and free space
  • cleanmgr for the built-in Disk Cleanup tool

Scheduled tasks

  • Open Task Scheduler (taskschd.msc) to create, edit, or view scheduled tasks
  • Tasks can be triggered by time, login, or system events

Compression and archiving

  • Right-click a file or folder → Compress to ZIP file
  • Right-click a ZIP file → Extract All

History

  • 1975

    Bill Gates and Paul Allen found Microsoft.

  • 1981

    MS-DOS 1.0 ships, licensed to IBM for the original IBM PC.

  • 1985

    Windows 1.0 launches as a graphical shell running on top of MS-DOS.

  • 1990

    Windows 3.0 becomes Microsoft's first mass-market success.

  • 1995

    Windows 95 launches, introducing the Start menu and taskbar.

  • 2001

    Windows XP unifies the consumer (Windows 9x) and business (Windows NT) product lines.

  • 2015

    Windows 10 launches, shifting Windows to a continuously updated service model.

  • 2021

    Windows 11 launches with a redesigned interface and a TPM 2.0 hardware requirement.