Solved

How to Globally change printer settings

Posted on 2008-06-26
5
409 Views
Last Modified: 2008-07-23
Hi
We run Windows 2003 servers with XP clients. Does anyone know an easy way of globally changing the printer name/printer share name on all clients that have that network printer installed, without having to go to each machine?
Arun
0
Comment
Question by:arunuk
5 Comments
 
LVL 11

Accepted Solution

by:
CMYScott earned 168 total points
ID: 21875588
changing the printer name can be done on the machine that shares the printer by editing the printer properties

changing the share name - on all clients - I believe you'd have to do with a login script or possibly thru a group policy.
0
 
LVL 2

Assisted Solution

by:QEDeh
QEDeh earned 166 total points
ID: 21875986
0
 
LVL 17

Assisted Solution

by:StrifeJester
StrifeJester earned 166 total points
ID: 21883588
We currently use VB script to deploy our printers based on Windows Security Groups, this also makes it easy to administer rights to those printers so we don't have jobs from one end of the building ending up on the other since the groups are already created.  I have attached the first couple of lines of my script hope it helps.  This script also maps network drives based on groups as well.
'==========================================================================
'
' VBScript Source File -- Created with SAPIEN Technologies PrimalScript Professional 4.5
'
' NAME: Logon2008.vbs 
'
' AUTHOR: Justin Ellenbecker
' DATE  : 6/10/2008
'
' COMMENT: Login script with parts taken original script.
'          Less Lines and sorted to add printers based on permission groups.
'
'========================================================================== 
Set objNetwork = CreateObject("Wscript.Network")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objSysInfo = CreateObject("ADSystemInfo")
strUser = objSysInfo.UserName 
Set objUser = GetObject("LDAP://" & strUser)
groups = objUser.GetEx("memberOf")
Set objWshShell = CreateObject("Wscript.Shell")
For Each oGroup In groups
 Set adgroup = getobject("LDAP://" & oGroup) 
 groupName =  Right(adGroup.name,Len(adGroup.name)-3)
 Select Case groupName
  Case "Printing-Group"
   objNetwork.AddWindowsPrinterConnection "\\ServerName\PrinterName 1"
   objNetwork.AddWindowsPrinterConnection "\\ServerName\PrinterName 2"
   objNetwork.AddWindowsPrinterConnection "\\ServerName\PrinterName 3"
   objNetwork.AddWindowsPrinterConnection "\\ServerName\PrinterName 4"
   objNetwork.AddWindowsPrinterConnection "\\ServerName\PrinterName 5"
   objNetwork.AddWindowsPrinterConnection "\\ServerName\PrinterName 6"
   objNetwork.SetDefaultPrinter "\\ServerName\PrinterName 1"
   MapDrive "O:","\\ServerName\Share"
 End Select
Next
Sub MapDrive(letter, path)
 On Error Resume Next
 objNetwork.MapNetworkDrive letter, path
 If Err.Number <> 0 Then
  objNetwork.RemoveNetworkDrive letter, True, True
  objNetwork.MapNetworkDrive letter, path 
 End If
End Sub

Open in new window

0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question