Forum Discussion
AshishChadha
May 21, 2020Copper Contributor
windows 10 upgrade
In a windows 10 OS upgrade Task Sequence, how to add a roll back to previous version step in case of failure.
See https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism-uninstallos-command-line-options#initiate-osuninstall for how to invoke an uninstall at a later time. Note that this requires the Windows.old folder to still exist; you can configure how long that folder is kept via group policy.
3 Replies
Sort By
- Michael Niehaus
Microsoft
If anything fails during the OS upgrade process, it will automatically roll back. Are you asking if there is a way to later force a rollback (e.g. you find later that the OS isn't working as desired)? If so, there is a way to do that via DISM.- AshishChadhaCopper Contributor
Michael Niehaus Yes.
- Michael Niehaus
Microsoft
See https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism-uninstallos-command-line-options#initiate-osuninstall for how to invoke an uninstall at a later time. Note that this requires the Windows.old folder to still exist; you can configure how long that folder is kept via group policy.