I will try to do my best to describe this problem, but let me know if more info is needed. Here it goes:
I have windows XP Pro machines connecting to servers running OS/400. These machines need constant connections and access to these servers. If for some reason the server does not recognize the user on the machine, windows prompts the user for a username and password that is valid on the server. So far so good, this is typical and not a problem.
So, the logon box pops up and you enter your username and password. You know it's valid, and yet the connection is refused and the logon box pops back up. Here is where the problem starts. Typically the logon box would pop back up because the username or password was incorrect, but in our case it is not. Also normally when the logon attempt is rejected, the logon box pops back up with the rejected username in the box and the password field blank. This is fine except for one little thing. Windows is putting the computer name in the logon box along with the username. It looks like this:
This format of putting the computer name infront of the username is incorrect. This problem only exists on very few machines, and only with certain valid server usernames.
What I need:
I need windows to just send the username and password to their server, not the computername. My servers don't care what the name of the computer is just the username and password. Changing anything on the servers is not an option. Is there a way to change the format windows sends logon info to the server? If not does anyone know of any good sites to learn how to write windows scripts to auto logon to servers at startup and put them in the startup. I'm up for registry edits and any other ideas.
One more thing:
When you first get your pc and go through the whole windows setup process, it asks you for a username at the very end of the process in XP. The first username you enter becomes the default. It is my belief that even if you create a new username and delete this original, windows still remembers it and believes that it is the default username when trying to logon to servers. If I am right, Is there somewhere in the registry that you can change the default username from the old deleted one to the new one?
All help and comments are greatly appreciated!