Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Hallo! I guess almost every Windows Administrator must have got stumped with this question "Where does WINDOWS store a users cached credentials? Every user who had once logged onto a Server/Desktop while it was connected to the domain could sti…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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…

919 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

15 Experts available now in Live!

Get 1:1 Help Now