Every day, I have nothing to do to toss the operating system and test the application software. When I encounter system error and blue screen, it often happens. Otherwise, every little editor is a technical school. But we also have solutions. In addition to testing some content that may harm the system in the virtual machine, we rely on the skills of cleaning up windows garbage and registry at any time to ensure the stability of the computer.
First of all, let’s talk about a batch file that is necessary for the computer desktop of editors!
You can create a new text document and copy in the following codes
Echo is cleaning 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\*.*
del /s /q /q %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 clear system LJ complete!
After saving, change the original. TXT extension of the text document to. Bat. When you think the system is garbage or running slowly, double-click to execute it.
Why is it rare for Xiaobian to use third-party software for garbage cleaning? That’s because the system’s own commands are easy to use. In addition, the old computer can’t afford to carry the things that the whole family can’t carry. Just because it needs a function to install them, it’s not worth the loss.
As for the way to clean the registry, there are two common ways of cfan editing, the first is code.
After running the command prompt as an administrator, copy the following codes to enter for execution
reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability” /v “BranchName” /d “fbl_release” /t REG_SZ /f
reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability” /v “ThresholdRiskLevel” /d “low” /t REG_SZ /f
reg delete “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability” /v “ThresholdInternal” /f
reg delete “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability” /v “ThresholdOptedIn” /f
You can restore the registry to its original state, but it is not recommended to use it frequently. They will cause many installed software to fail, or some tools that need to be injected into the registry will not work properly.
If you want to check the initial state of the registry, look at this subkey
The other is the famous CCleaner. It’s not that foreign monks are good at chanting sutras, but that it’s relatively clean and easy to use. It’s also very authentic to clean up the redundant options in the registry.
And before cleaning the registry, you can back up the original items of the registry. If you have any problems after cleaning, you can recover at any time. Unlike some software, it always does something indescribable to your computer.
The above is a quick way to clean up garbage, registry, we learned it? I hope this article can help you!