Tuesday, October 20, 2009

credssp on Windows XP

Our users frequently complain that they have to enter their username and password more than once when they connect to our Windows Server 2008 terminal services farm. They connect to the primary server, enter their username and password, and then the client redirects them to the least loaded server. Sometimes, though, they will be redirected a third time to another server (and have to enter their credentials again). If the user takes too long to enter the username and password, then they will continue to be prompted indefinitely, because the server they have connected to may no longer be the least loaded.

I found a fix to the problem at Microsoft:

You've got to have SP3 installed and you have got to be careful editing the registry. Try walking a doctor through this process!

I've created a small utility using AutoIT that will perform these steps automatically. It's written intelligently; it will check that SP3 has been installed, that you are using XP, and that you have the appropriate permissions to edit the registry. It also checks for errors and includes an undo function.

This utility is free to all and includes the AutoIT source code. Use at your own risk:

Dave

No comments: