Kiwi-User
asked on
Installing IP Printer with rundll32 printui.dll
Hi,
I have a script that runs at startup via an Acdive Directory Group Policy Object. I have ran this script on one of my network computers without an issue, but on other computers I either error's "Failedto create specified port" or "The arguments are invalid".
I have a script that runs at startup via an Acdive Directory Group Policy Object. I have ran this script on one of my network computers without an issue, but on other computers I either error's "Failedto create specified port" or "The arguments are invalid".
rundll32 printui.dll,PrintUIEntry /if /b "AKAIR-NP01" /f \\AKAIR-SERVER\netlogon\drivers\AKAIR-NP01\fx6vaie.inf /r "IP_192.168.131.60" /m "FX DocuCentre-II C3000 PCL 6" /Z
ASKER
It seems the problem is with creating the IP Port
/r "IP_192.168.131.60"
If the printer is installed manually and then removed then the script works, so its just not creating the IP Port correctly / at all.
/r "IP_192.168.131.60"
If the printer is installed manually and then removed then the script works, so its just not creating the IP Port correctly / at all.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Any help would be appreciated.
Open in new window