Not all tray icons are visible in normal user accounts #69

This commit is contained in:
Michael H.G. Schmidt 2022-12-18 19:27:32 +01:00
parent c189873792
commit a78ce80aa3
2 changed files with 9 additions and 9 deletions

View File

@ -2,7 +2,7 @@
echo ####### %0 ####### echo ####### %0 #######
echo disable windows ink completely ... echo disabling windows ink completely ...
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsInkWorkspace" ^ reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsInkWorkspace" ^
/v "AllowWindowsInkWorkspace" /t REG_DWORD /d 0 /f 1>nul /v "AllowWindowsInkWorkspace" /t REG_DWORD /d 0 /f 1>nul
@ -15,6 +15,14 @@ reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" ^
/v "SecurityHealth" /f 1>nul 2>nul /v "SecurityHealth" /f 1>nul 2>nul
taskkill /f /im SecurityHealthSystray.exe 1>nul 2>nul taskkill /f /im SecurityHealthSystray.exe 1>nul 2>nul
echo disabling autotray for the taskbar ...
reg add "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer" ^
/v "EnableAutoTray" /t REG_DWORD /d 0 /f 1>nul
echo disabling notification center ...
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer" ^
/v "DisableNotificationCenter" /t REG_DWORD /d 1 /f 1>nul
echo restarting explorer ... echo restarting explorer ...
taskkill /f /im explorer.exe 1>nul 2>nul taskkill /f /im explorer.exe 1>nul 2>nul
start explorer.exe start explorer.exe

View File

@ -174,14 +174,6 @@ echo Disabling cortana button on the taskbar ...
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" ^ reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" ^
/v "ShowCortanaButton" /t REG_DWORD /d 0 /f 1>nul /v "ShowCortanaButton" /t REG_DWORD /d 0 /f 1>nul
echo Disabling autotray for the taskbar ...
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer" ^
/v "EnableAutoTray" /t REG_DWORD /d 0 /f 1>nul
echo Disabling notification center ...
reg add "HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer" ^
/v "DisableNotificationCenter" /t REG_DWORD /d 1 /f 1>nul
echo Loading OpenShell config ... echo Loading OpenShell config ...
rem config must be full qualified pathname (OpenShell BUG!) rem config must be full qualified pathname (OpenShell BUG!)
set CONFIG=%TOOLS%\scripts\config\OpenshellSettings.xml set CONFIG=%TOOLS%\scripts\config\OpenshellSettings.xml