Thursday, October 11, 2012

Access Denied trying to uninstall assemblies from GAC

Some times you try to uninstall an assembly file from the GAC but you get a windows message saying access denied trying to uninstall assemblies.
gac
This is because windows server by default run all the administrators in Admin approval mode, what is the meaning of admin approval mode?
Check this link http://social.technet.microsoft.com/Forums/en-US/w7itprosecurity/thread/6fe85045-ae27-4741-9412-be283f311d24/
To fix this problem go to Control Panel ==> Administrative tools ==> Local security Policy –> local policies-> security options.
find the policy saying
User Account Control: Run all administrators in Admin Approval Mode" and change the policy from Enabled to Disabled

After you change the policy you must reboot your machine.

No comments:

Post a Comment