Update Windows10Debloater.ps1

Fixed issue where revert wouldnt work
This commit is contained in:
Aswin Francis 2019-06-09 11:37:54 +05:30
parent 2778bd51c0
commit b27e70c19b

View File

@ -868,9 +868,7 @@ Switch ($Prompt1) {
}
}
}
}
No {
No {
Write-Host "Reverting changes..."
Write-Host "Creating PSDrive 'HKCR' (HKEY_CLASSES_ROOT). This will be used for the duration of the script as it is necessary for the modification of specific registry keys."
New-PSDrive HKCR -PSProvider Registry -Root HKEY_CLASSES_ROOT
@ -908,4 +906,7 @@ No {
Exit
}
}
}
}