Skip to content

Conversation

@SashankBhamidi
Copy link
Contributor

Disables Windows Backup reminder notifications that appear in the system notification area.

Changes:

  • Add DisableBackupNotifications parameter
  • Registry modification: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\Windows.SystemToast.BackupReminder
  • Sysprep version: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsBackup\DisableMonitoring
  • Included in default settings
  • Full undo support

Usage:

.\Win11Debloat.ps1 -DisableBackupNotifications

- Disables network connectivity during Modern Standby sleep mode
- Prevents battery drain caused by network activity during sleep
- Addresses GitHub issue #268
- Enables Modern Standby networking disable for Sysprep mode
- Allows enterprise deployments to include this optimization
- Applies to default user profile for new user accounts
- Restores default Windows behavior for Modern Standby networking
- Allows users to reverse the networking disable if needed
- Enables network connectivity during sleep mode
- Enables command-line usage of Modern Standby networking disable
- Maintains parameter consistency between Get.ps1 and main script
- Supports automated deployment scenarios
- Informs users that Modern Standby networking will be disabled by default
- Clarifies feature is Windows 11 specific
- Improves transparency of default mode actions
- Add DisableModernStandbyNetworking parameter and switch case
- Include Windows 11 version detection for feature availability
- Add interactive menu option with descriptive prompt
- Auto-enable in default mode for Windows 11 users
- Resolves GitHub issue #268 regarding battery drain during sleep
@SashankBhamidi
Copy link
Contributor Author

Oops.

@SashankBhamidi
Copy link
Contributor Author

Closing due to merge conflicts - will create clean implementation

@SashankBhamidi
Copy link
Contributor Author

Clean Implementation Summary

This PR adds Windows Backup notification disabling functionality. The commit history includes our previously merged Modern Standby commits due to branching from an outdated state - these can be ignored.

Actual changes for this feature:

  • DisableBackupNotifications parameter added to both scripts
  • Registry files: main, Sysprep, and undo versions
  • Integration with default settings and custom mode
  • Targets Windows.SystemToast.BackupReminder notifications

Files modified for backup notifications only:

  • Get.ps1 - line 27: parameter addition
  • Win11Debloat.ps1 - lines 29, 895, 1446, 1628-1630: parameter and functionality
  • Assets/Menus/DefaultSettings - line 5: description
  • Registry files in Regfiles/, Regfiles/Sysprep/, Regfiles/Undo/

Merge conflicts with master have been resolved. The feature is ready for review.

@SashankBhamidi
Copy link
Contributor Author

@Raphire Sorry for the confusion with the messy commit history. I forgot to pull the latest changes and created this branch from an outdated state that still contained my previous merged Modern Standby commits.

The actual backup notifications implementation is clean and follows the same patterns as the previous PR. Feature is ready for review; just ignore the duplicate commits from the earlier PR.

@Raphire
Copy link
Owner

Raphire commented Aug 20, 2025

@SashankBhamidi No wories about the extra commits, that's what you get when squashing PR's

Thanks again for working on yet another nice feature.

I am conflicted however if this is something that warrants being a separate option. I feel like it could work being a part of the catch-all Disable_Windows_Suggestions.reg. There's some overlap with some of the keys already in there.

@SashankBhamidi
Copy link
Contributor Author

SashankBhamidi commented Aug 20, 2025

Right, @Raphire. Backup notifications are essentially Microsoft suggestions, so consolidating under DisableSuggestions makes perfect UX sense.

I'll add the backup notification registry entries directly to the existing Disable_Windows_Suggestions.reg.

@SashankBhamidi
Copy link
Contributor Author

@Raphire I've implemented your suggestion to consolidate backup notifications under the existing DisableSuggestions parameter.

Changes made:

  • Added backup notification registry entries directly to Disable_Windows_Suggestions.reg files (main, Sysprep, and undo)
  • Removed DisableBackupNotifications parameter completely from both scripts
  • Deleted the separate backup notification registry files
  • Updated default settings description

Now backup notifications are automatically disabled when users choose DisableSuggestions - much cleaner UX with one less parameter. The functionality is identical but properly grouped with other Microsoft suggestions/ads.

@Raphire
Copy link
Owner

Raphire commented Aug 20, 2025

@RaphireI've implemented your suggestion to consolidate backup notifications under the existing DisableSuggestions parameter.

Changes made:

  • Added backup notification registry entries directly to Disable_Windows_Suggestions.reg files (main, Sysprep, and undo)
  • Removed DisableBackupNotifications parameter completely from both scripts
  • Deleted the separate backup notification registry files
  • Updated default settings description

Now backup notifications are automatically disabled when users choose DisableSuggestions - much cleaner UX with one less parameter. The functionality is identical but properly grouped with other Microsoft suggestions/ads.

@SashankBhamidi That was quick! Looking good, although it missing the Sysprep key from the Undo regfile.

Fix missing DisableMonitoring registry key in undo file to properly
reverse system-wide backup monitoring changes from Sysprep version.
@SashankBhamidi
Copy link
Contributor Author

@Raphire Fixed! Added the missing HKLM DisableMonitoring key to the undo registry file. Thanks for the quick review and catch on that detail.

@Raphire Raphire merged commit 98b9348 into Raphire:master Aug 20, 2025
@Raphire
Copy link
Owner

Raphire commented Aug 20, 2025

@SashankBhamidi Thanks! Merged it :)

@SashankBhamidi SashankBhamidi deleted the feature/disable-backup-notifications branch September 7, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants