Windows Authentication
Summary of setup:
- Create Windows Account (in AD or on local machine)
- Create New Database in SQL Server
- Set up ownership for Windows Authentication on new Database
- Confirm you can log in with SQL Server Management Studio as Windows Credential
IIS Settings
The application pool need to authenticate and run as the user that has access to the database. This setting is available in the Advanced Settings of the Application pool in IIS.
Loading Database Schema
The SmartcryptDB.exe utility needs to be executed by the account that has access to the database server. The SmartcryptDB.exe utility can be “Run As” any user by holding <Shift> and Right Clicking in Windows Explorer.

Then logging in as the actual Windows account defined in SQL Server to have access
Sample Connection String in Web.config
DBSERVER = Name of the database server – example: qadbserv.domain.com
DBNAME = Name of the Database created in the server - example: smartcrypt