

You’ll have to wait until just after your Windows PC has performed a major upgrade before running these commands. You can only run these commands while the OS uninstall files are on your PC. Note: If you see “Error 1168” with the message “Element not found” while running any of these commands, this indicates that you don’t have operating system rollback files on your computer. You’ll see “10” if you haven’t changed anything yet, which means you have ten days to roll back before Windows deletes the files. Run the following command to see how many days you have to roll back: DISM /Online /Get-OSUninstallWindow

To quickly open a command line as Administrator, right-click your Start button and select “Windows PowerShell (Admin).” Whichever you launch, you must open it with Administrator permissions. How to Increase Your Uninstall Windowįirst, you must open either a Command Prompt or PowerShell window. If you’re not hurting for space, there’s no downside to doing this-you’re just giving yourself more flexibility. You can still remove these files to free up space any time you like. These files will use space on your system drive for longer if you extend the window. This trick just makes Windows wait longer before deleting the files. This won’t give you additional time to roll back an upgrade if Windows has already deleted the files.
