Windows 10: Set Number of Days can Go Back to Previous Version of Windows  

    Set Number of Days can Go Back to Previous Version of Windows

    Set Number of Days can Go Back to Previous Version of Windows

    How to Set Number of Days can Go Back to Previous Version of Windows in Windows 10
    Published by Category: Installation & Upgrade
    25 Jun 2018
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 32,399

    Show Printable Version 


    How to Set Number of Days can Go Back to Previous Version of Windows in Windows 10


    When you upgrade to Windows 10 or update to a new version or build of Windows 10 (ex: Windows Update), a copy of the previous installation is saved to the Windows.old folder in the root directory of the Windows 10 drive as a backup. This backup will allow you to be able to go back to the previous version of Windows for up to a 10 days after upgrading to Windows 10 if you should want or need to.

    Starting with the Windows 10 April 2018 Update v1803, new DISM commands have been added to:
    • Find out how many days after an upgrade that an OS can be uninstalled (go back to the previous version)
    • Initiate an uninstall (go back to the previous version)
    • Remove the ability for a user to uninstall a Windows upgrade (go back to the previous version)
    • Set the number of days that a user has to uninstall a Windows upgrade (go back to the previous version)

    This tutorial will show you how to see and set the number of days after an upgrade you are still able to go back to a previous version of Windows in Windows 10.

    You must be signed in as an administrator to set the number of days.

    Note   Note
    Note that these DISM commands are only available while you can still go back to a previous version of Windows.

    If either of the following are true, then DISM will report Error 1168, Element not found. This error message indicates that the previous version has been deleted, and there's currently not a previous version to go back to.
    • Windows has removed the previous version automatically after 10 days
    • The previous version has been removed using Disk Cleanup

     CONTENTS:

    • Option One: See Current Number of Days after an Upgrade You Can Go back to Previous Version of Windows
    • Option Two: Set Number of Days after an Upgrade You Can Go back to Previous Version of Windows
    • Option Three: Remove Ability to Go back to Previous Version of Windows


    EXAMPLE: "Go back to the previous version of Windows 10" after set number of days have expired
    Name:  Recovery_Settings.jpg
Views: 543
Size:  72.5 KB






    Set Number of Days can Go Back to Previous Version of Windows OPTION ONE Set Number of Days can Go Back to Previous Version of Windows
    See Current Number of Days after an Upgrade You Can Go back to Previous Version of Windows

    1. Open an elevated command prompt.

    2. Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below)

    DISM /Online /Get-OSUninstallWindow

    3. You will now see the number of days (ex: "10") currently set after an upgrade to be able to go back to a previous version of Windows. You can now close the elevated command prompt if you like.

    Name:  Get-OSUninstallWindow.png
Views: 624
Size:  20.2 KB






    Set Number of Days can Go Back to Previous Version of Windows OPTION TWO Set Number of Days can Go Back to Previous Version of Windows
    Set Number of Days after an Upgrade You Can Go back to Previous Version of Windows

    1. Open an elevated command prompt.

    2. Type the command below into the elevated command prompt, and press Enter. (see screenshot below)

    DISM /Online /Set-OSUninstallWindow /Value:<days>

    Substitute <days> in the command above with the actual number (2 to 60) of days you want. The default is 10 days.

    For example: DISM /Online /Set-OSUninstallWindow /Value:30

    3. You can now close the elevated command prompt if you like.

    Name:  Set-OSUninstallWindow.png
Views: 613
Size:  19.7 KB






    Set Number of Days can Go Back to Previous Version of Windows OPTION THREE Set Number of Days can Go Back to Previous Version of Windows
    Remove Ability to Go back to Previous Version of Windows


    This option will remove the ability to go back to the previous version of Windows on your PC.

    You will be able to go back to a previous version of Windows again after the next time you update Windows 10 to a new version or build via Windows Update.

    This will not delete the Windows.old folder or its content.

    1. Open an elevated command prompt.

    2. Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below)

    DISM /Online /Remove-OSUninstall

    3. You will now no longer be able to go back to the previous version of Windows on this PC. You can now close the elevated command prompt if you like.

    Name:  Remove-OSUninstall.png
Views: 536
Size:  12.9 KB


    That's it,
    Shawn





  1. Bree's Avatar
    Posts : 8,639
    10 Home x64 (1803) (10 Pro on 2nd pc)
       25 Jun 2018 #1

    Note that these DISM commands are only available while you can still go back to a previous version of Windows

    If either of the following are true:


    then DISM will report Error 1168, Element not found.

    Name:  Dism GetOSUninstallWindow - element not found.PNG
Views: 386
Size:  15.0 KB
      My ComputersSystem Spec

  2. Brink's Avatar
    Posts : 32,399
    64-bit Windows 10 Pro build 18242
    Thread Starter
       25 Jun 2018 #2

    Thank you Bree. I added a note at the top of the tutorial for this.
      My ComputersSystem Spec

  3.    4 Weeks Ago #3

    Brink, I did not know this totorial was here, did not show up in "search", please take a look at this: Extend rollback time
      My ComputerSystem Spec


 

Tutorial Categories

Set Number of Days can Go Back to Previous Version of Windows Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Xbox Windows Phone


Related Threads
Hi folks In the race to "simplify things" - newer versions always seem to get worse - and the new SKYPE for Windows is horrible -- why do new developers hate menus -- loads of us are still using "Old fashioned computers" with nice large screens...
How to Roll Back a Device Driver to a Previous Version in Windows 10 A newer version of a device driver often adds functionality and fixes problems that were discovered in earlier versions. If the device fails or has issues after updating the...
My laptop is a Dell Inspiron 7447 and its integrated GPU is Intel HD Graphics 4600. When I download the latest driver online and install it, it works. However, a few hours later, after booting up my system, I see that the driver has downgraded to...
going back to a previous version of windows in Installation and Upgrade
I'm thinking of going back to a previous version of windows right before the creators update (i think its the same as 1703). I don't like all the changes it caused, mainly not being able to rearrange my files the way i want to, that's a must have...
Hi, some machine in my domains, upgraded to Windows 10, lost correct date and roll back to an old date. They have as time source the domain controller, that sync with external ntp. I see event id and i found a kernel-general id 1.
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 16:43.
Find Us