Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 369
  • Last Modified:

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

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
marianhe
Asked:
marianhe
  • 2
  • 2
1 Solution
 
Haresh NikumbhSr. Tech leadCommented:
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
 
McKnifeCommented:
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
 
Haresh NikumbhSr. Tech leadCommented:
0
 
marianheAuthor Commented:
Last comment is offtopic.
0
 
McKnifeCommented:
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now