printUIEntry; install printer to remote client machine

G

Guest

Hi,

I used the following reference link to add printer to a remote computer.
http://support.microsoft.com/default.aspx/kb/314486

I got the message: Operation could not be completed. Either the printer
name was typed incorrectly, or the specified printer has lost its connection
to the server."

Here are my lines:
rundll32 printui.dll,PrintUIEntry /ia /c\\HP323.ourdomain.com /m "HP
LaserJet 4240 PCL 6" /h "Intel" /v "Windows 2000 or XP" /f
S:\IS\Install\Printers\HP4240_BW\english\Drivers\Win32_2000_XP_S2003\PCL6\hpc4x50c.inf

rundll32 printui.dll,PrintUIEntry /if /b "Test Printer"
/c\\HP323.ourdomain.com /f
S:\IS\Install\Printers\HP4240_BW\english\Drivers\Win32_2000_XP_S2003\PCL6\hpc4x50c.inf /r "IP_10.14.23.44" /m "HP LaserJet 4240 PCL 6"

This works if I were to take out /c\\computername, created TCP/IP port for
it, and installed on my local machine. What could I be missing?

Hope to hear from somebody. Any responses and/or suggestions would be
greatly appreciated! Thanks!!
 
C

cmschube

Did you try just using the NETBIOS name of the server instead of using
the CN?

cmschube
 
A

Alan Morris [MSFT]

printui needs to run in the user context when adding a connection for each
user. You can add a connection for the machine instead. Then each user
that logs on after creating this entry will get that connection.

http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm


I'm hoping I guessed what the issue was.
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/search/?adv=1

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top