Home  >  Article  >  Windows 10 system registry cleaning method

Windows 10 system registry cleaning method

王林
王林forward
2023-07-10 16:01:232587browse

After using the Win10 system for a period of time, due to various factors such as the garbage residue of uninstalled software, the registry garbage becomes more and more, which gradually affects the normal operation of the system. Let me share with you a cleaning method. You can try it out using the Windows 10 system registry method.

1. Right-click on a blank space on the desktop and select New Text Document.

Windows 10 system registry cleaning method

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

Windows 10 system registry cleaning method

3. Click on the file in the upper left corner and select Save as to desktop.

Windows 10 system registry cleaning method

Windows 10 system registry cleaning method

4. Then save the file in .bat format (change the file name suffix to .bat) and open the .bat you just saved. file to clean the registry.

Windows 10 system registry cleaning method

After completing the above steps, we can complete the operation of cleaning the registry of the win10 computer. You can use this method to clean the registry of the win10 system. I hope this method Can help everyone.

The above is the detailed content of Windows 10 system registry cleaning method. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:windows7en.com. If there is any infringement, please contact admin@php.cn delete