added chrome

This commit is contained in:
Michael H.G. Schmidt 2023-03-10 08:01:20 +01:00
parent e5d1df3c2d
commit 33a17e588c
2 changed files with 6 additions and 7 deletions

View File

@ -31,8 +31,7 @@ call %SCRIPTS%\unpin-taskbar-icons.cmd
echo.
echo disabling update tasks ...
schtasks /Change /TN "GoogleUpdateTaskMachineCore{FF03DE7D-B6BB-4BD9-B599-5500A9284F84}" /disable
schtasks /Change /TN "GoogleUpdateTaskMachineUA{947CFA0A-AC3E-424D-99CD-38EE819AB072}" /disable
powershell -Command "get-scheduledtask | where TaskName -like 'Google*' | Disable-ScheduledTask"
echo renaming chrome desktop shortcut ...
move /Y %PUBLIC%\Desktop\"Google Chrome.lnk" %PUBLIC%\Desktop\Chrome.lnk 2>nul
@ -46,11 +45,6 @@ del /F /Q "%USERPROFILE%\Desktop\Google Chrome.lnk" 2>nul
rem refresh desktop (W10 style)
ie4uinit.exe -show
rem ###
rem rd /S /Q %USERPROFILE%"\AppData\Local\Google\Chrome\User Data\Default\Cache"
rem del /F /Q %USERPROFILE%"\AppData\Local\Google\Chrome\User Data\Default\History*"
rem ###
echo ####### %0 #######
pause

View File

@ -454,6 +454,11 @@ for %%D in (
rem delete strange "about" link in IrfanView Startmenu folder ...
del /F /Q "%STARTMENU_PUBLIC%\IrfanView\About IrfanView.lnk" 2>nul
echo.
echo Deleting chrome cache and history ...
rd /S /Q %USERPROFILE%"\AppData\Local\Google\Chrome\User Data\Default\Cache" 2>nul
del /F /Q %USERPROFILE%"\AppData\Local\Google\Chrome\User Data\Default\History*" 2>nul
echo.
echo Other tasks and fixes for the user
echo ########################################