File tree Expand file tree Collapse file tree 3 files changed +2
-13
lines changed Expand file tree Collapse file tree 3 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,13 @@ actions:
4646 handleExitCodes : {'!0': halt}
4747
4848 # Prevent annoying notifications during deployment
49- - !taskKill: {name: 'explorer'}
5049 - !cmd:
5150 command : ' DISABLENOTIFS.cmd'
5251 exeDir : true
5352 wait : true
5453 runas : currentUserElevated
54+ - !taskKill: {name: 'explorer'}
55+ - !taskKill: {name: 'ShellExperienceHost'}
5556 - !run: {exe: 'explorer.exe', runas: 'currentUser', wait: false}
5657
5758 # Configure PowerShell first so that other PowerShell scripts work
Original file line number Diff line number Diff line change @@ -27,10 +27,4 @@ for /f "tokens=5 delims=\" %%a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Ser
2727 sc delete " %%a " > nul
2828)
2929
30- :: Apply changes
31- taskkill /f /im explorer.exe > nul 2 >& 1
32- taskkill /f /im ShellExperienceHost.exe > nul 2 >& 1
33- timeout /t 3 /nobreak > nul
34- tasklist | find " explorer.exe" > nul || start explorer.exe
35-
3630echo Disabled notifications.
Original file line number Diff line number Diff line change @@ -19,10 +19,4 @@ for %%a in (
1919call " %windir% \AtlasModules\Scripts\setSvc.cmd" " WpnUserService" 2
2020sc config WpnService start=auto > nul
2121
22- :: Apply changes
23- taskkill /f /im explorer.exe > nul 2 >& 1
24- taskkill /f /im ShellExperienceHost.exe > nul 2 >& 1
25- timeout /t 3 /nobreak > nul
26- tasklist | find " explorer.exe" > nul || start explorer.exe
27-
2822echo Enabled notifications.
You can’t perform that action at this time.
0 commit comments