• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 374
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

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