Solved

How to Globally change printer settings

Posted on 2008-06-26
5
411 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
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 …
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…

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