Tuesday, March 16, 2010

SharePoint 2010 vs UAC

Greetings Kode Katz

Why do I get ACCESS DENIED errors when trying to run STSADM on a SharePoint 2010 installation?

The answer is a simple one: you have been punked by the UAC!

To enable access for this, you will want to do the following:
- verify you are logged in as an adminstrator on the box
- verify the local security policy:
- run "secpol.msc" from the Start-> Run
- drill down to "Local Policies" -> "Security Options"
- locate the setting "User Account Control: Behavior of the elevation prompt for administrators..."
- change this setting to "Elevate without prompting"
- reboot your server machine
- after reboot, when launching the CMD prompt, select the "Run as Administrator" option

You should now have the successful and healthy STSADM syntax shpeel dumped gracefully in your command window!

::zackcat::

No comments:

Post a Comment