Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2009-06-29
2
Medium Priority
?
205 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 1500 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

721 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