Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
On a SharePoint 2010 development server running Windows Server 2008 R2, I had to uninstall some assemblies in the GAC and I kept getting access denied, when trying to delete them. This was the case both using gacutil.exe and the Windows Explorer when running in Administrative mode.
So, looking for at a way to do this, I had to change a Local Security Policy, in order to allow them to be deleted:
* Open Local Security Policy MMC
* Goto Security Settings -> Local Policies -> Security Options
* Locate "User Account Control: Run all administrators in Admin Approval" and change the setting from Enabled to Disabled
* Reboot and now the assemblies can be deleted
IMPORTANT! Never ever do this on a production system, and always turn it back on afterwards.
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in