If you have recently upgraded to Windows 11 or installed a feature update of Windows 11 or if you have enrolled in Windows 11 insider program and recently installed the latest insider build. You always have the option to go back to the previous version of Windows in Windows 11 for 10 days.
When you install the latest version of Windows, the copy of the earlier version of Windows is stored in the ‘Windows.old’ folder in the Windows installation drive. With the help of this backup, you can go back to the previous version installed on your Windows 11 PC.
Unfortunately, the option is valid for 10 days and after that time period, the backup is deleted automatically and you won’t be able to roll back to the previous version of windows in Windows 11.
Set Number Of Days To Go Back To Previous Version of Windows in Windows 11
In case, you’re the one for whom 10 days is not enough, then the good thing is that it is possible for you to manually set and extend a number of days to go back to the previous version of windows, and in this blog post, we will share how to do that in Windows 11.
Before that, let’s first learn how to check the number of days remaining out of 10 to go back to the previous version of Windows in Windows 11
For that, press the Windows + X key combo, and then from the menu that opens up select Windows Terminal (Admin).
When given the UAC, click on Yes to continue ahead.
In the Windows Terminal, either open Command Prompt and Windows Powershell and execute the command: DISM /Online /Get-OSUninstallWindow
After you execute the program, you will see the number of days remaining next to the Uninstall Window option.
I have recently installed the latest update for Windows 11 and that’s why it’s showing 10 days, it could be any number between 0-10 in your case.
In case, you see “Error: 1168 with message Element not found“, then this means that the copy of the earlier version of Windows was installed in the ‘Windows.old’ folder in Windows 11 has been deleted, and you can’t go back to the previous version.
Now that, you have checked how many days are remaining to roll back, let’s learn how to set or change the number of days to go back to the previous version of Windows in Windows 11.
Before you continue, keep this in mind: You can only set the number of days to go back to the previous version of the backup is stored by Windows 11. If you get the Error: 1168 then you won’t be able to set the number of days.
For that, press the Windows + X key combo, and then from the menu that opens up select Windows Terminal (Admin).
When given the UAC, click on Yes to continue ahead.
In the Windows Terminal, either open Command Prompt and Windows Powershell and execute the command: DISM /Online /Set-OSUninstallWindow /Value:<days>
Here, replace <days> with the number of days (between 2 to 60) you want to extend rollback. For instance, let’s go for the maximum number i.e. 60 days, then the command will be: DISM /Online /Set-OSUninstallWindow /Value:60
If everything goes well, you will get a message “The operation completed successfully“. You can follow the steps discussed above in the post to check the remaining days for rollback.
In case, when following any of the methods discussed above you’re receiving an Error: 87 with the message “The get-osuninstallwindow option is unknown.”, then it is possible that you’re copy-pasting a command directly or there’s some typo.
To fix this error, try to manually type the command and this should execute the command correctly and display the desired confirmation.
I hope this helps, thanks for reading.
Please do not hesitate to contact us if you want assistance with Windows or its solutions. Our team is always here to help you. (Mention 'Tech Support' in Email Body)