Merge pull request #144 from aswinfrancis91/master

Update Windows10Debloater.ps1
This commit is contained in:
Richard Newton 2019-06-09 21:32:47 -07:00 committed by GitHub
commit 1ebc0fd27b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
}
}
}
}