Guest Dickie Posted December 5, 2007 Posted December 5, 2007 Is it possible to run active client setup, which will automatically connect and install certain devices onto a client desktop. I would rather not srcipt this as it will be device relevant and not user specified. I know this is a w2k3 group, but in SBS you can assign client apps and any printer in the AD listing is installed at the client. Can something like this be done on W2k3. All clients will be XP Pro. Many thanks
Guest William Mann Posted December 7, 2007 Posted December 7, 2007 RE: Conigure Client with Printer and Share Automatically You can still script using the machine name - Set objNetwork = CreateObject ("WScript.Network") 'this script kills all existing network printers 'Set WShShell = WScript.CreateObject("WScript.Shell") 'WshShell.Run("\\thssvr02\sysvol\trinity.school\scripts\ADPRINTX.EXE /f") 'this script gets the computer name comp = objNetwork.ComputerName comp4 = left (comp,3) 'msgbox (comp4) if comp4 = "RM4" or comp4 = "R45" then msgbox("Setting Printer to Room 45") objNetwork.AddWindowsPrinterConnection "\\thssvr01.uppersite.trinity\rm45laser" objNetwork.SetDefaultPrinter "\\thssvr01.uppersite.trinity\rm45laser" Or if you'd rather script using batchfile, you can use %computername% to substitute computer names into the script Provided you've got sensible computer names. Additionally, group policy on W2k3R2 can roll out printers to clients. Hope this helps. Will "Dickie" wrote: > Is it possible to run active client setup, which will automatically connect > and install certain devices onto a client desktop. > I would rather not srcipt this as it will be device relevant and not user > specified. > I know this is a w2k3 group, but in SBS you can assign client apps and any > printer in the AD listing is installed at the client. Can something like this > be done on W2k3. > > All clients will be XP Pro. > > Many thanks
Guest Dickie Posted December 7, 2007 Posted December 7, 2007 RE: Conigure Client with Printer and Share Automatically Scripting would be ok. But in SBS (In know the 2 OS's are fundementally different) you just assign Apps and all the AD printers automatically get installed aswell. The nwtwork I'm configuring is only small (about 20 users) but they all use the same APPS and share the same 4 or 5 printers. Is their anything out there which can mimic the SBS Client Deployment on W2K3. Many thanks "William Mann" wrote: > You can still script using the machine name - > > Set objNetwork = CreateObject ("WScript.Network") > 'this script kills all existing network printers > 'Set WShShell = WScript.CreateObject("WScript.Shell") > 'WshShell.Run("\\thssvr02\sysvol\trinity.school\scripts\ADPRINTX.EXE /f") > > 'this script gets the computer name > > comp = objNetwork.ComputerName > comp4 = left (comp,3) > 'msgbox (comp4) > > if comp4 = "RM4" or comp4 = "R45" then > msgbox("Setting Printer to Room 45") > objNetwork.AddWindowsPrinterConnection > "\\thssvr01.uppersite.trinity\rm45laser" > objNetwork.SetDefaultPrinter "\\thssvr01.uppersite.trinity\rm45laser" > > > Or if you'd rather script using batchfile, you can use > %computername% to substitute computer names into the script > > Provided you've got sensible computer names. > > Additionally, group policy on W2k3R2 can roll out printers to clients. > > Hope this helps. > > Will > > > "Dickie" wrote: > > > Is it possible to run active client setup, which will automatically connect > > and install certain devices onto a client desktop. > > I would rather not srcipt this as it will be device relevant and not user > > specified. > > I know this is a w2k3 group, but in SBS you can assign client apps and any > > printer in the AD listing is installed at the client. Can something like this > > be done on W2k3. > > > > All clients will be XP Pro. > > > > Many thanks
Guest William Mann Posted December 7, 2007 Posted December 7, 2007 RE: Conigure Client with Printer and Share Automatically Yes, Using Group Policy. It's an extremely potent tool. You can roll out settings to either users or computers, depending upon the policies position in the AD tree. You can install printers and software to be either machine, or user specific, or if you really want; a combination! Have a read of http://en.wikipedia.org/wiki/Group_policy, and the links, to get an idea of the nature of this tool. Hope this helps Will "Dickie" wrote: > Scripting would be ok. But in SBS (In know the 2 OS's are fundementally > different) you just assign Apps and all the AD printers automatically get > installed aswell. The nwtwork I'm configuring is only small (about 20 users) > but they all use the same APPS and share the same 4 or 5 printers. > Is their anything out there which can mimic the SBS Client Deployment on > W2K3. > > Many thanks > > "William Mann" wrote: > > > You can still script using the machine name - > > > > Set objNetwork = CreateObject ("WScript.Network") > > 'this script kills all existing network printers > > 'Set WShShell = WScript.CreateObject("WScript.Shell") > > 'WshShell.Run("\\thssvr02\sysvol\trinity.school\scripts\ADPRINTX.EXE /f") > > > > 'this script gets the computer name > > > > comp = objNetwork.ComputerName > > comp4 = left (comp,3) > > 'msgbox (comp4) > > > > if comp4 = "RM4" or comp4 = "R45" then > > msgbox("Setting Printer to Room 45") > > objNetwork.AddWindowsPrinterConnection > > "\\thssvr01.uppersite.trinity\rm45laser" > > objNetwork.SetDefaultPrinter "\\thssvr01.uppersite.trinity\rm45laser" > > > > > > Or if you'd rather script using batchfile, you can use > > %computername% to substitute computer names into the script > > > > Provided you've got sensible computer names. > > > > Additionally, group policy on W2k3R2 can roll out printers to clients. > > > > Hope this helps. > > > > Will > > > > > > "Dickie" wrote: > > > > > Is it possible to run active client setup, which will automatically connect > > > and install certain devices onto a client desktop. > > > I would rather not srcipt this as it will be device relevant and not user > > > specified. > > > I know this is a w2k3 group, but in SBS you can assign client apps and any > > > printer in the AD listing is installed at the client. Can something like this > > > be done on W2k3. > > > > > > All clients will be XP Pro. > > > > > > Many thanks
Recommended Posts