Adding a shared printer

Posted on 2006-10-20
Last Modified: 2010-03-19
I use "rundll32 printui.dll,PrintUIEntry /in /n \\server\lexmark" to add printers at log on, I tried to use it to add a shared printer that wasn't on the server, its on a client pc. It said that I have a policy in effect that doesnt allow this. I cant seem to locate anything that applies to this. Does anyone know where a setting would be that I could change to allow this printer to be added. It also won't add when I browse to it manually and choose connect, it still says that the policy doesnt allow.

Question by:amdvar
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 43

Expert Comment

by:Steve Knight
ID: 17774472
Is it connected to an older OS machine?  It could be down to the policy not allowing old drivers. Try sharing it from a machine of the same OS or install the drivers on the sharing tab.

Author Comment

ID: 17774626
No its an XP machine

Accepted Solution

nitadmin earned 250 total points
ID: 17778772
You could also use the in your login script.

start   \\print_server\print_name

LVL 43

Expert Comment

by:Steve Knight
ID: 18015535
Would suggest nitadmin's suggestion will work in exactly the same way as the command the questioner used (he said "It also won't add when I browse to it manually and choose connect") so I'm not sure there is a lot of value in keeping it ?.... missed the replies to this before.  amdwar, did you get anywhere with this?


Author Comment

ID: 18610017
I took the printer off the pc I could not connect to and put it on a server and now its ok.


Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question