Please note, if your setting up AutoAdminLogon for a workstation or server, don't forget to set the 'DontDisplayLastUserName' key to '0'. If it is non-existant or set to '1' the server will remember whoever was logged into the console last, over-riding the 'DefaultUserName' key that was set in the registry. I'm not sure why Microsoft didn't include this in their documentation, but it needs to be there.
For the servers that I've set this up on, I've also added a .bat file that will lock the screen after logging in. Create a bat file and put the following in it.
rundll32.exe user32.dll, LockWorkStationPut the bat file in the startup items folder. Microsoft recommends you restart your server at that time to test it out. If you don't get the chance to restart it, make sure you test it out at some point.
No comments:
Post a Comment