How to Globally change printer settings

Posted on 2008-06-26
Last Modified: 2008-07-23
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?
Question by:arunuk
LVL 11

Accepted Solution

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.

Assisted Solution

QEDeh earned 166 total points
ID: 21875986
LVL 17

Assisted Solution

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(,Len(

 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


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


Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Windows Server 2012 R2 shared printer permissions 2 34
Bios changes 5 47
QR code printing 5 32
Roaming profile & Office 365 3 32
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
Printers have changed substantially in the last 30 or so years, not just in technical capabilities but in cost and usage as well.  Printers were originally used for interfacing with the operator, not necessarily for printing copy or pictures. In …
Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

758 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now