Dos based system scans
sfc /scannow
DISM.exe /Online /Cleanup-Image /RestoreHealth
Create admin user from command line
net user /add [username] [password]
net localgroup administrators [username] /add
Activate Windows
massgrave.dev
Load powershell as administrator:
irm https://get.activated.win | iex
Windows 11 Install Local Account
tomshardware.com
Shift+F10 to open a command prompt
OOBE/BYPASSNRO
If that does not work, Try:
start ms-cxh:localonly
Windows Tweaker
https://christitus.com/windows-tool/
Load powershell as administrator:
iwr -useb https://christitus.com/win | iex
Alternate: Load powershell as administrator:
irm christitus.com/win | iex
Reboot into firmware settings
shutdown -t 0 -r -fw
Reboot into advanced startup
shutdown -t 0 -r -0
Add Group Policy Editor to Windows
Load Command prompt as administrator and run the following two lines:
FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~*.mum") DO (DISM /Online /NoRestart /Add-Package:"%F")
FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~*.mum") DO (DISM /Online /NoRestart /Add-package:"%F")
Windows Registry files for various problems
Notepad++ is a great text editor but I have one problem with it, I like "right click > open with Notepad++" to have the "+" as the hotkey but the default is "n". This reg file fixes that.
notepad++.reg
This may not work for every computer if the hex key is different. The other method is to run regedit, search for "&Notepad++" then move the "&" from in front of the "N" to in front of the "+".
Problem: "Windows XP registry corrupt: (...\system32\config\... error)" 1. First you must load a seperate operating system to access the hard drive without booting to it: A Linux Live Disk, a windows system install cd/dvd that has system recovery, or take out the hard drive and connect it to another computer.
2. On the hard drive with the corrupt registry go to \windows\system32\config
3. Create a backup folder and name it "backup"
4. Move 5 files named system, software, security, sam and default into the "backup" folder.
5. Now go to \System Volume Information\_restore\ (or \system~1\_resto~1\ if you are in dos)
6. There should be a large number of folders that start with RP, find the highest number and go into that folder.
7. Copy 5 files named _registry_machine_system, _registry_machine_software, _registry_machine_security, _registry_machine_sam and _registry_user_.default to the \windows\system32\config folder.
8. In the \windows\system32\config folder, rename the 5 files you copied there removing the _registry_machine_ and _registry_user_. so you end up with system, software, security, sam and default.
9. Restart the computer.
10. If you still get the ...\system32\config\... error, start over at step 5 choosing a lower RP number. Check the date of the rp files to find one a day or two before you first got the error.