Solved

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

Posted on 2013-05-22
5
354 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 53

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 53

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

In a hurry?.. scroll down to "HERE's HOW TO DO IT" Section. Greetings All, I was going to post this as question/solution, but its seems more appropriate as an article considering its length.  I felt it important to illucidate all the details c…
This article describes how to set permissions to allow a limited-permissions user to start and stop a particular System Service.   It is always best to give users only the permissions that they need to perform their job, so tweaking particular permi…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

762 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

20 Experts available now in Live!

Get 1:1 Help Now