DISM – Windows 10, version 1803 IT Pro
New DISM commands to manage feature updates:
DISM /Online /Initiate-OSUninstall – Initiates a OS uninstall to take the computer back to the previous installation of windows. DISM /Online /Remove-OSUninstall – Removes the OS uninstall capability from the computer. DISM /Online /Get-OSUninstallWindow – Displays the number of days after upgrade during which uninstall can be performed. DISM /Online /Set-OSUninstallWindow – Sets the number of days after upgrade during which uninstall can be performed.
/Get-OSUninstallWindow Run this command against an online image to see how many days after an upgrade that an uninstall can be initiated.
Syntax: DISM /Online /Get-OSUninstallWindow
/Initiate-OSUninstall Run this command against an online image to revert a PC to a previous Windows installation.
Syntax: DISM /Online /Initiate-OSUninstall
/Remove-OSUninstall Run this command against an online image to remove the ability to roll back a PC to a previous installation of Windows.
Syntax: DISM /Online /Remove-OSUninstall
/Set-OSUninstallWindow Run this command against an online image to set the number of days after an upgrade that an uninstall can be initiated.
Syntax: DISM /Online /Set-OSUninstallWindow /Value:
Example: DISM /Online /Set-OSUninstallWindow /Value:30