This should be very easy. I'm trying to map a default printer for all the computers in one room. I made a security group in AD and added the computers to that group; name of the group is room17.
Then in I made a new group policy and have it apply to only room17 group. Under the group policy settings (Computer Configuration --> Windows Settings --> Scripts (Startup/Shutdown) -->Startup) I added the script file:
Set WshNetwork = CreateObject("WScript.Network"
PrinterPath = "\\my server name\Lexmark"
PrinterDriver = "Lexmark Optra R Series"
WshNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver
WshNetwork.SetDefaultPrinter "\\my server name\Lexmark"
If I add the users to the same group (room17) and place the same script under the group policy settings (User Configuration --> Windows Settings --> Scripts(Logon/Logoff) --> Logoff) it works.
I need the printer mapped on the computers regardless of the users.
Thanks a lot for your help.
Then in I made a new group policy and have it apply to only room17 group. Under the group policy settings (Computer Configuration --> Windows Settings --> Scripts (Startup/Shutdown) -->Startup) I added the script file:
Set WshNetwork = CreateObject("WScript.Network"
PrinterPath = "\\my server name\Lexmark"
PrinterDriver = "Lexmark Optra R Series"
WshNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver
WshNetwork.SetDefaultPrinter "\\my server name\Lexmark"
If I add the users to the same group (room17) and place the same script under the group policy settings (User Configuration --> Windows Settings --> Scripts(Logon/Logoff) --> Logoff) it works.
I need the printer mapped on the computers regardless of the users.
Thanks a lot for your help.