Discussion Locked

net use command

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am having a problem with a network printer. A software package that is loaded on a Windows 2000 machine requires the network printer to be set up as a local printer, and to net use lpt1 to the network share. The statment that I am using is: net use lpt1 \\server\printer_q /persistent:yes. The printer will work for a day or so, and then quit. When I type in the net use statement, the lpt port does not show up. I then have to redo the net use command. Anyone know what I'm doing wrong?

4 replies

by joseph moore

Are you logging off, then back on the next day? If so, when you log in do you get a reconnect dialog box that is mapping LPT1 again? IF you get the box, let it map the port to the printer.
If you are not logging off, then try this from the Run box:
NET CONFIG SERVER /AUTODISCONNECT=-1

hope this helps

by mtrahern

It's not my computer, its someone elses. I think the net use command is dissappearing when he reboots, but I need to verify with him first. I'll try the net config command and see what that does. I'm also thinking of making a .bat file that contains the net use command and putting it in his startup folder. Thanks for the input!

This discussion is closed to new replies.