Discussion Locked

logon script with net use

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a 2000 PDC with login script using net use to assign lpt1 to a specific printer.
My 2000 machine users have no problems
However, my 95 machines never seem to keep the lpt1 assignment. I can run the net use lpt1 : //server/printer command onthe machine but and my apps will print. But as soon as I restart the machine that assignment is lost.
Is there a way to permanently assign ports on 95 machines ?

10 replies

by don christner

To see more helpful info., from a command prompt,
type

net use /?

This will show you all options available to the net use command.

by cactus pete

It's spelled /persistent and you need to add the :yes to the end. I don't know if it works on 95, though.

by natcat

net use lpt1: \\servername\printer /persistent (with or without) : yes gives me an invalid command error message.
Is there another way to assign the lpt1 without a script ?

by cactus pete

As found in http://support.microsoft.com/default.aspx?scid=kb;en-us;133152 [remove any extra spaces]

Capture a printer port for the network printer rather than using a universal naming convention (UNC) connection. To do this:
Click Start, pointto Settings, and then click Printers.
Right-click the printer that you want to use, and then click Properties.
Click Capture Printer Port on the Details tab.
In the Device box, click the port that you want to capture.
In the Path box, type the path for the network printer that you want to use by using the following format for the network printer path:

\\PrinterServerName\PrinterShare

NOTE: If you want this connection to be available each time that you start Windows, click to select the Reconnect At Logon check box.

by natcat

Manually setting the printer port to lpt1 in the printer properties has solved the problem.
Thanks

by ctmoore1998

Is the server name and printer name both less than 8 characters in length, I think 95 will have issues with network names the exceed the 8.3 std. You should be able to go into printers properties and manually capture the printer port and check the reconnect at login option.

This discussion is closed to new replies.