bugfixing

This commit is contained in:
Michael H.G. Schmidt 2023-01-21 16:23:40 +01:00
parent 1fe149c06a
commit d14a454f56

View File

@ -431,6 +431,7 @@ rd /S /Q %STARTMENU%\"Windows Powershell" 2>nul
rem ... stupid OS! (it pins "dead" icons to the taskbar) rem ... stupid OS! (it pins "dead" icons to the taskbar)
echo Removing all pinned icons from taskbar ... echo Removing all pinned icons from taskbar ...
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Taskband" /f > NUL 2>&1 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 ...
@ -467,7 +468,6 @@ goto END
rem #################################################### rem ####################################################
:BGINFO :BGINFO
echo Removing the desktop wallpaper ... echo Removing the desktop wallpaper ...
reg add "HKCU\Control Panel\Desktop" /v WallPaper /t REG_SZ /d " " /f 1>nul reg add "HKCU\Control Panel\Desktop" /v WallPaper /t REG_SZ /d " " /f 1>nul
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
@ -477,7 +477,13 @@ echo Setting desktop COLOUR ...
echo Starting BGInfo tool ... echo Starting BGInfo tool ...
%TOOLS%\bginfo\bginfo64.exe %TOOLS%\bginfo\config.bgi /NOLICPROMPT /silent /timer:0 %TOOLS%\bginfo\bginfo64.exe %TOOLS%\bginfo\config.bgi /NOLICPROMPT /silent /timer:0
goto :eof
:RESTART_EXPLORER
echo Restarting windows explorer ...
taskkill /f /im explorer.exe 2>nul
ping 127.0.0.1 -n 3 >nul 2>nul
start explorer.exe
goto :eof goto :eof
rem #################################################### rem ####################################################