|I have been using a batch file to automatically map a drive to remote PCs. It's been working fine until the last month or so. Here's how I've been doing it:|
echo. | net use %drive%: \\%IP%\c$ /user:administrator password >nul
The "echo. |" will allow the user to not have to enter a username or a password in order to map the drive. Unfortunately, some of the systems I regularly connect to have started rejecting this method for no reason I can find. It will give this:
System error 1326 has occurred.
Logon failure: unknown user name or bad password.
Neither the username or the password on the remote system have been changed; in fact, if I run the NET USE command manually using the same username and password (without the "echo. |"), it connects just fine. Can anyone think of a reason why the automatic method would suddenly stop working? Obviously something has changed, but I don't have the first idea where to start looking. The system I'm connecting from is running WinXP Pro SP2, the systems I connect to are Win2000 Pro SP3.