diff --git a/src/playbook/Executables/DISABLENOTIFS.cmd b/src/playbook/Executables/DISABLENOTIFS.cmd index 179d480522..f413766fc6 100644 --- a/src/playbook/Executables/DISABLENOTIFS.cmd +++ b/src/playbook/Executables/DISABLENOTIFS.cmd @@ -30,6 +30,7 @@ for /f "tokens=5 delims=\" %%a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Ser :: Apply changes taskkill /f /im explorer.exe > nul 2>&1 taskkill /f /im ShellExperienceHost.exe > nul 2>&1 +timeout /t 3 /nobreak > nul tasklist | find "explorer.exe" > nul || start explorer.exe echo Disabled notifications. \ No newline at end of file diff --git a/src/playbook/Executables/ENABLENOTIFS.cmd b/src/playbook/Executables/ENABLENOTIFS.cmd index 1e73550482..c04e1e65f0 100644 --- a/src/playbook/Executables/ENABLENOTIFS.cmd +++ b/src/playbook/Executables/ENABLENOTIFS.cmd @@ -15,10 +15,14 @@ for %%a in ( call "%windir%\AtlasModules\Scripts\settingsPages.cmd" /unhide %%~a /silent ) +:: Enable services +call "%windir%\AtlasModules\Scripts\setSvc.cmd" "WpnUserService" 2 +sc config WpnService start=auto > nul :: Apply changes taskkill /f /im explorer.exe > nul 2>&1 taskkill /f /im ShellExperienceHost.exe > nul 2>&1 +timeout /t 3 /nobreak > nul tasklist | find "explorer.exe" > nul || start explorer.exe echo Enabled notifications. \ No newline at end of file