Solved

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

Posted on 2009-06-29
2
202 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
[X]
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 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Backup and host a VM 6 88
Demoting old remnants of Domain Controller from Active Directory 9 68
No IP Address Assigned to VM 10 159
ESXI update version 5.5.0.1623387 7 73
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure 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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

759 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