Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
CamTron

Installing drivers without switching to administrator account

Recommended Posts

Like many people, I use Windows with a non-administrator account, this tends to cause problems when I plug in new devices. Every time I plug in a new USB flash drive, mouse, camera, WiFi card, or anything that my computer hasn't seen before, I get this message:

You do not have sufficient security privileges to install devices on this computer. Please contact your site administrator, or logout and log in again as an administrator and try again.

Most of the time, I can just click OK, and ignore the message, and the device works perfectly fine without installing special drivers for it, but the only way to get rid of the annoying message is to log out, log in as Administrator, let it install the driver, log out, and log back in to my normal account. Is there a way I can allow my standard user to install devices, or even be able to type a password to allow the Hardware Wizard to run with Admin rights?

Share this post


Link to post
Share on other sites

Hi.

 

1. Create Shortcut cmd.exe

2. check property run as another user.

3. Input Administorators id and password

4. Run devmgmt.msc or mmc.exe

5. you can install driver.

Share this post


Link to post
Share on other sites

Thanks! Somehow, I didn't think of doing that. I just created a shortcut to devmgmt.msc on the Desktop and set it to "Run as different user". It's a lot to click through, and not seamless like XP, but at least it works.

Share this post


Link to post
Share on other sites

It does take some action, but I understand it as an security advantage.

 

Drivers use to run in kernel mode on a PC. They access the whole machine, for instance they can read and write a sector on a disk without passing by the file system and asking the OS the permission to handle a specific file. Or they can set the fan speed and voltages on your mobo, or reprogram the Bios - potentially destructive.

 

A user process can't do that, so the user session protects your data and hardware.

 

It's correct for an operating system to limit the paths from user-mode (generally linked with user sessions) to kernel-mode (used by the system and on some OS by the admin sessions). Win95-98-Me didn't, Nt4 and followers try to (see the many "elevation of privilege" in Microsoft's patch list).

 

For such an advantage, I gladly open an admin session (or shortcut) every time I connect a new hardware.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...