Start::
CloseProcesses:
SystemRestore: On
CreateRestorePoint:
StartBatch:
ECHO Y|CHKDSK C: /F /R
pushd c:\windows\system32
bcdedit.exe /set {default} recoveryenabled yes
net stop bits
net stop cryptSvc
net stop wuauserv
net stop msiserver
del /s /q C:\Windows\SoftwareDistribution\download\*.*
del /s /q "%userprofile%\AppData\Local\Google\Chrome\User Data\Default\Cache\*.*"
del /s /q "%userprofile%\AppData\Local\Microsoft\Edge\User Data\Default\Cache\*.*"
del /s /q "%userprofile%\AppData\Local\Opera Software\Opera Stable\Cache\Cache_Data\*.*"
netsh winsock reset catalog
netsh int ipv4 reset reset.log
netsh int ipv6 reset reset.log
ipconfig /release
ipconfig /renew
ipconfig /flushdns
ipconfig /registerdns
net start bfe
net start bits
net start cryptSvc
net start eventsystem
net start msiserver
net start rpcss
net start sdrsvc
net start trustedinstaller
net start vss
net start winmgmt
net start wuauserv
bitsadmin /list /allusers
bitsadmin /reset /allusers
EndBatch:
cmd: fsutil resource setautoreset true c:\&fsutil usn deletejournal /d /n c:
cmd: DISM.exe /Online /Cleanup-image /Restorehealth
cmd: sfc /scannow
cmd: winmgmt /salvagerepository
cmd: winmgmt /verifyrepository
cmd: "%WINDIR%\SYSTEM32\lodctr.exe" /R
cmd: "%WINDIR%\SysWOW64\lodctr.exe" /R
cmd: "%WINDIR%\SYSTEM32\lodctr.exe" /R
cmd: "%WINDIR%\SysWOW64\lodctr.exe" /R
EmptyTemp:
Reboot:
End::
wmic /Namespace:\\root\default Path SystemRestore Call Enable "%SystemDrive%"
WMIC /Namespace:\\root\default Path SystemRestore Call CreateRestorePoint "pchelpforum", 100, 10
We use essential cookies to make this site work, and optional cookies to enhance your experience.