Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Net use lpt1: help required

Net use lpt1: help required

Forum Windows XP : Windows XP General Discussion - Net use lpt1: help required

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

 

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

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

 

This is designed behaviour for security reasons. See
http://support.microsoft.com/defau [...] -us;313644
for work-around.

Tom
MSMVP
Windows Shell/User


"Charlie" <Charlie@discussions.microsoft.com> wrote in message
news:BB22EAF5-F346-4745-9B64-AA093D7DD6B5@microsoft.com...
: 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
:

Reply to Anonymous
- 0 +

I had the same problem as you described. What I did was leave out the lpt1 part of the statement.

My batch file looks like this and it works fine reqardless of priviledges.

copy filename.txt \\computername\printersharename

Reply to Walt
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Net use lpt1: help required
Go to:

There are 525 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them