{"id":27689546,"url":"https://github.com/d3bvstack/disable-monotification-wake","last_synced_at":"2025-04-25T10:18:14.975Z","repository":{"id":288919311,"uuid":"969554286","full_name":"d3bvstack/Disable-MoNotification-Wake","owner":"d3bvstack","description":"A batch script that disables MoNotificationUx wake up computer tasks.","archived":false,"fork":false,"pushed_at":"2025-04-20T12:31:35.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-25T10:18:10.910Z","etag":null,"topics":["batch-scripting","batchfile","task-management","w11","windows-11"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d3bvstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-20T12:18:41.000Z","updated_at":"2025-04-20T12:34:14.000Z","dependencies_parsed_at":"2025-04-22T01:16:17.355Z","dependency_job_id":null,"html_url":"https://github.com/d3bvstack/Disable-MoNotification-Wake","commit_stats":null,"previous_names":["d3bvstack/w11-monotificationux-disable","d3bvstack/w11-monotificationux-nowakeup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3bvstack%2FDisable-MoNotification-Wake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3bvstack%2FDisable-MoNotification-Wake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3bvstack%2FDisable-MoNotification-Wake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3bvstack%2FDisable-MoNotification-Wake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d3bvstack","download_url":"https://codeload.github.com/d3bvstack/Disable-MoNotification-Wake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250796362,"owners_count":21488713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["batch-scripting","batchfile","task-management","w11","windows-11"],"created_at":"2025-04-25T10:18:14.278Z","updated_at":"2025-04-25T10:18:14.966Z","avatar_url":"https://github.com/d3bvstack.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DisableMoNotificationWake.bat\n\n## Overview\n`DisableMoNotificationWake.bat` is a Windows batch script designed to prevent the MoNotificationUx.exe process from waking your computer from sleep or standby. This is particularly useful if you've noticed your computer waking up unexpectedly and identified MoNotificationUx.exe (Microsoft's notification service) as the cause.\n\n## Requirements\n- Windows 10 or Windows 11 operating system\n- Administrator privileges\n- Basic understanding of running batch files\n\n## Installation\n1. Download the `DisableMoNotificationWake.bat` file\n2. Save it to a location of your choice on your computer\n3. No additional installation steps are required\n\n## Usage\n1. Right-click on `DisableMoNotificationWake.bat`\n2. Select \"Run as administrator\"\n3. Follow any prompts that appear in the command window\n4. Restart your computer after running the script for all changes to take effect\n\n## What This Script Does\nThe script performs the following actions to prevent MoNotificationUx.exe from waking your computer:\n\n- Checks and displays current wake sources for verification\n- Searches for and disables Microsoft Office notification-related scheduled tasks\n- Disables notification wake capabilities in Windows settings\n- Turns off all wake timers in power settings\n- Disables Windows Update tasks that might wake the system\n- Modifies registry settings to prevent notifications from waking the device\n\n## Detailed Operations\n```batch\n# Disables Office-related scheduled tasks\nschtasks /Change /TN \"\\Microsoft\\Office\\Office Automatic Updates 2.0\" /DISABLE\nschtasks /Change /TN \"\\Microsoft\\Office\\Office Subscription Maintenance\" /DISABLE\n\n# Disables wake timers in power settings\npowercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_SLEEP RTCWAKE 0\npowercfg /SETDCVALUEINDEX SCHEME_CURRENT SUB_SLEEP RTCWAKE 0\n\n# Disables Windows Update tasks that might wake the system\nschtasks /Change /TN \"\\Microsoft\\Windows\\UpdateOrchestrator\\Reboot\" /DISABLE\nschtasks /Change /TN \"\\Microsoft\\Windows\\UpdateOrchestrator\\Schedule Scan\" /DISABLE\nschtasks /Change /TN \"\\Microsoft\\Windows\\WindowsUpdate\\Scheduled Start\" /DISABLE\n\n# Modifies registry settings to prevent notifications from waking the device\nreg add \"HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Notifications\\Settings\" /v \"NOC_GLOBAL_SETTING_ALLOW_WAKE_TO_TOAST\" /t REG_DWORD /d 0 /f\nreg add \"HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Notifications\\Settings\" /v \"NOC_GLOBAL_SETTING_ALLOW_WAKE_TO_CRITICAL_TOAST\" /t REG_DWORD /d 0 /f\n```\n\n## Troubleshooting\nIf your computer continues to wake unexpectedly after running this script:\n\n1. Use `powercfg /lastwake` in Command Prompt to identify what's waking your computer\n2. Check Device Manager for devices that might be configured to wake the system:\n   - Open Device Manager\n   - For each device (especially network adapters and input devices):\n     - Right-click → Properties → Power Management\n     - Uncheck \"Allow this device to wake the computer\"\n\n## Reverting Changes\nIf you need to restore notification wake functionality:\n\n1. Re-enable the scheduled tasks that were disabled:\n```batch\nschtasks /Change /TN \"\\Microsoft\\Office\\Office Automatic Updates 2.0\" /ENABLE\nschtasks /Change /TN \"\\Microsoft\\Office\\Office Subscription Maintenance\" /ENABLE\nschtasks /Change /TN \"\\Microsoft\\Windows\\UpdateOrchestrator\\Reboot\" /ENABLE\nschtasks /Change /TN \"\\Microsoft\\Windows\\UpdateOrchestrator\\Schedule Scan\" /ENABLE\nschtasks /Change /TN \"\\Microsoft\\Windows\\WindowsUpdate\\Scheduled Start\" /ENABLE\n```\n\n2. Re-enable wake timers in power settings:\n```batch\npowercfg /SETACVALUEINDEX SCHEME_CURRENT SUB_SLEEP RTCWAKE 1\npowercfg /SETDCVALUEINDEX SCHEME_CURRENT SUB_SLEEP RTCWAKE 1\n```\n\n3. Restore registry settings:\n```batch\nreg add \"HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Notifications\\Settings\" /v \"NOC_GLOBAL_SETTING_ALLOW_WAKE_TO_TOAST\" /t REG_DWORD /d 1 /f\nreg add \"HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Notifications\\Settings\" /v \"NOC_GLOBAL_SETTING_ALLOW_WAKE_TO_CRITICAL_TOAST\" /t REG_DWORD /d 1 /f\n```\n\n## Important Notes\n- This script modifies system settings. Only run it if you understand its purpose.\n- Some critical notifications might not wake your computer after running this script.\n- Microsoft Office updates may be delayed if related tasks are disabled.\n- Some Windows Update functionality may be affected.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd3bvstack%2Fdisable-monotification-wake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd3bvstack%2Fdisable-monotification-wake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd3bvstack%2Fdisable-monotification-wake/lists"}