SharePoint Troubleshooting: Product Configuration Wizard Error - Configuration Failed with Unauthorized Access Exception
If you are going to deploy SharePoint 2016, this is a common error that encountered.
https://manojviduranga.files.wordpress.com/2017/01/clip_image0014_thumb.png?w=622&h=535
The error pretty much pointing to a Access permission which we might doubtlessly think its database permission but no it’s not !
https://manojviduranga.files.wordpress.com/2017/01/clip_image0024_thumb.png?w=580&h=525
If you expand the event log, It will have 100, 104 errors logged due to this.
https://manojviduranga.files.wordpress.com/2017/01/clip_image0034_thumb.png?w=606&h=553
Resolution is to permit setup account to access Tasks folder (C:\Windows\Task). This is a critical folder which needs to be able to access by the setup account during the Product Configuration.
To take the ownership of this folder, log in to relevant SharePoint server using a local admin account and right click on the Tasks folder.
https://manojviduranga.files.wordpress.com/2017/01/clip_image0044_thumb.png?w=332&h=178
Under Security tab, go to Advance
https://manojviduranga.files.wordpress.com/2017/01/clip_image0054_thumb.png?w=368&h=478
Change the Owner from SYSTEM to our Setup account (the account will be used to run Product Config Wizard)
https://manojviduranga.files.wordpress.com/2017/01/clip_image0064_thumb.png?w=771&h=519
Once changed, the new owner can be seen as showed below.
https://manojviduranga.files.wordpress.com/2017/01/error-spsetup_thumb.jpg?w=774&h=518
Repeat the same for all SharePoint Servers in our farm if planned to have multiple. Now run the Product Configuration Wizard again and we will notice its smoothly passing to task 5. within few minutes, the Wizard will be successfully complete.
https://manojviduranga.files.wordpress.com/2017/01/clip_image0084_thumb.png?w=533&h=464
And here comes the winning moment !
https://manojviduranga.files.wordpress.com/2017/01/image_thumb.png?w=538&h=468
If you are still accounting with any additional errors in the Wizard, these points are some basic ones to verify.
Ensure:
- Antivirus Disabled for all SharePoint and Database Servers (If any)
- Firewall
- Named Pipes in SQL Services enabled (Sometimes this isn’t enabled by default)
And then:
- Disable UAC (Never Notify)
- Restart Server
- Run the Product Config Wizard again as Administrator