Created
          March 24, 2022 07:17 
        
      - 
      
 - 
        
Save ilovefreesw/86852bf0b2835d5956d2a9b7b9f784a3 to your computer and use it in GitHub Desktop.  
    A batch script for Windows to Fix "Some settings are managed by your organization". Works on Windows 10 and Windows 11.
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 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 | 
You're welcome....
Run as administrator. Right click on the .bat file and choose Run as administrator. Or, you can copy paste this command in Windows terminal as well. Press Win + X and choose Terminal (Admin) option.
Thanks dude.
Thanks
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
This's help me a lots. Thanks