Back to Basics – Changing the 10-Day Limit of Windows 10 and Windows 11 Rollback During OSD

Recent versions of Windows 10, and Windows 11, have a default 10-day Limit to go back to previous version of Windows after an upgrade (stored in the Windows.old folder). The setting can be confirmed by running a simple dism command:

Dism.exe /Online /Get-OSUninstallWindow
Getting the current rollback value

Extend the 10-Day Limit

Changing the setting can also be done with dism, the command line switch for that is /Set-OSUninstallWindow and then you provide a value via the /Value switch. Here is an example that changes the rollback time to 20 days:

Dism.exe /Online /Set-OSUninstallWindow /Value:20
Setting and Verifying the rollback value

Adding this to your upgrade Task Sequence

Here is an example task sequence configured to allow rollback for 20 days, the command added after the upgrade was completed, meaning in the Post-Processing group.

About the author

Johan Arwidmark

5 1 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

>