How-to Change Rollback Days for Windows 10 Feature Upgrades
By Timothy Tibbetts |
When you install a new feature upgrade on Windows 10, the files are saved on your drive so you can rollback for any number of reasons. Initially, Microsoft kept the rollback files for ten days, but currently, they are kept for 30 days. Here's how you can change how many days these files are saved.
Open PowerShell as Admin and here are all the commands and what they do. Simply put, the first command reports back the current number of days you can rollback and the second command allows you to set the number of days you can rollback.
DISM /Online /Get-OSUninstallWindow
Run this command against an online image to see how many days after an upgrade that an uninstall can be initiated.
DISM /Online /Set-OSUninstallWindow /Value:30
30 represents the number of days that you can roll back Windows. This is what you came here for so be sure to set 30 to any number of days you like.
While we're here, Microsoft has a list of other related commands for future reference. The first command allows you to revert your PC and the second allows you to remove the ability to rollback entirely.
DISM /Online /Initiate-OSUninstall
Run this command against an online image to revert a PC to a previous Windows installation.
DISM /Online /Remove-OSUninstall
Run this command against an online image to remove the ability to roll back a PC to a previous installation of Windows.
We apologize for the lack of screenshots, but we had no rollback files saved so that we could show you this in action.
Similar:
How-To Delete Pending Windows Updates
Getting Windows Ready, Don’t Turn off Your Computer
How-To Stop Windows Updates From Downloading Drivers on Windows 10
Some Updates Were Canceled When Running Windows Update
Configure When and How Windows Updates Are Delivered
Limit the Bandwidth Windows Updates Uses in Windows 10
Windows Update Failed to Install With Error 0x80070643
Potential Windows Update Database Error Detected
Windows Update Error Code 0x8024402f in Windows 10
comments powered by Disqus
Open PowerShell as Admin and here are all the commands and what they do. Simply put, the first command reports back the current number of days you can rollback and the second command allows you to set the number of days you can rollback.
DISM /Online /Get-OSUninstallWindow
Run this command against an online image to see how many days after an upgrade that an uninstall can be initiated.
DISM /Online /Set-OSUninstallWindow /Value:30
30 represents the number of days that you can roll back Windows. This is what you came here for so be sure to set 30 to any number of days you like.
While we're here, Microsoft has a list of other related commands for future reference. The first command allows you to revert your PC and the second allows you to remove the ability to rollback entirely.
DISM /Online /Initiate-OSUninstall
Run this command against an online image to revert a PC to a previous Windows installation.
DISM /Online /Remove-OSUninstall
Run this command against an online image to remove the ability to roll back a PC to a previous installation of Windows.
We apologize for the lack of screenshots, but we had no rollback files saved so that we could show you this in action.
Similar:
How-To Delete Pending Windows Updates
Getting Windows Ready, Don’t Turn off Your Computer
How-To Stop Windows Updates From Downloading Drivers on Windows 10
Some Updates Were Canceled When Running Windows Update
Configure When and How Windows Updates Are Delivered
Limit the Bandwidth Windows Updates Uses in Windows 10
Windows Update Failed to Install With Error 0x80070643
Potential Windows Update Database Error Detected
Windows Update Error Code 0x8024402f in Windows 10
comments powered by Disqus
]