Network Printer needs to reset daily

[Closed]
Report
-
Posts
6428
Registration date
Sunday June 6, 2010
Status
Moderator
Last seen
July 16, 2020
-
Hello,

We have a computer in network in the office, every starting windows, the network printer needs to reset from the client computers in order to connect to the network printer. That is: net use lpt1: \\computer name\printer share name /persistent:yes

What should I do so that I won't need to do this everyday or every time I start the computer?

Thanks,
Ellen

1 reply

Posts
6428
Registration date
Sunday June 6, 2010
Status
Moderator
Last seen
July 16, 2020

Hello,

Try this 1

1) Open a "Notepad" and type only your command. Example

net use lpt1: \\computer name\printer share name /persistent:yes

Now save the file as printer.bat

[Note : You can save the file with any name but you have to use the extension

.bat. Don't forget the .bat extension at the end of your file name.]

You can save the file in any drive. Here I assume your file named printer.bat is

saved in the D-drive.

2) Now click on Start --> Run --> Type regedt32 and press Enter.

"Registry Editor" will be opened. First backup your registry by going to

"File --> Export"

Now navigate to the below location

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

At the right-side, right-click on the white area, "New" --> Select "String Value"

Rename that "String Value" file with any name or right-click on the created

"String Value" file --> Select the option "Rename".

Here I assume that file have been renamed to Printer.

3) After renaming that file, double-click on the created string value file Printer,

in the "Value data:" enter the location of the created .bat file.

Here I assume your file named printer.bat is saved in the D-drive.

So in he "Value data:" enter the path as shown below

D:\printer.bat ----> Click on OK

Now close the registry.

Now whenever you start your PC it automatically gets executed.

You can also hide the created file named printer.bat

Good Luck

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!