File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -439,7 +439,7 @@ echo.
439
439
@ echo off
440
440
cd/
441
441
del *.log /a /s /q /f
442
- taskkill /f /im explorer.exe
442
+ powershell taskkill /F /IM explorer.exe
443
443
timeout 2 /nobreak> nul
444
444
DEL /F /S /Q /A %LocalAppData% \Microsoft\Windows\Explorer\thumbcache_*.db
445
445
DEL /f /s /q %systemdrive% \*.tmp
@@ -459,7 +459,9 @@ DEL /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
459
459
DEL /f /s /q " %userprofile% \Local Settings\Temp\*.*"
460
460
DEL /f /s /q " %userprofile% \recent\*.*"
461
461
timeout 3 /nobreak> nul
462
- start explorer
462
+ Invoke-Command COMPUTERNAME -command{Stop-Process -ProcessName Explorer}
463
+ Invoke-Command COMPUTERNAME -command{Start-Process -ProcessName Explorer}
464
+ powershell Start explorer.exe
463
465
cls
464
466
@ echo
465
467
net stop wuauserv
@@ -514,7 +516,6 @@ explorer.exe %USERPROFILE%\Desktop\QuickBoostOptionalTweaks
514
516
515
517
516
518
:end
517
- start explorer
518
519
cls
519
520
Echo . [101;41mRestart Your PC!.[0m
520
521
echo .
You can’t perform that action at this time.
0 commit comments