Group Policy Credentials When Running Scripts - Connect to SQL DB
Posted on 2011-10-17
I'm building a VBScript that will be pushed out via Group Policy. This script connects to a MS SQL Server and does some pretty great stuff. As you can expect, our SQL Server is locked down pretty tight.
I need to add a logon to SQL Server for Group Policy to be able to connect and have "db_datareader".
When GP is processed, which account does it use on connecting to shares? "NT AUTHORITY\Network Service" - I'd imagine, but I need to be sure.
Any tips you guys have on this would be greatly appreciated.