Repeated prompt for user name and password when accessing AS400 IFS under Windows XP using map network drive

God_of_Thunder picture God_of_Thunder · Jun 26, 2012 · Viewed 12.2k times · Source

I was trying to access the IFS using map network drive. It prompted the dialog asking for user name and password. But after I had entered them and pressed enter the same dialog appeared again. No matter how many times I press enter it kept prompting the same dialog and it did not suggest that the information was incorrect. I could use another user profile to access this IFS without the above problem. Someone else was able to map drive it a few days ago and now it is not working. I had asked another colleague to try the same and the same problem occurred as well. So what could be the cause of this issue?

Answer

James Allman picture James Allman · Jun 26, 2012

I've seen this occur when the username is the same as the AS/400 username but the password is different. Also this can happen if there is an existing map to the AS/400 using different credentials.

I find the easiest way to map a drive is to use the command prompt and specify the username and password:

NET USE Z: \\<ip address or host name>\<share> 
  /USER:<username> <password> /PERSISTENT:YES

The /PERSISTENT:YES option will keep the map across reboots.