Solved

I am trying to use printui.dll to map a network printer at logon

Posted on 2009-06-29
2
201 Views
Last Modified: 2012-05-07
I have setup the following as part of a logon script to add a printer at login.

When the script runs at login I get a popup box asking me to click on OK to complete the process. When I do this the printer is added and works fine.

I need to get rid of of this popup

Any suggestions?


rundll32 printui.dll, PrintUIEntry /in /q /G[w] /n\\mars\cyber_print

Open in new window

0
Comment
Question by:roy_batty
2 Comments
 
LVL 1

Author Comment

by:roy_batty
ID: 24734525
I only get the popup when i run the script manually. when the script runs at login I dont see the popup but the printer says access denied
0
 
LVL 8

Accepted Solution

by:
Milan_Ojh earned 500 total points
ID: 24735458
you can have a view of below given question link it may help you out:

http://www.experts-exchange.com/Operating_Systems/Q_21464040.html
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Group policy not applying 5 101
How Do I Set Up XP Mode in Windows 7? 8 84
How to set IPSec under Server 2008 R2 and Server 2012 R2 3 44
Event ID 1054 Userenv 2 34
Have you considered what group policies are backwards and forwards compatible? Windows Active Directory servers and clients use group policy templates to deploy sets of policies within your domain. But, there is a catch to deploying policies. The…
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 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