netwalker1
Programmer
Adding Printers Using GP to Active Directory users :
We used VBscript for installing printers, But we need to have Windows Scripting Host v5.6 installed on our workstations otherwise we will receive an error when the script runs. Windows service pack 3 installs v5.6
1. Create VBscript using the following syntax...
Set Network = CreateObject("Wscript.Network"
Network.AddWindowsPrinterConnection "\\Server_Name\Printer_Share_Name"
Network.SetDefaultPrinter "\\Server_Name\Printer_Share_Name"
Once we have the necessary printer connections listed save this to a file with a vbs extension.
2. We now need to create a GPO (Group Policy Object).
1-Open a New GP
2-Go to User Configuration - Windows Settings - Scripts - and Double click on Logon.
3-Click Add and browse to the file created in step 1. Once it is added click OK and close all windows.
Mohamed Farid
Know Me No Pain , No Me Know Pain !!!
We used VBscript for installing printers, But we need to have Windows Scripting Host v5.6 installed on our workstations otherwise we will receive an error when the script runs. Windows service pack 3 installs v5.6
1. Create VBscript using the following syntax...
Set Network = CreateObject("Wscript.Network"
Network.AddWindowsPrinterConnection "\\Server_Name\Printer_Share_Name"
Network.SetDefaultPrinter "\\Server_Name\Printer_Share_Name"
Once we have the necessary printer connections listed save this to a file with a vbs extension.
2. We now need to create a GPO (Group Policy Object).
1-Open a New GP
2-Go to User Configuration - Windows Settings - Scripts - and Double click on Logon.
3-Click Add and browse to the file created in step 1. Once it is added click OK and close all windows.
Mohamed Farid
Know Me No Pain , No Me Know Pain !!!