CMD
sfc /scannow
dism /online /cleanup-image /restorehealth
Copy boot files to Windows boot directory
bcdboot c:\Windows /s G: /f ALL
(c: is good window source and g: is boot partition)
FixWin11 context menu delete
reg delete HKCR\DesktopBackground\Shell\UWTSettings
Master Boot Record Fix
cd to the windows drive
bootrec /fixmbr
bootsect /nt60 SYS
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
Print Directory Contents
Do this (works on folder and or file names)
dir /A:D /B > "filename.txt" (will create a txt file in the directory)
A activates switch mode
D restricts to display current path only
B restricts to name of folder only
or you can copy to clipboard
while in the directory type
dir /b | clip
Python Simpleserver
Python 2 — python -m SimpleHTTPServer 8000
Python 3 — python -m http.server 8000
Turn firewall off temporarily
(I would use HFS server) (maybe PairDrop.net)
Reboot to BIOS
shutdown /r /fw /t 0
Remove Files & Folders
rmdir /s /q path
If won't delete chkdsk /f on the drive.
Static IP Manually
Static IP Problems try this with your numbers. Maybe it will stick.
netsh interface ip set address “Ethernet” static 192.16.10.34 255.255.255.0 192.168.1.1
WiFi Connections Previously Connected
netsh wlan show profile (will give a list of previously connected WiFi networks)
netsh wlan show profile bobswifi key=clear (will give the passwords to bobswifi)
Windows Activation Check
slmgr /xpr
slmgr.vbs /dlv
Powershell
Chris Titus Windows Tools
Chris Titus powershell (irm christitus.com/win | iex)
Clipboard contents
Get-Clipboard
Remove files & folders
Remove-Item -Recurse -Force path
Reset Group Policy Settings to Default with Command Prompt
Open Command Prompt window as administrator and run following commands:
RD /S /Q "%WinDir%\System32\GroupPolicy"
RD /S /Q "%WinDir%\System32\GroupPolicyUsers"
Linux
ip address or ip a
python3 -m http.server 8000
It may actually default to port 8000 without specification.
MX Linux live root password is "demo"
Ventoy in Linux
Grab tar and extract to folder (most file managers today can do this)
open terminal in folder
sudo sh Ventoy2Disk -i /dev/sdc
i = install
/dev/sdc = USB drive for Ventoy
If disk is already mounted you may need to unmount.
Software
sudo apt install fsearch
sudo apt install neofetch