Net Use command trouble

G

Guest

We used the Net Use command with Windows 2000 with no problem. Recently we upgraded to Windows XP and now the net use command is asking for a username and password. What can I do about this. I don't want to have to use a username and password to use the net use command. I am trying to connect to a lpt1 port when i get this message.
 
R

Ron Lowe

Joe said:
We used the Net Use command with Windows 2000 with no problem. Recently
we upgraded to Windows XP and now the net use command is asking for a
username and password. What can I do about this. I don't want to have to
use a username and password to use the net use command. I am trying to
connect to a lpt1 port when i get this message.


You'd have to be more specific about the
exact command you are issuing, and exactly
what you are trying to connect to.

Did you upgrade the machine you are issuing the command on,
or the machine you are connecting to?

What OS is on each machine?

Basically, when you connect to a remote machine, you will need to
supply a username / password unless you are currently logged in with
a username / password that's valid on the remote machine.
You should only need to do this once, and it will be cached.
 
R

Ron Lowe

Joe said:
Thank you for your help. We are in a domain environment with Windows 2000
Servers using Active Directory. The net use command we are trying to type
is "net use lpt1: \\computername\printername /persistent:yes" from a Windows
XP Pro computer. The printer is shared from a Windows 2000 Professional
computer. All other Windows 2000 Pro clients print perfectly fine to the
net use command without requiring a username and password. Only Windows XP
Pro clients have this issue. Thanks again!


You'd need to go to first principles and determine how it *should* work.

Go to the computer with the shared printer, and look at the share
permissions.
Who is granted access?

Does Everybody have Print permissions?
That will include all Users, which in turn will include all DomainUsers.
( The Guest account will usually be disabled. )

Now go to the XP box.
Are you logging in as a Domain User?
Then you should have print permissions.

It's possible that XP has cached inappropriate credentials for some reason.
If so, then you can delete the bad credentials by following the instructions
here:

HOW TO: Manage Stored User Names and Passwords
on a Computer in a Domain in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;306992&Product=winxp

Alternatively, when prompted for username / password, supply your username
as
domain-name\username, along with the password.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top