bugfix
This commit is contained in:
parent
d14a454f56
commit
7baaad9fed
@ -303,6 +303,11 @@ echo.
|
|||||||
echo Removing OneDrive link in start menu ...
|
echo Removing OneDrive link in start menu ...
|
||||||
del /F /Q "%APPDATA%\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk" 2>nul
|
del /F /Q "%APPDATA%\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk" 2>nul
|
||||||
|
|
||||||
|
rem ... stupid OS! (it pins "dead" icons to the taskbar)
|
||||||
|
echo Removing all pinned icons from taskbar ...
|
||||||
|
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /f > NUL 2>&1
|
||||||
|
call :RESTART_EXPLORER
|
||||||
|
|
||||||
rem create a statusfile (this codeblock must be executed only once per user) ...
|
rem create a statusfile (this codeblock must be executed only once per user) ...
|
||||||
echo 1 >%USERCONFIG_DONE%
|
echo 1 >%USERCONFIG_DONE%
|
||||||
|
|
||||||
@ -428,11 +433,6 @@ rd /S /Q %STARTMENU%\"Maintenance" 2>nul
|
|||||||
rd /S /Q %STARTMENU%\"System Tools" 2>nul
|
rd /S /Q %STARTMENU%\"System Tools" 2>nul
|
||||||
rd /S /Q %STARTMENU%\"Windows Powershell" 2>nul
|
rd /S /Q %STARTMENU%\"Windows Powershell" 2>nul
|
||||||
|
|
||||||
rem ... stupid OS! (it pins "dead" icons to the taskbar)
|
|
||||||
echo Removing all pinned icons from taskbar ...
|
|
||||||
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /f > NUL 2>&1
|
|
||||||
call :RESTART_EXPLORER
|
|
||||||
|
|
||||||
rem ... stupid OS!
|
rem ... stupid OS!
|
||||||
rem IE is such a zombie. I's coming back all the time ...
|
rem IE is such a zombie. I's coming back all the time ...
|
||||||
echo Removing IE link in users start menu ...
|
echo Removing IE link in users start menu ...
|
||||||
|
Loading…
Reference in New Issue
Block a user