Menu
CCMEXEC.COM – Enterprise Mobility
  • General
  • Configuration Manager
  • Windows 10
  • Windows 11
  • Intune
  • GitHub
  • About
CCMEXEC.COM – Enterprise Mobility

Windows Backup for Organization – trigger backup using remediation

Posted on March 12, 2026March 13, 2026 by Jörgen Nilsson

Windows Backup for Organizations is one of my favourite new features as it saves time for the end-users setting up their device after a restore or when they switch computer. For the end-user this is great and together with Onedrive known folder move and Enterprise State roaming the experience is great.

With first sign in support released it works in more scenarios, Windows 365 for example but also together with the newly re-released feature to install Quality Updates during OOBE in Windows it solves any reset done using an “older” Windows version that doesn’t support Windows Backup for Organizations. Example:
– Wipe device
– Older Windows 11 comes down from vendors restore service
– Restore Settings during autopilot is skipped as it is an old version
– Quality updates are installed during Autopilot process
– During first sign in the end-user is asked to restore settings.

Great that this scenario is covered as well.
Now to what I was supposed to write 😉 Windows backup for organizations uses as Schedule task to perform the backup every 8 days.
As it is a schedule task, we can simply trigger that task using a remediation script from Intune to make sure we have an up-to-date backup before wiping a user’s device.
If we compare to only using Enterprise State Roaming, which we still can use to backup some settings as a compliment to Windows Backup for Organizations, we cannot backup up the installed store applications, as it requires a Microsoft Account if we don’t use Windows Backup for Organizations.

The schedule task we want to trigger, we can also see that the 8 days interval is correct.

Remediation script

As with all remediation script we should use scope tags to make sure ServiceDesk and other admins we have in Intune only can run the remediations we want them to run.

The script itself can also be downloaded from Github: https://github.com/Ccmexec/Remediation-Scripts

Detection script:

<#
Version: 1.0
Author: Jorgen Nilsson (ccmexec.com)
Script: WindowsBackup-Detect.ps1
Description: Run Windows Backup
Hint: This is a community script. There is no guarantee for this. Please check thoroughly before running.
Version 1.0: Init
Run as: Admin
Context: 64 Bit
#> 

# Always trigger
Write-output "Script will always be triggered"
exit 1

Remediation script:

<#
Version: 1.0
Author: Jorgen Nilsson (ccmexec.com)
Script: WindowsBackup-Remediate.ps1
Description: Initiate a Windows Backup
Hint: This is a community script. There is no guarantee for this. Please check thoroughly before running.
Version 1.0: 
Run as: User
Context: 64 Bit
#> 

$tasks = @(
    @{ Path = '\Microsoft\Windows\CloudRestore\' ; Name = 'backup' }
)

foreach ($t in $tasks) {
    try {
        $task = Get-ScheduledTask -TaskPath $t.Path -TaskName $t.Name -ErrorAction Stop
        if ($task.State -ne 'Running') {
            Start-ScheduledTask -TaskPath $t.Path -TaskName $t.Name -ErrorAction Stop
            Write-Output "Started task '$($t.Path)$($t.Name)'."
        } else {
            Write-Output "Task '$($t.Path)$($t.Name)' is already running."
        }
    } catch {
        Write-Output "Failed to start task '$($t.Path)$($t.Name)': $($_.Exception.Message)"
        exit 1
    }
}

Maybe not the most important thing to do before wiping a users device but it could turn out to be useful.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

My name is Jörgen Nilsson and I work as a Senior Consultant at Onevinn in Malmö, Sweden. This is my blog where I will share tips and stuff for my own and everyone elses use on Enterprise Mobility and Windows related topics.
All code is provided "AS-IS" with no warranties.

Recent Posts

  • Windows Backup for Organization – trigger backup using remediation
  • Creating better Driver update groups
  • Windows 11 initial Start Menu with Intune
  • Application Control for Business and the story of the unsigned WIX dll’s
  • MMUGSE – Meetup October 24 2026
©2026 CCMEXEC.COM – Enterprise Mobility | WordPress Theme by Superb Themes
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Reject Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT