Access Denied

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

Guest

Our agency predominately uses MS SQL Server to house our information but we
still have one DOS application that has not yet moved over. I use a NET USE
command in the login script to capture their LPT1 output and send it to the
shared device. On Win2000 machines I have no problem directing the LPT1 to
the share but our latest HP Compaq Win XP machines will not cooperate.

The print server’s name is Lepus (latin for rabbit, Win2000 server) and the
share is "earlyint" (HP 4100 printer). The following is what I get from the
command line.

C:\>net use lpt1: \\lepus\earlyint

The password is invalid for \\lepus\earlyint
Enter the user name for 'lepus': setup
Enter the password for lepus:
System error 5 has occurred.
Access is denied.

In the sharing Properties I have not seen an option for passwords. It only
asks for groups and users and the associated group is Everyone. I don’t
understand why XP is asking for a password. The user "setup" is a Domain
Admin account with god-rights to everything on the network.

Thanks for any input you may provide,
JavaGuy
 
try this first: net use \\lepus password /u:domainname\username before net use lpt1: \\lepus\earlyint

Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, Remote Access on http://www.HowToNetworking.com
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.
I recommend Brinkster for web hosting!

Our agency predominately uses MS SQL Server to house our information but we
still have one DOS application that has not yet moved over. I use a NET USE
command in the login script to capture their LPT1 output and send it to the
shared device. On Win2000 machines I have no problem directing the LPT1 to
the share but our latest HP Compaq Win XP machines will not cooperate.

The print server’s name is Lepus (latin for rabbit, Win2000 server) and the
share is "earlyint" (HP 4100 printer). The following is what I get from the
command line.

C:\>net use lpt1: \\lepus\earlyint

The password is invalid for \\lepus\earlyint
Enter the user name for 'lepus': setup
Enter the password for lepus:
System error 5 has occurred.
Access is denied.

In the sharing Properties I have not seen an option for passwords. It only
asks for groups and users and the associated group is Everyone. I don’t
understand why XP is asking for a password. The user "setup" is a Domain
Admin account with god-rights to everything on the network.

Thanks for any input you may provide,
JavaGuy
 
Thanks Bob, unfortunately the XP machines did not cooperate with this
suggestion either. I finally gave each person temporary administrative rights
to their local machines and the command worked fine immediately. I don't like
giving those privileges because they can now install any software from home
that they wish. Now I'll need to make sure that they don't find out that they
have local admins and monitor them much closer to make sure they don't
install anything.

I appreciate your help.
 
This one's easy, hope I'm still in time before you figured it ou
yourself. The problem is, that you are trying to remap an lpt por
that's available hardware-wise. There are two solutions:

1* Disable your printer port in your BIOS or in Windows, and retry th
net use command.
2* Use another lpt port, eg. lpt2:


Regards,
Michiel

*Our agency predominately uses MS SQL Server to house our informatio
but we
still have one DOS application that has not yet moved over. I use
NET USE
command in the login script to capture their LPT1 output and send i
to the
shared device. On Win2000 machines I have no problem directing th
LPT1 to
the share but our latest HP Compaq Win XP machines will no
cooperate.

The print server’s name is Lepus (latin for rabbit, Win2000 server
and the
share is "earlyint" (HP 4100 printer). The following is what I ge
from the
command line.

C:\>net use lpt1: \\lepus\earlyint

The password is invalid for \\lepus\earlyint
Enter the user name for 'lepus': setup
Enter the password for lepus:
System error 5 has occurred.
Access is denied.

In the sharing Properties I have not seen an option for passwords. I
only
asks for groups and users and the associated group is Everyone.
don’t
understand why XP is asking for a password. The user "setup" is
Domain
Admin account with god-rights to everything on the network.

Thanks for any input you may provide,
JavaGuy


-
taxfre
 
Bingo! Thanks for the tip. Amazing what you need to do sometimes in order to
get simple things to work as expected.
 
Back
Top