Disable Windows 10 Update Notification OSD
Every now and then in Windows 10 it keeps grabbing my screen with an OSD telling me about updates with a button that takes me to the update menu in Settings. It's very annoying at times, especially whenever I have an app in full-screen it takes me away from it just to tell me about updates.
I want to disable this screen grabbing OSD notification because it's too obtrusive and simply outright annoying. Would prefer if I can just have it notify me in small popup balloon notification instead so it can be viewed in Message Centre.
I'm fine with some registry tweaks or whatever, either that or just disable update notifications completely. I currently only have it to notify of updates, but not download and install them whenever it chooses.
windows-10 windows-update notifications windows-10-v1607
add a comment |
Every now and then in Windows 10 it keeps grabbing my screen with an OSD telling me about updates with a button that takes me to the update menu in Settings. It's very annoying at times, especially whenever I have an app in full-screen it takes me away from it just to tell me about updates.
I want to disable this screen grabbing OSD notification because it's too obtrusive and simply outright annoying. Would prefer if I can just have it notify me in small popup balloon notification instead so it can be viewed in Message Centre.
I'm fine with some registry tweaks or whatever, either that or just disable update notifications completely. I currently only have it to notify of updates, but not download and install them whenever it chooses.
windows-10 windows-update notifications windows-10-v1607
add a comment |
Every now and then in Windows 10 it keeps grabbing my screen with an OSD telling me about updates with a button that takes me to the update menu in Settings. It's very annoying at times, especially whenever I have an app in full-screen it takes me away from it just to tell me about updates.
I want to disable this screen grabbing OSD notification because it's too obtrusive and simply outright annoying. Would prefer if I can just have it notify me in small popup balloon notification instead so it can be viewed in Message Centre.
I'm fine with some registry tweaks or whatever, either that or just disable update notifications completely. I currently only have it to notify of updates, but not download and install them whenever it chooses.
windows-10 windows-update notifications windows-10-v1607
Every now and then in Windows 10 it keeps grabbing my screen with an OSD telling me about updates with a button that takes me to the update menu in Settings. It's very annoying at times, especially whenever I have an app in full-screen it takes me away from it just to tell me about updates.
I want to disable this screen grabbing OSD notification because it's too obtrusive and simply outright annoying. Would prefer if I can just have it notify me in small popup balloon notification instead so it can be viewed in Message Centre.
I'm fine with some registry tweaks or whatever, either that or just disable update notifications completely. I currently only have it to notify of updates, but not download and install them whenever it chooses.
windows-10 windows-update notifications windows-10-v1607
windows-10 windows-update notifications windows-10-v1607
asked May 31 '17 at 3:17
user94959
1
1
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
windows_update_notification_only_toggle.bat
Notification-only subset to block just the annoying notifications and reboot tasks, leaving update function enabled and working.
To undo changes and resume windows update notification, simply run the script again.
windows_update_notification_only_toggle.bat
goto="init" /* %~nx0
:: Batch designed for Windows 10 - compatible with Windows 7
:: v7 final: Disable Update Notification-only with working Windows Update, Store and Defender protection updates
::----------------------------------------------------------------------------------------------------------------------------------
:about
::----------------------------------------------------------------------------------------------------------------------------------
call :check_status
if "%STATUS%"=="DISABLED" ( color 0c ) else color 0b
echo.
echo ---------------------------------------------------------------------
echo : Windows Update Notification-only Toggle v7.0 :
echo :---------------------------------------------------------------------:
echo : Just run this script again to enable or disable :
echo : :
echo : Update Notification currently %STATUS% :
echo : :
echo : Press Alt+F4 to cancel Always run latest version :
echo ---------------------------------------------------------------------
echo A subset of windows_update_toggle.bat https://pastebin.com/gNsLEWJe
echo.
exit/b
::----------------------------------------------------------------------------------------------------------------------------------
:main [ Batch main function ]
::----------------------------------------------------------------------------------------------------------------------------------
set "exe=" & title Windows Update Notification Toggle & color 07 & call :about 0b & timeout /t 10
:: notification blocking
set "exe=%exe% MusNotification MusNotifyIcon" || TasksMicrosoftWindowsUpdateOrchestrator ESSENTIAL!
set "exe=%exe% UpdateNotificationMgr UNPUXLauncher UNPUXHost" || TasksMicrosoftWindowsUNP
set "exe=%exe% Windows10UpgraderApp DWTRIG20 DW20 GWX" || Windows10Upgrade
:: error reporting blocking
set "exe=%exe% wermgr WerFault WerFaultSecure DWWIN" || TasksMicrosoftWindowsWindows Error Reporting
:: diag - optional blocking of diagnostics / telemetry
rem set "exe=%exe% compattelrunner" || TasksMicrosoftWindowsApplication Experience
rem set "exe=%exe% dstokenclean appidtel" || TasksMicrosoftWindowsApplicationData
rem set "exe=%exe% wsqmcons" || TasksMicrosoftWindowsCustomer Experience Improvement Prg
rem set "exe=%exe% dusmtask" || TasksMicrosoftWindowsDUSM
rem set "exe=%exe% dmclient" || TasksMicrosoftWindowsFeedbackSiuf
rem set "exe=%exe% DataUsageLiveTileTask" || Tasks{SID}DataSenseLiveTileTask
rem set "exe=%exe% DiagnosticsHub.StandardCollector.Service" || System32DiagSvcs
rem set "exe=%exe% HxTsr" || WindowsAppsmicrosoft.windowscommunicationsapps
:: other - optional blocking of other tools
rem set "exe=%exe% PilotshubApp" || Program FilesWindowsAppsMicrosoft.WindowsFeedbackHub_
rem set "exe=%exe% SpeechModelDownload SpeechRuntime" || TasksMicrosoftWindowsSpeech Recommended
rem set "exe=%exe% LocationNotificationWindows WindowsActionDialog" || TasksMicrosoftWindowsLocation
rem set "exe=%exe% DFDWiz disksnapshot" || TasksMicrosoftWindowsDiskFootprint
::----------------------------------------------------------------------------------------------------------------------------------
:: all_entries - used to cleanup orphaned / commented entries between script versions
set e1=TiWorker UsoClient wuauclt wusa WaaSMedic SIHClient WindowsUpdateBox GetCurrentRollback WinREBootApp64 WinREBootApp32
set e2=MusNotification MusNotifyIcon UpdateNotificationMgr UNPUXLauncher UNPUXHost Windows10UpgraderApp DWTRIG20 DW20 GWX wuapihost
set e3=wermgr WerFault WerFaultSecure DWWIN compattelrunner dstokenclean appidtel wsqmcons dusmtask dmclient DataUsageLiveTileTask
set e4=DiagnosticsHub.StandardCollector.Service HxTsr PilotshubApp SpeechModelDownload SpeechRuntime LocationNotificationWindows
set e5=WindowsActionDialog DFDWiz disksnapshot TrustedInstaller
set old_entries=RAServer ClipUp Dism ShellServiceHost backgroundTaskHost
set all_entries=%e1% %e2% %e3% %e4% %e5%
:: Cleanup orphaned / commented items between script versions
echo.
for %%C in (%old_entries%) do call :cleanup_orphaned %%C silent
for %%C in (%all_entries%) do call :cleanup_orphaned %%C
echo.
:: Toggle execution via IFEO
set/a "bl=0" & set/a "unbl=0" & set "REGISTRY_MISMATCH=echo [REGISTRY MISMATCH CORRECTED] & echo."
for %%a in (%exe%) do call :ToggleExecution "%ifeo%%%a.exe"
if %bl% gtr 0 if %unbl% gtr 0 %REGISTRY_MISMATCH% & for %%a in (%exe%) do call :ToggleExecution "%ifeo%%%a.exe" forced
echo.
:: Done!
echo ---------------------------------------------------------------------
if "%STATUS%"=="DISABLED" ( color 0b &echo Update Notification now ENABLED! ) else color 0c &echo Update Notification now DISABLED
echo ---------------------------------------------------------------------
echo.
pause
exit
::----------------------------------------------------------------------------------------------------------------------------------
:: Utility functions
::----------------------------------------------------------------------------------------------------------------------------------
:check_status
set "ifeo=HKLMSoftwareMicrosoftWindows NTCurrentVersionImage File Execution Options" & set "OK="
reg query "%ifeo%MusNotification.exe" /v Debugger 1>nul 2>nul && set "STATUS=DISABLED" || set "STATUS=ENABLED!"
exit/b
:cleanup_orphaned %1:[entry to check, used internally] %2:[anytext=silent]
call set "orphaned=%%exe:%1=%%" & set "okey="%ifeo%%1.exe""
if /i "%orphaned%"=="%exe%" reg delete %okey% /v "Debugger" /f >nul 2>nul & if /i ".%2"=="." echo %1 not selected..
exit/b
:ToggleExecution %1:[regpath] %2:[optional "forced"]
set "dummy=%windir%System32systray.exe" & rem allow dummy process creation to limit errors
if "%STATUS%_%2"=="DISABLED_forced" reg delete "%~1" /v "Debugger" /f >nul 2>nul & exit/b
if "%STATUS%_%2"=="ENABLED!_forced" reg add "%~1" /v Debugger /d "%dummy%" /f >nul 2>nul & exit/b
reg query "%~1" /v Debugger 1>nul 2>nul && set "isBlocked=1" || set "isBlocked="
if defined isBlocked reg delete "%~1" /v "Debugger" /f >nul 2>nul & set/a "unbl+=1" & echo %~n1 un-blocked! & exit/b
reg add "%~1" /v Debugger /d "%dummy%" /f >nul 2>nul & set/a "bl+=1" & echo %~n1 blocked! & taskkill /IM %~n1 /t /f >nul 2>nul
exit/b
::----------------------------------------------------------------------------------------------------------------------------------
:"init" [ Batch entry function ]
::----------------------------------------------------------------------------------------------------------------------------------
@echo off & cls & setlocal & if "%1"=="init" shift &shift & goto :main &rem Admin self-restart flag found, jump to main
reg query "HKEY_USERSS-1-5-20Environment" /v temp 1>nul 2>nul && goto :main || call :about 0c & echo Requesting admin rights..
call cscript /nologo /e:JScript "%~f0" get_rights "%1" & exit
::----------------------------------------------------------------------------------------------------------------------------------
*/ // [ JScript functions ] all batch lines above are treated as a /* js comment */ in cscript
function get_rights(fn) { var console_init_shift='/c start "init" "'+fn+'"'+' init '+fn+' '+WSH.Arguments(1);
WSH.CreateObject("Shell.Application").ShellExecute('cmd.exe',console_init_shift,"","runas",1); }
if (WSH.Arguments.length>=1 && WSH.Arguments(0)=="get_rights") get_rights(WSH.ScriptFullName);
//
add a comment |
Go to Settings and select System. On the left click on Notifications & actions.
Scroll down to the bottom of the window and click on Windows Update (should be the last one) to see other options.
Here you can disable the Windows Update notification banners. In this way notifications will only be visible in the Action Center.
4
I don't know what version of Windows 10 you're running but I do not see this at all when I go to Notifications and Actions.
– user94959
Jun 1 '17 at 9:56
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1214503%2fdisable-windows-10-update-notification-osd%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
windows_update_notification_only_toggle.bat
Notification-only subset to block just the annoying notifications and reboot tasks, leaving update function enabled and working.
To undo changes and resume windows update notification, simply run the script again.
windows_update_notification_only_toggle.bat
goto="init" /* %~nx0
:: Batch designed for Windows 10 - compatible with Windows 7
:: v7 final: Disable Update Notification-only with working Windows Update, Store and Defender protection updates
::----------------------------------------------------------------------------------------------------------------------------------
:about
::----------------------------------------------------------------------------------------------------------------------------------
call :check_status
if "%STATUS%"=="DISABLED" ( color 0c ) else color 0b
echo.
echo ---------------------------------------------------------------------
echo : Windows Update Notification-only Toggle v7.0 :
echo :---------------------------------------------------------------------:
echo : Just run this script again to enable or disable :
echo : :
echo : Update Notification currently %STATUS% :
echo : :
echo : Press Alt+F4 to cancel Always run latest version :
echo ---------------------------------------------------------------------
echo A subset of windows_update_toggle.bat https://pastebin.com/gNsLEWJe
echo.
exit/b
::----------------------------------------------------------------------------------------------------------------------------------
:main [ Batch main function ]
::----------------------------------------------------------------------------------------------------------------------------------
set "exe=" & title Windows Update Notification Toggle & color 07 & call :about 0b & timeout /t 10
:: notification blocking
set "exe=%exe% MusNotification MusNotifyIcon" || TasksMicrosoftWindowsUpdateOrchestrator ESSENTIAL!
set "exe=%exe% UpdateNotificationMgr UNPUXLauncher UNPUXHost" || TasksMicrosoftWindowsUNP
set "exe=%exe% Windows10UpgraderApp DWTRIG20 DW20 GWX" || Windows10Upgrade
:: error reporting blocking
set "exe=%exe% wermgr WerFault WerFaultSecure DWWIN" || TasksMicrosoftWindowsWindows Error Reporting
:: diag - optional blocking of diagnostics / telemetry
rem set "exe=%exe% compattelrunner" || TasksMicrosoftWindowsApplication Experience
rem set "exe=%exe% dstokenclean appidtel" || TasksMicrosoftWindowsApplicationData
rem set "exe=%exe% wsqmcons" || TasksMicrosoftWindowsCustomer Experience Improvement Prg
rem set "exe=%exe% dusmtask" || TasksMicrosoftWindowsDUSM
rem set "exe=%exe% dmclient" || TasksMicrosoftWindowsFeedbackSiuf
rem set "exe=%exe% DataUsageLiveTileTask" || Tasks{SID}DataSenseLiveTileTask
rem set "exe=%exe% DiagnosticsHub.StandardCollector.Service" || System32DiagSvcs
rem set "exe=%exe% HxTsr" || WindowsAppsmicrosoft.windowscommunicationsapps
:: other - optional blocking of other tools
rem set "exe=%exe% PilotshubApp" || Program FilesWindowsAppsMicrosoft.WindowsFeedbackHub_
rem set "exe=%exe% SpeechModelDownload SpeechRuntime" || TasksMicrosoftWindowsSpeech Recommended
rem set "exe=%exe% LocationNotificationWindows WindowsActionDialog" || TasksMicrosoftWindowsLocation
rem set "exe=%exe% DFDWiz disksnapshot" || TasksMicrosoftWindowsDiskFootprint
::----------------------------------------------------------------------------------------------------------------------------------
:: all_entries - used to cleanup orphaned / commented entries between script versions
set e1=TiWorker UsoClient wuauclt wusa WaaSMedic SIHClient WindowsUpdateBox GetCurrentRollback WinREBootApp64 WinREBootApp32
set e2=MusNotification MusNotifyIcon UpdateNotificationMgr UNPUXLauncher UNPUXHost Windows10UpgraderApp DWTRIG20 DW20 GWX wuapihost
set e3=wermgr WerFault WerFaultSecure DWWIN compattelrunner dstokenclean appidtel wsqmcons dusmtask dmclient DataUsageLiveTileTask
set e4=DiagnosticsHub.StandardCollector.Service HxTsr PilotshubApp SpeechModelDownload SpeechRuntime LocationNotificationWindows
set e5=WindowsActionDialog DFDWiz disksnapshot TrustedInstaller
set old_entries=RAServer ClipUp Dism ShellServiceHost backgroundTaskHost
set all_entries=%e1% %e2% %e3% %e4% %e5%
:: Cleanup orphaned / commented items between script versions
echo.
for %%C in (%old_entries%) do call :cleanup_orphaned %%C silent
for %%C in (%all_entries%) do call :cleanup_orphaned %%C
echo.
:: Toggle execution via IFEO
set/a "bl=0" & set/a "unbl=0" & set "REGISTRY_MISMATCH=echo [REGISTRY MISMATCH CORRECTED] & echo."
for %%a in (%exe%) do call :ToggleExecution "%ifeo%%%a.exe"
if %bl% gtr 0 if %unbl% gtr 0 %REGISTRY_MISMATCH% & for %%a in (%exe%) do call :ToggleExecution "%ifeo%%%a.exe" forced
echo.
:: Done!
echo ---------------------------------------------------------------------
if "%STATUS%"=="DISABLED" ( color 0b &echo Update Notification now ENABLED! ) else color 0c &echo Update Notification now DISABLED
echo ---------------------------------------------------------------------
echo.
pause
exit
::----------------------------------------------------------------------------------------------------------------------------------
:: Utility functions
::----------------------------------------------------------------------------------------------------------------------------------
:check_status
set "ifeo=HKLMSoftwareMicrosoftWindows NTCurrentVersionImage File Execution Options" & set "OK="
reg query "%ifeo%MusNotification.exe" /v Debugger 1>nul 2>nul && set "STATUS=DISABLED" || set "STATUS=ENABLED!"
exit/b
:cleanup_orphaned %1:[entry to check, used internally] %2:[anytext=silent]
call set "orphaned=%%exe:%1=%%" & set "okey="%ifeo%%1.exe""
if /i "%orphaned%"=="%exe%" reg delete %okey% /v "Debugger" /f >nul 2>nul & if /i ".%2"=="." echo %1 not selected..
exit/b
:ToggleExecution %1:[regpath] %2:[optional "forced"]
set "dummy=%windir%System32systray.exe" & rem allow dummy process creation to limit errors
if "%STATUS%_%2"=="DISABLED_forced" reg delete "%~1" /v "Debugger" /f >nul 2>nul & exit/b
if "%STATUS%_%2"=="ENABLED!_forced" reg add "%~1" /v Debugger /d "%dummy%" /f >nul 2>nul & exit/b
reg query "%~1" /v Debugger 1>nul 2>nul && set "isBlocked=1" || set "isBlocked="
if defined isBlocked reg delete "%~1" /v "Debugger" /f >nul 2>nul & set/a "unbl+=1" & echo %~n1 un-blocked! & exit/b
reg add "%~1" /v Debugger /d "%dummy%" /f >nul 2>nul & set/a "bl+=1" & echo %~n1 blocked! & taskkill /IM %~n1 /t /f >nul 2>nul
exit/b
::----------------------------------------------------------------------------------------------------------------------------------
:"init" [ Batch entry function ]
::----------------------------------------------------------------------------------------------------------------------------------
@echo off & cls & setlocal & if "%1"=="init" shift &shift & goto :main &rem Admin self-restart flag found, jump to main
reg query "HKEY_USERSS-1-5-20Environment" /v temp 1>nul 2>nul && goto :main || call :about 0c & echo Requesting admin rights..
call cscript /nologo /e:JScript "%~f0" get_rights "%1" & exit
::----------------------------------------------------------------------------------------------------------------------------------
*/ // [ JScript functions ] all batch lines above are treated as a /* js comment */ in cscript
function get_rights(fn) { var console_init_shift='/c start "init" "'+fn+'"'+' init '+fn+' '+WSH.Arguments(1);
WSH.CreateObject("Shell.Application").ShellExecute('cmd.exe',console_init_shift,"","runas",1); }
if (WSH.Arguments.length>=1 && WSH.Arguments(0)=="get_rights") get_rights(WSH.ScriptFullName);
//
add a comment |
windows_update_notification_only_toggle.bat
Notification-only subset to block just the annoying notifications and reboot tasks, leaving update function enabled and working.
To undo changes and resume windows update notification, simply run the script again.
windows_update_notification_only_toggle.bat
goto="init" /* %~nx0
:: Batch designed for Windows 10 - compatible with Windows 7
:: v7 final: Disable Update Notification-only with working Windows Update, Store and Defender protection updates
::----------------------------------------------------------------------------------------------------------------------------------
:about
::----------------------------------------------------------------------------------------------------------------------------------
call :check_status
if "%STATUS%"=="DISABLED" ( color 0c ) else color 0b
echo.
echo ---------------------------------------------------------------------
echo : Windows Update Notification-only Toggle v7.0 :
echo :---------------------------------------------------------------------:
echo : Just run this script again to enable or disable :
echo : :
echo : Update Notification currently %STATUS% :
echo : :
echo : Press Alt+F4 to cancel Always run latest version :
echo ---------------------------------------------------------------------
echo A subset of windows_update_toggle.bat https://pastebin.com/gNsLEWJe
echo.
exit/b
::----------------------------------------------------------------------------------------------------------------------------------
:main [ Batch main function ]
::----------------------------------------------------------------------------------------------------------------------------------
set "exe=" & title Windows Update Notification Toggle & color 07 & call :about 0b & timeout /t 10
:: notification blocking
set "exe=%exe% MusNotification MusNotifyIcon" || TasksMicrosoftWindowsUpdateOrchestrator ESSENTIAL!
set "exe=%exe% UpdateNotificationMgr UNPUXLauncher UNPUXHost" || TasksMicrosoftWindowsUNP
set "exe=%exe% Windows10UpgraderApp DWTRIG20 DW20 GWX" || Windows10Upgrade
:: error reporting blocking
set "exe=%exe% wermgr WerFault WerFaultSecure DWWIN" || TasksMicrosoftWindowsWindows Error Reporting
:: diag - optional blocking of diagnostics / telemetry
rem set "exe=%exe% compattelrunner" || TasksMicrosoftWindowsApplication Experience
rem set "exe=%exe% dstokenclean appidtel" || TasksMicrosoftWindowsApplicationData
rem set "exe=%exe% wsqmcons" || TasksMicrosoftWindowsCustomer Experience Improvement Prg
rem set "exe=%exe% dusmtask" || TasksMicrosoftWindowsDUSM
rem set "exe=%exe% dmclient" || TasksMicrosoftWindowsFeedbackSiuf
rem set "exe=%exe% DataUsageLiveTileTask" || Tasks{SID}DataSenseLiveTileTask
rem set "exe=%exe% DiagnosticsHub.StandardCollector.Service" || System32DiagSvcs
rem set "exe=%exe% HxTsr" || WindowsAppsmicrosoft.windowscommunicationsapps
:: other - optional blocking of other tools
rem set "exe=%exe% PilotshubApp" || Program FilesWindowsAppsMicrosoft.WindowsFeedbackHub_
rem set "exe=%exe% SpeechModelDownload SpeechRuntime" || TasksMicrosoftWindowsSpeech Recommended
rem set "exe=%exe% LocationNotificationWindows WindowsActionDialog" || TasksMicrosoftWindowsLocation
rem set "exe=%exe% DFDWiz disksnapshot" || TasksMicrosoftWindowsDiskFootprint
::----------------------------------------------------------------------------------------------------------------------------------
:: all_entries - used to cleanup orphaned / commented entries between script versions
set e1=TiWorker UsoClient wuauclt wusa WaaSMedic SIHClient WindowsUpdateBox GetCurrentRollback WinREBootApp64 WinREBootApp32
set e2=MusNotification MusNotifyIcon UpdateNotificationMgr UNPUXLauncher UNPUXHost Windows10UpgraderApp DWTRIG20 DW20 GWX wuapihost
set e3=wermgr WerFault WerFaultSecure DWWIN compattelrunner dstokenclean appidtel wsqmcons dusmtask dmclient DataUsageLiveTileTask
set e4=DiagnosticsHub.StandardCollector.Service HxTsr PilotshubApp SpeechModelDownload SpeechRuntime LocationNotificationWindows
set e5=WindowsActionDialog DFDWiz disksnapshot TrustedInstaller
set old_entries=RAServer ClipUp Dism ShellServiceHost backgroundTaskHost
set all_entries=%e1% %e2% %e3% %e4% %e5%
:: Cleanup orphaned / commented items between script versions
echo.
for %%C in (%old_entries%) do call :cleanup_orphaned %%C silent
for %%C in (%all_entries%) do call :cleanup_orphaned %%C
echo.
:: Toggle execution via IFEO
set/a "bl=0" & set/a "unbl=0" & set "REGISTRY_MISMATCH=echo [REGISTRY MISMATCH CORRECTED] & echo."
for %%a in (%exe%) do call :ToggleExecution "%ifeo%%%a.exe"
if %bl% gtr 0 if %unbl% gtr 0 %REGISTRY_MISMATCH% & for %%a in (%exe%) do call :ToggleExecution "%ifeo%%%a.exe" forced
echo.
:: Done!
echo ---------------------------------------------------------------------
if "%STATUS%"=="DISABLED" ( color 0b &echo Update Notification now ENABLED! ) else color 0c &echo Update Notification now DISABLED
echo ---------------------------------------------------------------------
echo.
pause
exit
::----------------------------------------------------------------------------------------------------------------------------------
:: Utility functions
::----------------------------------------------------------------------------------------------------------------------------------
:check_status
set "ifeo=HKLMSoftwareMicrosoftWindows NTCurrentVersionImage File Execution Options" & set "OK="
reg query "%ifeo%MusNotification.exe" /v Debugger 1>nul 2>nul && set "STATUS=DISABLED" || set "STATUS=ENABLED!"
exit/b
:cleanup_orphaned %1:[entry to check, used internally] %2:[anytext=silent]
call set "orphaned=%%exe:%1=%%" & set "okey="%ifeo%%1.exe""
if /i "%orphaned%"=="%exe%" reg delete %okey% /v "Debugger" /f >nul 2>nul & if /i ".%2"=="." echo %1 not selected..
exit/b
:ToggleExecution %1:[regpath] %2:[optional "forced"]
set "dummy=%windir%System32systray.exe" & rem allow dummy process creation to limit errors
if "%STATUS%_%2"=="DISABLED_forced" reg delete "%~1" /v "Debugger" /f >nul 2>nul & exit/b
if "%STATUS%_%2"=="ENABLED!_forced" reg add "%~1" /v Debugger /d "%dummy%" /f >nul 2>nul & exit/b
reg query "%~1" /v Debugger 1>nul 2>nul && set "isBlocked=1" || set "isBlocked="
if defined isBlocked reg delete "%~1" /v "Debugger" /f >nul 2>nul & set/a "unbl+=1" & echo %~n1 un-blocked! & exit/b
reg add "%~1" /v Debugger /d "%dummy%" /f >nul 2>nul & set/a "bl+=1" & echo %~n1 blocked! & taskkill /IM %~n1 /t /f >nul 2>nul
exit/b
::----------------------------------------------------------------------------------------------------------------------------------
:"init" [ Batch entry function ]
::----------------------------------------------------------------------------------------------------------------------------------
@echo off & cls & setlocal & if "%1"=="init" shift &shift & goto :main &rem Admin self-restart flag found, jump to main
reg query "HKEY_USERSS-1-5-20Environment" /v temp 1>nul 2>nul && goto :main || call :about 0c & echo Requesting admin rights..
call cscript /nologo /e:JScript "%~f0" get_rights "%1" & exit
::----------------------------------------------------------------------------------------------------------------------------------
*/ // [ JScript functions ] all batch lines above are treated as a /* js comment */ in cscript
function get_rights(fn) { var console_init_shift='/c start "init" "'+fn+'"'+' init '+fn+' '+WSH.Arguments(1);
WSH.CreateObject("Shell.Application").ShellExecute('cmd.exe',console_init_shift,"","runas",1); }
if (WSH.Arguments.length>=1 && WSH.Arguments(0)=="get_rights") get_rights(WSH.ScriptFullName);
//
add a comment |
windows_update_notification_only_toggle.bat
Notification-only subset to block just the annoying notifications and reboot tasks, leaving update function enabled and working.
To undo changes and resume windows update notification, simply run the script again.
windows_update_notification_only_toggle.bat
goto="init" /* %~nx0
:: Batch designed for Windows 10 - compatible with Windows 7
:: v7 final: Disable Update Notification-only with working Windows Update, Store and Defender protection updates
::----------------------------------------------------------------------------------------------------------------------------------
:about
::----------------------------------------------------------------------------------------------------------------------------------
call :check_status
if "%STATUS%"=="DISABLED" ( color 0c ) else color 0b
echo.
echo ---------------------------------------------------------------------
echo : Windows Update Notification-only Toggle v7.0 :
echo :---------------------------------------------------------------------:
echo : Just run this script again to enable or disable :
echo : :
echo : Update Notification currently %STATUS% :
echo : :
echo : Press Alt+F4 to cancel Always run latest version :
echo ---------------------------------------------------------------------
echo A subset of windows_update_toggle.bat https://pastebin.com/gNsLEWJe
echo.
exit/b
::----------------------------------------------------------------------------------------------------------------------------------
:main [ Batch main function ]
::----------------------------------------------------------------------------------------------------------------------------------
set "exe=" & title Windows Update Notification Toggle & color 07 & call :about 0b & timeout /t 10
:: notification blocking
set "exe=%exe% MusNotification MusNotifyIcon" || TasksMicrosoftWindowsUpdateOrchestrator ESSENTIAL!
set "exe=%exe% UpdateNotificationMgr UNPUXLauncher UNPUXHost" || TasksMicrosoftWindowsUNP
set "exe=%exe% Windows10UpgraderApp DWTRIG20 DW20 GWX" || Windows10Upgrade
:: error reporting blocking
set "exe=%exe% wermgr WerFault WerFaultSecure DWWIN" || TasksMicrosoftWindowsWindows Error Reporting
:: diag - optional blocking of diagnostics / telemetry
rem set "exe=%exe% compattelrunner" || TasksMicrosoftWindowsApplication Experience
rem set "exe=%exe% dstokenclean appidtel" || TasksMicrosoftWindowsApplicationData
rem set "exe=%exe% wsqmcons" || TasksMicrosoftWindowsCustomer Experience Improvement Prg
rem set "exe=%exe% dusmtask" || TasksMicrosoftWindowsDUSM
rem set "exe=%exe% dmclient" || TasksMicrosoftWindowsFeedbackSiuf
rem set "exe=%exe% DataUsageLiveTileTask" || Tasks{SID}DataSenseLiveTileTask
rem set "exe=%exe% DiagnosticsHub.StandardCollector.Service" || System32DiagSvcs
rem set "exe=%exe% HxTsr" || WindowsAppsmicrosoft.windowscommunicationsapps
:: other - optional blocking of other tools
rem set "exe=%exe% PilotshubApp" || Program FilesWindowsAppsMicrosoft.WindowsFeedbackHub_
rem set "exe=%exe% SpeechModelDownload SpeechRuntime" || TasksMicrosoftWindowsSpeech Recommended
rem set "exe=%exe% LocationNotificationWindows WindowsActionDialog" || TasksMicrosoftWindowsLocation
rem set "exe=%exe% DFDWiz disksnapshot" || TasksMicrosoftWindowsDiskFootprint
::----------------------------------------------------------------------------------------------------------------------------------
:: all_entries - used to cleanup orphaned / commented entries between script versions
set e1=TiWorker UsoClient wuauclt wusa WaaSMedic SIHClient WindowsUpdateBox GetCurrentRollback WinREBootApp64 WinREBootApp32
set e2=MusNotification MusNotifyIcon UpdateNotificationMgr UNPUXLauncher UNPUXHost Windows10UpgraderApp DWTRIG20 DW20 GWX wuapihost
set e3=wermgr WerFault WerFaultSecure DWWIN compattelrunner dstokenclean appidtel wsqmcons dusmtask dmclient DataUsageLiveTileTask
set e4=DiagnosticsHub.StandardCollector.Service HxTsr PilotshubApp SpeechModelDownload SpeechRuntime LocationNotificationWindows
set e5=WindowsActionDialog DFDWiz disksnapshot TrustedInstaller
set old_entries=RAServer ClipUp Dism ShellServiceHost backgroundTaskHost
set all_entries=%e1% %e2% %e3% %e4% %e5%
:: Cleanup orphaned / commented items between script versions
echo.
for %%C in (%old_entries%) do call :cleanup_orphaned %%C silent
for %%C in (%all_entries%) do call :cleanup_orphaned %%C
echo.
:: Toggle execution via IFEO
set/a "bl=0" & set/a "unbl=0" & set "REGISTRY_MISMATCH=echo [REGISTRY MISMATCH CORRECTED] & echo."
for %%a in (%exe%) do call :ToggleExecution "%ifeo%%%a.exe"
if %bl% gtr 0 if %unbl% gtr 0 %REGISTRY_MISMATCH% & for %%a in (%exe%) do call :ToggleExecution "%ifeo%%%a.exe" forced
echo.
:: Done!
echo ---------------------------------------------------------------------
if "%STATUS%"=="DISABLED" ( color 0b &echo Update Notification now ENABLED! ) else color 0c &echo Update Notification now DISABLED
echo ---------------------------------------------------------------------
echo.
pause
exit
::----------------------------------------------------------------------------------------------------------------------------------
:: Utility functions
::----------------------------------------------------------------------------------------------------------------------------------
:check_status
set "ifeo=HKLMSoftwareMicrosoftWindows NTCurrentVersionImage File Execution Options" & set "OK="
reg query "%ifeo%MusNotification.exe" /v Debugger 1>nul 2>nul && set "STATUS=DISABLED" || set "STATUS=ENABLED!"
exit/b
:cleanup_orphaned %1:[entry to check, used internally] %2:[anytext=silent]
call set "orphaned=%%exe:%1=%%" & set "okey="%ifeo%%1.exe""
if /i "%orphaned%"=="%exe%" reg delete %okey% /v "Debugger" /f >nul 2>nul & if /i ".%2"=="." echo %1 not selected..
exit/b
:ToggleExecution %1:[regpath] %2:[optional "forced"]
set "dummy=%windir%System32systray.exe" & rem allow dummy process creation to limit errors
if "%STATUS%_%2"=="DISABLED_forced" reg delete "%~1" /v "Debugger" /f >nul 2>nul & exit/b
if "%STATUS%_%2"=="ENABLED!_forced" reg add "%~1" /v Debugger /d "%dummy%" /f >nul 2>nul & exit/b
reg query "%~1" /v Debugger 1>nul 2>nul && set "isBlocked=1" || set "isBlocked="
if defined isBlocked reg delete "%~1" /v "Debugger" /f >nul 2>nul & set/a "unbl+=1" & echo %~n1 un-blocked! & exit/b
reg add "%~1" /v Debugger /d "%dummy%" /f >nul 2>nul & set/a "bl+=1" & echo %~n1 blocked! & taskkill /IM %~n1 /t /f >nul 2>nul
exit/b
::----------------------------------------------------------------------------------------------------------------------------------
:"init" [ Batch entry function ]
::----------------------------------------------------------------------------------------------------------------------------------
@echo off & cls & setlocal & if "%1"=="init" shift &shift & goto :main &rem Admin self-restart flag found, jump to main
reg query "HKEY_USERSS-1-5-20Environment" /v temp 1>nul 2>nul && goto :main || call :about 0c & echo Requesting admin rights..
call cscript /nologo /e:JScript "%~f0" get_rights "%1" & exit
::----------------------------------------------------------------------------------------------------------------------------------
*/ // [ JScript functions ] all batch lines above are treated as a /* js comment */ in cscript
function get_rights(fn) { var console_init_shift='/c start "init" "'+fn+'"'+' init '+fn+' '+WSH.Arguments(1);
WSH.CreateObject("Shell.Application").ShellExecute('cmd.exe',console_init_shift,"","runas",1); }
if (WSH.Arguments.length>=1 && WSH.Arguments(0)=="get_rights") get_rights(WSH.ScriptFullName);
//
windows_update_notification_only_toggle.bat
Notification-only subset to block just the annoying notifications and reboot tasks, leaving update function enabled and working.
To undo changes and resume windows update notification, simply run the script again.
windows_update_notification_only_toggle.bat
goto="init" /* %~nx0
:: Batch designed for Windows 10 - compatible with Windows 7
:: v7 final: Disable Update Notification-only with working Windows Update, Store and Defender protection updates
::----------------------------------------------------------------------------------------------------------------------------------
:about
::----------------------------------------------------------------------------------------------------------------------------------
call :check_status
if "%STATUS%"=="DISABLED" ( color 0c ) else color 0b
echo.
echo ---------------------------------------------------------------------
echo : Windows Update Notification-only Toggle v7.0 :
echo :---------------------------------------------------------------------:
echo : Just run this script again to enable or disable :
echo : :
echo : Update Notification currently %STATUS% :
echo : :
echo : Press Alt+F4 to cancel Always run latest version :
echo ---------------------------------------------------------------------
echo A subset of windows_update_toggle.bat https://pastebin.com/gNsLEWJe
echo.
exit/b
::----------------------------------------------------------------------------------------------------------------------------------
:main [ Batch main function ]
::----------------------------------------------------------------------------------------------------------------------------------
set "exe=" & title Windows Update Notification Toggle & color 07 & call :about 0b & timeout /t 10
:: notification blocking
set "exe=%exe% MusNotification MusNotifyIcon" || TasksMicrosoftWindowsUpdateOrchestrator ESSENTIAL!
set "exe=%exe% UpdateNotificationMgr UNPUXLauncher UNPUXHost" || TasksMicrosoftWindowsUNP
set "exe=%exe% Windows10UpgraderApp DWTRIG20 DW20 GWX" || Windows10Upgrade
:: error reporting blocking
set "exe=%exe% wermgr WerFault WerFaultSecure DWWIN" || TasksMicrosoftWindowsWindows Error Reporting
:: diag - optional blocking of diagnostics / telemetry
rem set "exe=%exe% compattelrunner" || TasksMicrosoftWindowsApplication Experience
rem set "exe=%exe% dstokenclean appidtel" || TasksMicrosoftWindowsApplicationData
rem set "exe=%exe% wsqmcons" || TasksMicrosoftWindowsCustomer Experience Improvement Prg
rem set "exe=%exe% dusmtask" || TasksMicrosoftWindowsDUSM
rem set "exe=%exe% dmclient" || TasksMicrosoftWindowsFeedbackSiuf
rem set "exe=%exe% DataUsageLiveTileTask" || Tasks{SID}DataSenseLiveTileTask
rem set "exe=%exe% DiagnosticsHub.StandardCollector.Service" || System32DiagSvcs
rem set "exe=%exe% HxTsr" || WindowsAppsmicrosoft.windowscommunicationsapps
:: other - optional blocking of other tools
rem set "exe=%exe% PilotshubApp" || Program FilesWindowsAppsMicrosoft.WindowsFeedbackHub_
rem set "exe=%exe% SpeechModelDownload SpeechRuntime" || TasksMicrosoftWindowsSpeech Recommended
rem set "exe=%exe% LocationNotificationWindows WindowsActionDialog" || TasksMicrosoftWindowsLocation
rem set "exe=%exe% DFDWiz disksnapshot" || TasksMicrosoftWindowsDiskFootprint
::----------------------------------------------------------------------------------------------------------------------------------
:: all_entries - used to cleanup orphaned / commented entries between script versions
set e1=TiWorker UsoClient wuauclt wusa WaaSMedic SIHClient WindowsUpdateBox GetCurrentRollback WinREBootApp64 WinREBootApp32
set e2=MusNotification MusNotifyIcon UpdateNotificationMgr UNPUXLauncher UNPUXHost Windows10UpgraderApp DWTRIG20 DW20 GWX wuapihost
set e3=wermgr WerFault WerFaultSecure DWWIN compattelrunner dstokenclean appidtel wsqmcons dusmtask dmclient DataUsageLiveTileTask
set e4=DiagnosticsHub.StandardCollector.Service HxTsr PilotshubApp SpeechModelDownload SpeechRuntime LocationNotificationWindows
set e5=WindowsActionDialog DFDWiz disksnapshot TrustedInstaller
set old_entries=RAServer ClipUp Dism ShellServiceHost backgroundTaskHost
set all_entries=%e1% %e2% %e3% %e4% %e5%
:: Cleanup orphaned / commented items between script versions
echo.
for %%C in (%old_entries%) do call :cleanup_orphaned %%C silent
for %%C in (%all_entries%) do call :cleanup_orphaned %%C
echo.
:: Toggle execution via IFEO
set/a "bl=0" & set/a "unbl=0" & set "REGISTRY_MISMATCH=echo [REGISTRY MISMATCH CORRECTED] & echo."
for %%a in (%exe%) do call :ToggleExecution "%ifeo%%%a.exe"
if %bl% gtr 0 if %unbl% gtr 0 %REGISTRY_MISMATCH% & for %%a in (%exe%) do call :ToggleExecution "%ifeo%%%a.exe" forced
echo.
:: Done!
echo ---------------------------------------------------------------------
if "%STATUS%"=="DISABLED" ( color 0b &echo Update Notification now ENABLED! ) else color 0c &echo Update Notification now DISABLED
echo ---------------------------------------------------------------------
echo.
pause
exit
::----------------------------------------------------------------------------------------------------------------------------------
:: Utility functions
::----------------------------------------------------------------------------------------------------------------------------------
:check_status
set "ifeo=HKLMSoftwareMicrosoftWindows NTCurrentVersionImage File Execution Options" & set "OK="
reg query "%ifeo%MusNotification.exe" /v Debugger 1>nul 2>nul && set "STATUS=DISABLED" || set "STATUS=ENABLED!"
exit/b
:cleanup_orphaned %1:[entry to check, used internally] %2:[anytext=silent]
call set "orphaned=%%exe:%1=%%" & set "okey="%ifeo%%1.exe""
if /i "%orphaned%"=="%exe%" reg delete %okey% /v "Debugger" /f >nul 2>nul & if /i ".%2"=="." echo %1 not selected..
exit/b
:ToggleExecution %1:[regpath] %2:[optional "forced"]
set "dummy=%windir%System32systray.exe" & rem allow dummy process creation to limit errors
if "%STATUS%_%2"=="DISABLED_forced" reg delete "%~1" /v "Debugger" /f >nul 2>nul & exit/b
if "%STATUS%_%2"=="ENABLED!_forced" reg add "%~1" /v Debugger /d "%dummy%" /f >nul 2>nul & exit/b
reg query "%~1" /v Debugger 1>nul 2>nul && set "isBlocked=1" || set "isBlocked="
if defined isBlocked reg delete "%~1" /v "Debugger" /f >nul 2>nul & set/a "unbl+=1" & echo %~n1 un-blocked! & exit/b
reg add "%~1" /v Debugger /d "%dummy%" /f >nul 2>nul & set/a "bl+=1" & echo %~n1 blocked! & taskkill /IM %~n1 /t /f >nul 2>nul
exit/b
::----------------------------------------------------------------------------------------------------------------------------------
:"init" [ Batch entry function ]
::----------------------------------------------------------------------------------------------------------------------------------
@echo off & cls & setlocal & if "%1"=="init" shift &shift & goto :main &rem Admin self-restart flag found, jump to main
reg query "HKEY_USERSS-1-5-20Environment" /v temp 1>nul 2>nul && goto :main || call :about 0c & echo Requesting admin rights..
call cscript /nologo /e:JScript "%~f0" get_rights "%1" & exit
::----------------------------------------------------------------------------------------------------------------------------------
*/ // [ JScript functions ] all batch lines above are treated as a /* js comment */ in cscript
function get_rights(fn) { var console_init_shift='/c start "init" "'+fn+'"'+' init '+fn+' '+WSH.Arguments(1);
WSH.CreateObject("Shell.Application").ShellExecute('cmd.exe',console_init_shift,"","runas",1); }
if (WSH.Arguments.length>=1 && WSH.Arguments(0)=="get_rights") get_rights(WSH.ScriptFullName);
//
edited Mar 27 at 11:45
answered Mar 27 at 0:44
AveYo
9617
9617
add a comment |
add a comment |
Go to Settings and select System. On the left click on Notifications & actions.
Scroll down to the bottom of the window and click on Windows Update (should be the last one) to see other options.
Here you can disable the Windows Update notification banners. In this way notifications will only be visible in the Action Center.
4
I don't know what version of Windows 10 you're running but I do not see this at all when I go to Notifications and Actions.
– user94959
Jun 1 '17 at 9:56
add a comment |
Go to Settings and select System. On the left click on Notifications & actions.
Scroll down to the bottom of the window and click on Windows Update (should be the last one) to see other options.
Here you can disable the Windows Update notification banners. In this way notifications will only be visible in the Action Center.
4
I don't know what version of Windows 10 you're running but I do not see this at all when I go to Notifications and Actions.
– user94959
Jun 1 '17 at 9:56
add a comment |
Go to Settings and select System. On the left click on Notifications & actions.
Scroll down to the bottom of the window and click on Windows Update (should be the last one) to see other options.
Here you can disable the Windows Update notification banners. In this way notifications will only be visible in the Action Center.
Go to Settings and select System. On the left click on Notifications & actions.
Scroll down to the bottom of the window and click on Windows Update (should be the last one) to see other options.
Here you can disable the Windows Update notification banners. In this way notifications will only be visible in the Action Center.
edited Jun 1 '17 at 3:18
answered May 31 '17 at 7:40
spike_66
199115
199115
4
I don't know what version of Windows 10 you're running but I do not see this at all when I go to Notifications and Actions.
– user94959
Jun 1 '17 at 9:56
add a comment |
4
I don't know what version of Windows 10 you're running but I do not see this at all when I go to Notifications and Actions.
– user94959
Jun 1 '17 at 9:56
4
4
I don't know what version of Windows 10 you're running but I do not see this at all when I go to Notifications and Actions.
– user94959
Jun 1 '17 at 9:56
I don't know what version of Windows 10 you're running but I do not see this at all when I go to Notifications and Actions.
– user94959
Jun 1 '17 at 9:56
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1214503%2fdisable-windows-10-update-notification-osd%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown