removed recent and frequent from explorer
This commit is contained in:
parent
bccb99fc61
commit
9904fbcfe5
@ -167,6 +167,12 @@ del /F /Q %APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations\* 2>nul
|
|||||||
del /F /Q %APPDATA%\Microsoft\Windows\Recent\* 2>nul
|
del /F /Q %APPDATA%\Microsoft\Windows\Recent\* 2>nul
|
||||||
del /F /Q %APPDATA%\Microsoft\Windows\Libraries\* 2>nul
|
del /F /Q %APPDATA%\Microsoft\Windows\Libraries\* 2>nul
|
||||||
|
|
||||||
|
echo Disabling frequent and recent files in explorer ...
|
||||||
|
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer" ^
|
||||||
|
/v "ShowRecent" /t REG_DWORD /d 0 /f 1>nul
|
||||||
|
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer" ^
|
||||||
|
/v "ShowFrequent" /t REG_DWORD /d 0 /f 1>nul
|
||||||
|
|
||||||
echo Restarting explorer ...
|
echo Restarting explorer ...
|
||||||
taskkill /f /im explorer.exe 2>nul
|
taskkill /f /im explorer.exe 2>nul
|
||||||
rem sleep 2 seconds ...
|
rem sleep 2 seconds ...
|
||||||
|
Loading…
Reference in New Issue
Block a user