Skip to content

Instantly share code, notes, and snippets.

@sharunkumar
Last active September 14, 2024 00:15
Show Gist options
  • Save sharunkumar/42af564d357ab6632e9ab71def82b9c5 to your computer and use it in GitHub Desktop.
Save sharunkumar/42af564d357ab6632e9ab71def82b9c5 to your computer and use it in GitHub Desktop.
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies" /f
reg delete "HKCU\Software\Microsoft\WindowsSelfHost" /f
reg delete "HKCU\Software\Policies" /f
reg delete "HKLM\Software\Microsoft\Policies" /f
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies" /f
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsStore\WindowsUpdate" /f
reg delete "HKLM\Software\Microsoft\WindowsSelfHost" /f
reg delete "HKLM\Software\Policies" /f
reg delete "HKLM\Software\WOW6432Node\Microsoft\Policies" /f
reg delete "HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Policies" /f
reg delete "HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\WindowsStore\WindowsUpdate" /f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment