Adding Network Printers using a "Startup" script.

  • Thread starter Thread starter Chris Dersham
  • Start date Start date
C

Chris Dersham

I am having the same problem... with no luck... im also
trying to map drives acording to the computer polciy...
have u had any luck so far?

Chris
 
Hi,

Try changing them from startup scripts to log on scripts in GP under user
settings. This way they will connect each time a person logs on.

Hope this helps

Chris Pratt - MCP
 
If you want the settings to stay with the computer, you should enable
loopback and put all the machines you want to get those settings in their
own OU. Then, in the new OU containing the computers just make a logon.bat
file that maps the drives and connects the printer. I do this now using
con2prt.exe from the res kit. Works like a charm.

Tyler
 
Sorry to rude here Chris but please read my message a little closer. Change
the settings in the group policy. In the same way you have startup scripts
under computer configuration, well under user configuration you have login
scripts (and logout) - these are seperate to the users own login script
setup in AD for users and computers.

So in a way you can specify a login script for the computer no matter who
the user is. It can do everything your startup script should do but when the
user logs in.

Please have a look at this.

Chris Pratt - MCP
 
Hey Guys,

I have been reading this really useful thred that I have also implemented on my network (hope you don't mind :))

Just wondering if anyone knew the script I would need to us if I was to disconnect the printers on log-off?

I have tried the following script, but it not work :(

Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.removeWindowsPrinterConnection "\\pn06\HP_Top_of_Room"
WshNetwork.removeWindowsPrinterConnection "\\pn23\Epson_Top_of_Room"

Can someone please point me in the right direction?

Ta
Matt
 
Back
Top