Net Use printer

D

dustinj1039

I have a Dell M5200 Printer set up on my server. I have had to set up
many of the workstations with access to this printer using the Net Use
command (net use lpt[X]: [\\server name\printer name] /persist:y), and
recently had the IP address change on me. I went in to tried to
re-add the printer again, using the correct port, but it said the
local device was already in use... Is there a command that I can use
to clear the lpt1 net use port, and re-add the printer with the
correct IP? Thanks!
 
S

S Kyrytow

Since its a persistant connection you need to delete it first.

net use lpt[X]: /d

That should do the trick, then just add the new one.

-SK
 
L

Lanwench [MVP - Exchange]

Do you really need to redirect the printer to the LPT port(s) for some
reason (DOS apps?)

Look into con2prt.exe from the resource kit if you want to be able to add
network printers in a login script en masse....with network printing to a
share on the server, the port isn't really relevant, nor is the TCP/IP
address. Not sure what "had the IP address change on me" means, but it
shouldn't matter.
 

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