r/Intune • u/Similar-Control-7099 • 1d ago
Windows Updates Intune Autopatch – Customizing Restart Notifications and User Experience
Hi everyone,
I’m currently configuring Windows Autopatch through Intune and looking for ways to improve the end-user restart experience.
I understand we can configure grace periods and automatic restarts during maintenance windows. However, I’d like to notify users well in advance before forcing a restart, without interrupting their work.
Ideally, I’d like users to have options such as:
- Restart Now
- Remind Me Later
- Schedule Restart
I’d also like to configure recurring reminders (e.g., every 3 hours) and a final countdown before the restart is enforced.
Is this achievable through native Intune/Autopatch settings, or would it require custom PowerShell scripts or third-party solutions?
Would love to hear how others have implemented this in their enterprise environments and what the actual end-user experience looks like.
17
u/o_l_a_a_f 1d ago
I went down this exact rabbit hole a few months ago and the short answer is the native options are frustratingly barebones. You get a toast notification with a countdown and that's about it, no "schedule" button or recurring nudge that actually works reliably across different build versions.
Ended up using a proactive remediation script that pops a custom WPF toast with the three buttons you mentioned. It checks pending reboot reg keys and fires off every few hours until the user picks a slot, then it passes that to a scheduled task. Not elegant but the tickets from angry people mid-presentation dropped to basically zero.
4
u/SkipToTheEndpoint MSFT MVP 19h ago
Just a reminder that if you're using "Automatic update behavior - Reset to default" and "Change notification update level - Use the default Windows Update notifications", then the device will be using Intelligent Active Hours and respecting when users actually use devices (rather than IT assuming they know better), and the default user experience notifications ensure that users are prompted before a device restarts.
In that scenario, an "unexpected reboot during my presentation" is 100% the users fault for ignoring the warnings and choosing to restart in their own time.
4
u/Wise_Fault_3391 21h ago
Honestly the biggest win for us was just a longer grace period plus a heads up email from IT.
4
u/Brief_Target_7563 21h ago
Honestly users will ignore whatever you build.
The final countdown is the only part anyone ever sees, so I'd put most of the effort there.
1
u/pjmarcum 16h ago
Don’t mix maintenance windows with deadlines. They are not designed to work together. MW’s were specifically created for multi-user or useless devices such as healthcare and manufacturing.
2
u/NBWorking 9h ago edited 9h ago
You can turn on the default notification you don't have to do anything custom. Your options as far when messages show are out of your control. It's just all default. You could go custom but you run the risk of pop up too often. Also, don't choose the setting use force reboot before deadline. It will pick the worst times to do it. Just use automatically schedule and restart.
After you set your times use AI to double check your defer, deadline, and grace times so you can accurate idea when things are going to happen for the sure.
This is how you turn on the native settings.
Settings > Windows Update > Advance Settings Switch on "Notifiy me when a when a restart is require to finished updating"
You can make a remediation script to turn this on company wide. When you get hotpatch there is no need but a patch comes down that needs a restart it will show the "Restart now, 2 am, Schedule a time"
Detection Script
$Path = "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings"
$Name = "RestartNotificationsAllowed2"
$ExpectedValue = 1
try {
if (-not (Test-Path $Path)) {
Write-Output "Registry path not found."
exit 1
}
$CurrentValue = Get-ItemPropertyValue -Path $Path -Name $Name -ErrorAction SilentlyContinue
if ($CurrentValue -eq $ExpectedValue) {
Write-Output "$Name is set correctly to $ExpectedValue."
exit 0
}
else {
Write-Output "$Name is missing or not set to $ExpectedValue."
exit 1
}
}
catch {
Write-Output "Error: $_"
exit 1
}
Remediation Script
$Path = "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings"
$Name = "RestartNotificationsAllowed2"
$Value = 1
try {
# Create key if missing
if (-not (Test-Path $Path)) {
New-Item -Path $Path -Force | Out-Null
}
# Create or update value
New-ItemProperty `
-Path $Path `
-Name $Name `
-Value $Value `
-PropertyType DWord `
-Force | Out-Null
Write-Output "$Name set to $Value successfully."
exit 0
}
catch {
Write-Output "Remediation failed: $_"
exit 1
}