This project has moved and is read-only. For the latest updates, please go here.


FineBuild execution through software distributions tools.



Is it possible to execute the finebuild scripts using an agent which runs under the System Account? I get error messages such as below:

SqlConfigBuild.vbs(4035, 7) : ERROR: SQL FineBuild must be run using Administrator priviliges

I made a RunAs wrapper to execute SQLFineBuild.bat with the local Administrator account but then it fails with a different error:

SqlConfigBuild.vbs(489, 3) WshShell.RegRead: Unable to open registry key "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Desktop" for reading.

If I logon to the server and run the FineBuild script while logged on with an Administrator account, the installation succeeds.

Is there a way to force the installation to run under the system account?

Thank you.
Closed Aug 27, 2016 at 2:55 PM by EdVassie
Fixed in SQL FineBuild v3.3.0


EdVassie wrote Feb 8, 2016 at 1:02 PM

Potential fixes coded in SqlConfigBuild but not yet tested.

EdVassie wrote Mar 7, 2016 at 10:09 PM

Confirmed now working for all OS and SQL versions. To be included in next FineBuild release

EdVassie wrote Mar 7, 2016 at 10:11 PM

Tested using 'PSEXEC -i -s -d CMD' to open CMD window using Local System authority. FineBuild run as normal from this CMD window, it can now identify Local System authority and run without error.

EdVassie wrote Aug 27, 2016 at 2:54 PM

This issue is fixed in FineBuild v3.3.0

wrote Aug 27, 2016 at 2:55 PM