Quantcast
Viewing all articles
Browse latest Browse all 25

Script : Disable all non sysadmin logins

Hello Reader, I am sharing a quick script to disable all non sysadmin logins for SQL Server. You can not disable windows groups so I tweaked this script to add Deny Connect for Windows Groups. This script is handy if you are also seeing the error below : Msg 15151, Level 16, State 1, Line […]

Viewing all articles
Browse latest Browse all 25

Trending Articles