
Windows 10 devices may experience various errors and malfunctions, perhaps due to corrupted system files, device driver errors, hardware problems, or other blue screen of death (BSOD) related errors.Īll of these problems affect the performance and functionality of the computer and Windows must be repaired to restore proper operation. Or perhaps you know of a program on some website, that I can download to my Windows 10 laptop, that will do it for me.If you want to learn how you can repair Windows 10/11 without losing files and programs continue reading below. I open a CMD window and have the ASUS drive, (drive F) ready for the proper command sequence if there is one. So…I pulled the SATA drive, attached USB 2.0 interface cable, and am now trying to repair the registry from another windows (10) laptop. So I can’t fix corrupted registry with commands. The UBCD4WIN disk is useless there as well as all repair disks and Windows Repair disks. Laptop will not boot to CD/DVD drive, though I have used f12 to change boot config. Repair report says: “Registry is corrupt” Fix: “Registry rollback”. MS repair says it “cannot make the necessary repairs”. tried f8, safe mode with command prompt every option offered there starts and then returns to BSOD. reg delete "Registry_key_path" /v Registry_value_name /fĬommand to delete the registry value ‘ TSAdvertise‘ under the registry key ‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server’ reg delete "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v TSAdvertise /f Delete a registry keyĭelete all registry keys and values under a registry key: reg delete Registry_key_pathĭelete all the registry values under the key ‘HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\Favorites’ reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\Favoritesĭelete all registry values under a registry key reg delete RegistryKey /vaĪSUS laptop crashes on every boot. If the registry key has space in its name, you can use double quotes as below.

reg delete Registry_key_path /v Registry_value_name /fįor the above example, the command to delete the registry value without any confirmation prompt: c:\> reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer /v CleanShutdown /f

If you want to delete registry key without being prompted for confirmation then add /f switch to the command. C:\> reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer /v CleanShutdownĭelete the registry value CleanShutdown (Yes/No)? yes
