Windows Rollback Timer
This commit is contained in:
1 parent
d23582262d
commit
329b96e4c7
1 file changed
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"PlugID": "Windows Rollback Timer",
|
||||
"PlugInfo": "This plugin checks and sets the uninstall window for reverting to a previous Windows version after an upgrade. The time frame can be configured up to 60 days. After a Windows upgrade (e.g., via Windows Update to version 1803), a copy of the previous Windows version is stored in the 'Windows.old' folder. This allows users to return to the prior version through the 'Recovery' option under 'Update & Security' in Windows Settings. By default, this rollback option is available for only 10 days, provided the 'Windows.old' folder hasn’t been deleted. However, this time frame can be extended up to 60 days using this plugin. \n\n**Error Handling**: If 'Error 1168' appears when attempting to set the rollback period, this indicates that the 'Windows.old' folder has been deleted, making a rollback impossible.",
|
||||
"PlugCheck": [],
|
||||
"PlugCategory": "System (Plugins)",
|
||||
"PlugDo": [
|
||||
"cmd.exe /c DISM /Online /Get-OSUninstallWindow",
|
||||
"cmd.exe /c DISM /Online /Set-OSUninstallWindow /Value:60"
|
||||
],
|
||||
"PlugUndo": [
|
||||
"powershell -Command \"Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.MessageBox]::Show('No undo is available for this rollback time setting. To change it, please use DISM with a new value.', 'Info', [System.Windows.Forms.MessageBoxButtons]::OK, [System.Windows.Forms.MessageBoxIcon]::Information)\""
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user