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
  • 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Botnet detection help me please 21 85
Shoretel Edge Gateway 5 44
Network access 4 22
Need some help with Cisco 3750 switch configuration 8 0
Some time ago I was asked to set up a web portal PC to put at our entrance. When customers arrive, they could see a webpage 'promoting' our company. So I tried to set up a windows 7 PC as a kiosk PC.......... I will spare you all the annoyances I…
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

920 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now