Net use lpt1: help required

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Iam using Windows XP SP2

Im trying to write a batch file which uses the net use lpt1:
\\servername\printername command.

The command works fine under an administrator account, under a normal user i
am getting the following requests.

'The password is invalid for \\servername\printername
Enter the username for servername'

The printer itself has all the right permissions and the user can print too
it fine, wondering has anyone encountered this problem or if it is something
within XP.

thanks
 
This is designed behaviour for security reasons. See
http://support.microsoft.com/default.aspx?scid=kb;en-us;313644
for work-around.

Tom
MSMVP
Windows Shell/User


: Iam using Windows XP SP2
:
: Im trying to write a batch file which uses the net use lpt1:
: \\servername\printername command.
:
: The command works fine under an administrator account, under a normal
user i
: am getting the following requests.
:
: 'The password is invalid for \\servername\printername
: Enter the username for servername'
:
: The printer itself has all the right permissions and the user can
print too
: it fine, wondering has anyone encountered this problem or if it is
something
: within XP.
:
: thanks
:
 
Back
Top