mirror of
https://github.com/builtbybel/BloatyNosy.git
synced 2025-02-03 03:19:14 +01:00
Add files via upload
This commit is contained in:
parent
e604c026d6
commit
b9e83e40c8
12
plugins/Windows Old Remover.json
Normal file
12
plugins/Windows Old Remover.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"PlugID": "Windows Old Remover",
|
||||
"PlugInfo": "The Windows Old Remover plugin allows users to easily remove the 'Windows.old' folder, which contains files from a previous Windows installation. After upgrading to a new version of Windows, the 'Windows.old' folder may occupy significant disk space. This plugin utilizes the DISM command to safely delete this folder, freeing up valuable storage on your system. Please note that once this folder is deleted, you will no longer be able to revert to the previous Windows version through the Recovery options.\n\n**Error Handling**: If you encounter 'Error 1168' during the removal process, it means the 'Windows.old' folder has already been deleted or is not available for rollback. Ensure you have backups before proceeding!",
|
||||
"PlugCheck": [],
|
||||
"PlugCategory": "System (Plugins)",
|
||||
"PlugDo": [
|
||||
"cmd.exe /c DISM /Online /Remove-OSUninstall"
|
||||
],
|
||||
"PlugUndo": [
|
||||
"powershell -Command \"Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.MessageBox]::Show('No undo is available for this deletion. To restore files, use a backup solution.', 'Info', [System.Windows.Forms.MessageBoxButtons]::OK, [System.Windows.Forms.MessageBoxIcon]::Warning)\""
|
||||
]
|
||||
}
|
13
plugins/Windows Rollback Timer.json
Normal file
13
plugins/Windows Rollback Timer.json
Normal file
@ -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)\""
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user