HP PageWide Pro 577dw OfficeJet Pro X and PageWide Pro Series - IT Administrat - Page 10
Command Line Tool to Update IP Address of Installed Printer, Command Line Tool to Update Hostname
View all HP PageWide Pro 577dw manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 10 highlights
Command Line Tool to Update IP Address of Installed Printer Using an administrator account, run the following command on the target PC to change the IP address of a network installed device: START /WAIT /D"C:\Program Files\HP\\Bin" DeviceSetup.exe /serialnumber /changeip NOTE: On Vista and Windows 7, the above command must run from an elevated process when UAC is enabled. This starts a process that attempts to find the network installed device with the given serial number and change it to use the new IP address. The entire process is done silently without displaying any UI. If the operation is successful, it will return a value of 0; otherwise, it will return a non-zero error code. Command Line Tool to Update Hostname of Installed Printer Using an administrator account, run the following command on the target PC to change the hostname of a network installed device: START /WAIT /D"C:\Program Files\HP\\Bin" DeviceSetup.exe /serialnumber /changehostname NOTE: On Vista and Windows 7, the above command must run from an elevated process when UAC is enabled. This starts a process that attempts to find the network installed device with the given serial number and change it to use the new hostname. The entire process is done silently without displaying any UI. If the operation is successful, it will return a value of 0; otherwise, it will return a non-zero error code. Potential Issues The following is a list of potential issues that might cause the update to fail: DeviceSetup.exe could be failing on Vista/Windows7 due to UAC. Make sure you run DeviceSetup.exe in elevated mode when UAC is enabled. You might have entered an incorrect serial number. Make sure you specify the correct serial number for the network device in the command line. Logs Each execution of DeviceSetup.exe generates a new log file, which can be found at C:\Users\\AppData\Local\HP\AtInstall\\DeviceSetup.log on Vista and Win7 and at C:\Documents and Settings\\Local Settings\Application Data\HP\AtInstall\\DeviceSetup.log on XP.