Change the IP address of existing printer port (Windows 10) RRS feed

  • Question

  • Here in school, I have 3 network printers in every local Windows10 computer (,, Due to network change, I need to change every printer's IP address (,,

    I could do it manually for every 50+ computers, but I'd like to run command line script (.bat file or Powershell command) instead. (As every computer has owner who is also a local administrator, I could send them the file and it would be done).

    Could you please suggest the working code? I have tried all solutions I was able to find (the most logic one is here: https://social.technet.microsoft.com/Forums/scriptcenter/en-US/7a004a04-0cce-4be2-ba2f-f53987a31e10/change-the-ip-address-of-existing-printer-port?forum=ITCG&prof=required), but I have not found working solution for Windows10.
    • Moved by Bill_Stewart Friday, March 15, 2019 6:59 PM Use shared printers instead of locally installed TCP/IP printers
    Wednesday, January 30, 2019 9:22 AM

All replies

  • Wednesday, January 30, 2019 11:11 AM
  • If the printers are set up as shared from a print server you can only change the port on the print server.

    The command "Get-PrinterPort" did not exist in 2014.  It is a Windows 10 only command and WIndows 10 was released in 2015.

    TO check ports on Windows 10 just use the command referenced:'

    Get-PrinterPort | select name

    If the printer is attached from a print server it will have no port.

    This has nothing to do with scripting.  It is an issue with understanding basic Windows and Windows printing.  Start by studying that and then check to see how your systems are deployed.


    Wednesday, January 30, 2019 3:22 PM
  • Cannot post links or images, but screenshot is seen here:


    As seen from here, no print server, printers are added locally via TCP/IP port.
    Thursday, January 31, 2019 8:14 AM