Tips & Troubleshooting — Security Manager

Command-Line Arguments

Launch with pre-filled connection settings:

DBLenseSecurityManager.exe -S SERVERNAME -U username -P password

DBLenseSecurityManager.exe -S SERVERNAME -E (Windows Authentication)

ArgumentDescription
-S / -ServerSQL Server instance name
-U / -UserSQL login name (switches to SQL Authentication)
-P / -PasswordSQL login password
-EUse Windows Authentication (default)

Troubleshooting

IssueSolution
Cannot see all loginsRequires VIEW SERVER STATE permission or sysadmin role
Cannot manage loginsCREATE/ALTER/DROP LOGIN operations require securityadmin or sysadmin
Failed logins not showingRequires permission to read SQL Server error log (xp_readerrorlog)
Permission changes emptyDefault trace must be enabled (it is by default). Check sp_configure 'default trace enabled'
Drift detection slowDrift compares all users and roles between two databases. Large databases with many principals may take longer.
Orphaned user count wrongThe tool checks for users where the linked SID does not match any server login SID

System Requirements

ComponentRequirement
Operating SystemWindows 10/11 or Windows Server 2016+
SQL ServerSQL Server 2016 or later
AzureAzure SQL Managed Instance
AuthenticationWindows, SQL Server, Azure Entra ID (Password & MFA)
Minimum PermissionsVIEW SERVER STATE for read-only access
Management Permissionssecurityadmin or sysadmin for login/user management