Home >Common Problem >Illustrated steps on how to clean the registry in Windows 10
When a computer is used for a long time, a lot of registry junk will be generated. Registry junk will affect the running speed of the computer. How can we remove this junk? Let the editor teach you how to clean up registry junk in Win10 system. Let’s take a look together.
1. Right-click on a blank space on the desktop and select New Text Document.
2. Copy the following code into the text document:
@echo off
del/f/s/q %systemdrive %\*.tmp
del/f/s/q %systemdrive%\*._mp
del/f/s/q %systemdrive%\*.log
del/f/s/q %systemdrive%\*.gid
del/f/s/q %systemdrive%\*.chk
del/f/s/q %systemdrive %\*.old
del/f/s/q %windir%\*.bak
del/f/q %systemdrive%\recycled\*.*
del/f/q %windir%\prefetch\*.*
rd/s/q %windir%\temp & md %windir%\tempemp% &md %temp%
del /f/q %userprofile%\cookies\*.*
del/f/q %userprofile%\recent\*.*
rd/s/q \"%userprofile%\ Local Settings\Temporary Internet Files\”
cls & echo System garbage removal completed:)
echo. & pause
3. Click on the file in the upper left corner and select Save as to desktop.
4. Open the .bat file you just saved to clean the registry.
The above is the step-by-step tutorial on how to clean the registry in win10. I hope it can help everyone.
The above is the detailed content of Illustrated steps on how to clean the registry in Windows 10. For more information, please follow other related articles on the PHP Chinese website!