Solved

How to Globally change printer settings

Posted on 2008-06-26
5
412 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Suggested Solutions

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

752 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