Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


Return to article

Access Denied: Disabling Group Policy
 

I've heard about a registry setting that local users can configure to prevent their computers from applying security settings and other restrictions that we've defined in Group Policy. Does such a setting exist? Could users use other techniques to disable Group Policy?

You're referring to a registry value that existed in a beta version of Windows 2000. The setting was a REG_DWORD value under the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System registry subkey; the value was called DisableGPO and set to 1. However, this tweak has no effect on the final release of Windows XP or Win2K. The computer always applies Group Policy whether or not this value exists.

With regard to other techniques by which users could circumvent Group Policy, no methods have been published. I've tested some likely methods, but I've never succeeded in disabling Group Policy even when using the local administrator account. For example, the most obvious possible method for disabling Group Policy is deleting the program that applies it—gpupdate.exe on XP or secedit.exe on Win2K. But deleting these files simply causes Windows File Protection (WFP) to replace them.

I've also tried to deny everyone access to these files. Doing so prevents me from refreshing Group Policy manually but doesn't stop the system from applying Group Policy, including changes made to Group Policy after I denied access to secedit.exe or gpupdate.exe. Group Policy is deeply embedded in the OS and can't easily be circumvented by users or local administrators.







Reader Comments

Since most policies are simply changes to the registry a particular policy can be overridden by changing the registry to the desired value then denying access to the key from SYSTEM. I would think the same would work for the files. Deny execute privilege for SYSTEM. But haven't tested it.

Mahoney -August 06, 2007
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement