Administrative Tools and Scripts

Change Print Server

Description

Do you need to change your organizational print server?

You might find the task of updating the clients’ printers’ settings pretty tiring…

This utility will update your clients’ printers to the new print server through a logon script. The utility does not affect local printers, Netware printers and network printers from a different print server than the one specified in execution arguments.

Requirements: Windows NT4/2000/XP/2003

Sponsored Content

Passwords Haven’t Disappeared Yet

123456. Qwerty. Iloveyou. No, these are not exercises for people who are brand new to typing. Shockingly, they are among the most common passwords that end users choose in 2021. Research has found that the average business user must manually type out, or copy/paste, the credentials to 154 websites per month. We repeatedly got one question that surprised us: “Why would I ever trust a third party with control of my network?

Current version: 1.3

Version 1.3 highlights: Bug fix: Printer connections are deleted when using a case-sensitive command line argument. The bug was fixed.

Download

Download changeprintsrv.zip (16kb)

You need to extract the tool/script found in the downloaded file by using WinZip or similar.

Syntax

​ChangePrintSRV from

Switches:

/localports – Also changes the printers that are installed as local port. This option require administrative privileges, i.e. the user has to be a member of the local administrator/power users group. This switch causes the spooler service to restart.

Example:

​ChangePrintSRV from oldprintsrv NewPrintSRV /localports

Detailed Instructions

  1. Install and configure your new print server.

You can use Microsoft Print Migrator for printers and printer driver’s migration from one print server to another. The tool is available for download HERE.

  1. Make sure your new print server is ready:
  • All printers from the old server are installed on it with the exact same names.
  • All printers are shared and have proper security settings.
  1. Test the utility on a single workstation.
  • Copy ChangePrintSRV to a network share. For example:
​''fileSRV'Utils'ChangePrintSRV.EXE
  • Make sure there are several network printers from your existing print server installed on the computer.
  • Open CMD.EXE
  • Run the command as specified in the Syntax section. For example:
​''fileSRV'Utils'ChangePrintSRV.EXE from printsrv1 to PrintSRV2
  • Verify that your printers now point to the new print server
  1. Distribute through a logon script.

If the previous test passes successfully, Just add the command specified in ‘Syntax’ section to the end of the login script and wait for users to log on. Delete the line only after you are sure that all users run the logon script.

Support

No support of any sort will be given for this script/tool or for any other script/tool found on the Petri.co.il website for that matter. If you need to contact us with any support issues, feedback or suggestions regarding the tool(s) and script(s) found on this page please write an e-mail to THIS address.

Disclaimer

The software available from GanoTools is FREEWARE. It is not in the Public Domain. Asaf Ganot retains the copyright for this work. You can use it freely but do not claim it for your own or charge others money for it.

Use these tools at your own risk. They are provided for your own personal use and enjoyment and Asaf Ganot nor Daniel Petri nor Petri.co.il do not provide any warranty for them, nor they will be held responsible for any result allegedly caused by use or misuse of any of the tools found on this page.

Back to the Tools and Scripts page.

BECOME A PETRI MEMBER:

Don't have a login but want to join the conversation? Sign up for a Petri Account

Register
Comments (0)

Leave a Reply

Don't leave your business open to attack! Come learn how to protect your AD in this FREE masterclass!REGISTER NOW - Thursday, December 2, 2021 @ 1 pm ET

Active Directory (AD) is leveraged by over 90% of enterprises worldwide as the authentication and authorization hub of their IT infrastructure—but its inherent complexity leaves it prone to misconfigurations that can allow attackers to slip into your network and wreak havoc. 

Join this session with Microsoft MVP and MCT Sander Berkouwer, who will explore:

  • Whether you should upgrade your domain controllers to Windows Server
    2019 and beyond
  • Achieving mission impossible: updating DCs within 48 hours
  • How to disable legacy protocols and outdated compatibility options in
    Active Directory

Sponsored by: