# Windows Utilities and Commands --- ## Control Panel Utilities - `ncpa.cpl` - Open Network Connections - `control printers` - Open classic printer dialog - `appwiz.cpl` - Open Add/Remove Programs - `diskmgmt.msc` - Open Disk Management - `powercfg.cpl` - Power Options - `control.exe /name Microsoft.NetworkAndSharingCenter` - Open Network and Sharing Center - `wf.msc` - Open Firewall settings - `lusrmgr.msc` - Open Local Users and Groups - `rsop.msc` - Show Resultant Set of Policy - `sysdm.cpl` - System properties - `Win+i` - Settings - `Win+A` - WIFI, cellular settings --- ## Windows Update - `control update` - Open Windows Update (#1) - `wuauclt /detectnow /updatenow` - Open Windows Update (#2) - `Windows + I` - Open Settings → Update & Security → Windows Update (#3) --- ## Miscellaneous Windows Utilities - `winver` or `systeminfo` - Display Windows version - `Win + P` - Choose projector display mode - `osk` - Open On-Screen Keyboard --- ## Windows + X Shortcuts - `Win + X, T` - Open Task Manager - `Win + X, N` - Open Windows Settings - `Win + X, U` - Shut down / Sign out - `Win + X, W` - Open Network Status - `Win + X, M` - Open Device Manager --- ## GPO (Group Policy) Commands > ⚠️ Use in **elevated CMD prompt** ```cmd whoami /groups gpupdate /force gpresult /r gpresult /r /v /scope:user gpresult /r /v /scope:computer ``` --- ## PowerShell Essentials ```ps1 # Allow script execution Set-ExecutionPolicy RemoteSigned # Check PowerShell version $PSVersionTable.PSVersion ``` --- ## Windows Scripts ### Copy From Windows to Linux ```cmd set PATH="C:\Program Files (x86)\PuTTY" pscp ISPConfig-3.0.5.4p9.tar.gz root@vps.magic.ee:/root/ ``` ### Copy From Linux to Windows ```ps1 set PATH="C:\Program Files (x86)\PuTTY" pscp -v root@192.168.100.110:/var/games/minecraft/servers/Paradise.tar.gz c:/lan ``` --- ### Rename Files to Lowercase ```cmd for /f "Tokens=*" %f in ('dir /l/b/a-d') do (rename "%f" "%f") ``` --- ### 🧪 Generate Many Files of a Particular Size Reference: [thebackroomtech.com](https://thebackroomtech.com/2009/01/16/howto-generate-many-files-of-a-particular-size-in-windows/) **2,500 files of 128KB**: ```cmd for /L %i in (1,1,2500) do fsutil file createnew C%i.tmp 131072 ``` **1,000 files of 1MB**: ```cmd for /L %i in (1,1,1000) do fsutil file createnew D%i.tmp 1048576 ``` --- ## Access Remote Files via SFTP in Explorer - [Swish SFTP](http://www.swish-sftp.org/) - [Swish on SourceForge](https://sourceforge.net/projects/swish/postdownload?source=dlp) --- ## Screenshot Shortcut - `Win + Shift + S` - Capture selected screenshot --- ## Run App Folder ``` Run: shell:appsfolder ``` --- # Windows 11 Tiny Builder (Debloat Tool) 1. Download Windows 11 ISO: [Microsoft Official Download](https://www.microsoft.com/software-download/windows11) 2. Visit the builder repo: [tiny11builder - GitHub](https://github.com/ntdevlabs/tiny11builder) 3. Mount ISO in PowerShell: ```ps1 Mount-DiskImage "C:\Users\creature\Downloads\Tiny11builder\SW_DVD9_WIN11_ENT_LTSC_2024_64-bit_English_MLF_X23-70046.ISO" ``` --- # Windows 11 & Office Activator **MAS (Microsoft Activation Scripts)** - Best for permanent activation using HWID. - [MAS on GitHub](https://github.com/massgravel/Microsoft-Activation-Scripts/tree/master) ```ps1 irm https://get.activated.win | iex ``` {upload}