When we install some software on a win10 computer, some rogue software is often automatically installed inexplicably. After uninstalling it, restart the computer and install it again. How should we clean up such rogue software? Woolen cloth? The editor below will share with you a method to clean up junk in Windows 10 system.
1. Make a [Clear System Junk.bat] file to clear system junk and copy the following content into Notepad:
@echo off
pause
echo Cleaning up system junk files, please wait...
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 %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\ prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
##del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"del /f /s /q "%userprofile%\Local Settings\Temp\*.*"del /f /s /q "%userprofile%\recent\*.*"echo Cleaning up system junk is complete! echo. & pause 2. Click [File] in the upper left corner of Notepad and click [Save As] in the drop-down menu. #3. In the open Save As window, first click [Desktop] on the left side of the window, and enter in the file name (N) column: Clear System Junk.bat , then click: Save. #4. When we need to clear system junk, double-click the [Clear System Junk] icon on the desktop. 5. At this time, a C:\Windows\system32\cma.exe window opens, displaying: Please press any key to continue...We press the "space bar" on the keyboard. #6. System garbage is being cleared, please wait. 7. Cleaning up system junk is completed, please press any key to continue... We then press the "space bar" on the keyboard to exit C:\Windows\system32 \cma.exe window. The above is a method and step to clear the win10 system junk. If you are interested, you can try this method.
The above is the detailed content of How to clean software junk files in win10. For more information, please follow other related articles on the PHP Chinese website!