Solved

Windows 7/8: add printer without logging in as administrator

Posted on 2013-05-22
5
362 Views
Last Modified: 2013-05-27
How can one add new printer (using 'Add printer' wizard) without logging in as administrator?

Consider situation: limited user asks administrator to add new printer and administrator wants to use remote connection (Remote Assistance, TeamViewer, ...) to do that.
0
Comment
Question by:marianhe
  • 2
  • 2
5 Comments
 
LVL 22

Accepted Solution

by:
Haresh Nikumbh earned 250 total points
ID: 39187107
Go to command prompt and type in following command


runas /U:administrator "rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL AddPrinter"

it will ask for administrator password, after entering that it will open Wizard
0
 
LVL 54

Expert Comment

by:McKnife
ID: 39187386
No need to do that.
With Remote assistance or teamviewer, we can use UAC to provide those credentials. With team viewer: no action required. With Rem.Assis.: look at this: http://blogs.msdn.com/b/asklar/archive/2012/03/14/remote-assistance-and-uac-prompts.aspx
0
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39187552
0
 

Author Comment

by:marianhe
ID: 39197391
Last comment is offtopic.
0
 
LVL 54

Expert Comment

by:McKnife
ID: 39198599
Please be aware that for the solution to work, you will have to enable the local administrator account, which is disabled by default. Enabling it is not recommended for security reasons because it is a well known account that can be attacked because normally you would not even change its password regularly.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

by Nathan Brom/Bromy2004 Introduction There are numerous websites out there for any different type of program you can imagine.  Of those, you'll need to decide which ones are legitimate and aren't trying to steal your money or infect your comput…
The way I use Experts Exchange to assist me in analyzing and diagnosing a problem is I first enter a Verbose Question at Experts Exchange like: Office 2007 will hang when opening and saving files I then launch WordPad (any text editor will do) an…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

791 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