General discussion

Locked

logon script with net use

By NatCat ·
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 ?

This conversation is currently closed to new comments.

10 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

logon script with net use

by Don Christner In reply to logon script with net use

On your NET USE statement, add /persistant to the end.


Don

Collapse -

logon script with net use

by Don Christner In reply to logon script with net use

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

net use /?

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

Collapse -

logon script with net use

by NatCat In reply to logon script with net use

I tried this and 95 doesn't accept the persistant command

Collapse -

logon script with net use

by Cactus Pete In reply to logon script with net use

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

Collapse -

logon script with net use

by NatCat In reply to logon script with net use

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 ?

Collapse -

logon script with net use

by Cactus Pete In reply to logon script with net use

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.

Collapse -

logon script with net use

by NatCat In reply to logon script with net use

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

Collapse -

logon script with net use

by ctmoore1998 In reply to logon script with net use

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.

Collapse -

logon script with net use

by NatCat In reply to logon script with net use

Poster rated this answer

Collapse -

logon script with net use

by NatCat In reply to logon script with net use

This question was closed by the author

Back to Windows Forum
10 total posts (Page 1 of 1)  

Related Discussions

Related Forums