|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi Guys,
I would like to automate the Add Printer Wizard in Windows so that the user is redirected to the Find Printer Wizard directly in order to search for printers in Active Directory based on the location. I have not foudn any documentation in Microsoft´s sources so you are my last hope. Thanks a lot for any idea you can post. |
|
#2
|
||||
|
||||
|
I can't answer your question.....
But at work I automate all printer installs via Active Directory's Group Policy using a vbs script You can apply multiple printers to an OU that will install when your users log on. This way your users never have to enter the add printer wizard. Here is the script. Just create a text file with the below text and rename it to .vbs Code:
'-------------------------------------------
' Printer Install
'-------------------------------------------
Dim net
Set net = CreateObject("WScript.Network")
net.AddWindowsPrinterConnection "\\nyprnt\printj1"
'-------------------------------------------
' You can add multiple printers and shortcuts
' by copying the above data and editing the paths
' Rob
'-------------------------------------------
I know this isn't exacty what you were looking for but hopefully it helps.. Also you can configure Active Directory to just populate printers within the current domain.. This way when a user clicks the find button it doesn't populate printers in remote offices... If this is what your trying to do let me know cause I have a book with a walkthrough for that... I'll type it in for you.... Rob Last edited by Mike_Patton : March 31st, 2004 at 09:58 AM. |
|
#3
|
|||
|
|||
|
Hi, I just found this forum as I was looking for exactly what you wrote in this post! A simple script / VB way of adding printers.
I want to do what you say you do , ie add printers to users remotely, and this script works a treat. I would be interested in any more info you can give me, especially on confuguring the group policy, and also is there a way of : 1. obtaining all the printer share names from a specific server 2. changing the printer's properties once added. I am quite good with VB / VBA, but new to VBScript, although i recognise the similarities... Cheers! ![]() |
![]() |
| Viewing: ASP Free Forums > System Administration > Windows Scripting > Automating Add Printer Wizard |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|