Windows – Device manager access for non admins

administrationdevice managergpeditgroup-policywindows 7

Windows 7, 64bit.

Is it possible to allow non admins access to edit the device manager?

Currently when logged in as a non admin and I try to access the device manager I see the following;

enter image description here

I have tried to make the changes in gredit.msc but they don't seem to make any difference.

local computer policy > computer configuration > windows settings >
security settings > local policies > user rights assignment > Load and
unload device drivers > add specific user/group

The only thing that works is by adding my non admin user into the admin user group, this works fine. I'd rather not do this though, I'd prefer to give them access to the device manager only.

Any advice is appreciated.

Best Answer

Try this im Curious.

If it does not work let me know I dont have a non admin account at my work desk.

Open a Text file and save the code below as DeviceManger.bat

@echo off

:: BatchGotAdmin
:-------------------------------------
REM  --> Check for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"

REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
    echo Requesting administrative privileges...
    goto UACPrompt
) else ( goto gotAdmin )

:UACPrompt
    echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
    set params = %*:"=""
    echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"

    "%temp%\getadmin.vbs"
    del "%temp%\getadmin.vbs"
    exit /B

:gotAdmin
    pushd "%CD%"
    CD /D "%~dp0"
:--------------------------------------
cls
echo.
echo Start as admin:
echo /------------------\
echo # 1. Device Manager#
echo \------------------/
echo.

set /p run=

if %run%==1 (
set run="devmgmt"
)

%run%

Run the .bat and press 1 and hit Enter.

Related Question