Jump to content

Allowing Users to Install Hardware Device Drivers


Zoom7000

Recommended Posts

See if this works:

http://www.novell.com/coolsolutions/tools/16306.html

Allow Users to Install USB Jump Drives

Novell Cool Solutions: Cool Tool

In Brief

Grant Users and Power Users the ability to install USB mass storage devices

jaclaz

P.S.: IF it does, you owe me a beer ;)

Unfortunately, this didn't fix the problem, so I'm still searching for a solution...

Link to comment
Share on other sites


I think you'll find that .exe does that anyway. I've looked at the script:

;AllowUSBJumpDrives.au3
;Created by Jeremy Mlazovsky
If IsAdmin ( ) = 0 Then
MsgBox ( 0+48+262144, 'Uh oh!', 'You need to have administrator-level access to run this utility!' )
Exit
EndIf

Dim $file = 'C:\Windows\inf\usbstor.inf'
Dim $group
$group = 'Power Users'
SplashTextOn ( $group, 'Updating permissions for the file' & @CRLF & $file & ' to' & @CRLF & 'Modify, Read and Execute, Read, Write!', 300, 75 )
RunWait ( 'cacls ' & $file & ' /E /G "' & $group & '":R', '',@SW_HIDE )
RunWait ( 'cacls ' & $file & ' /E /G "' & $group & '":W', '',@SW_HIDE )
RunWait ( 'cacls ' & $file & ' /E /G "' & $group & '":C', '',@SW_HIDE )
Sleep ( 2500 )

$group = 'Users'
SplashTextOn ( $group, 'Updating permissions for the file' & @CRLF & $file & ' to' & @CRLF & 'Modify, Read and Execute, Read, Write!', 300, 75 )
RunWait ( 'cacls ' & $file & ' /E /G "' & $group & '":R', '', @SW_HIDE )
RunWait ( 'cacls ' & $file & ' /E /G "' & $group & '":W', '', @SW_HIDE )
RunWait ( 'cacls ' & $file & ' /E /G "' & $group & '":C', '', @SW_HIDE )
Sleep ( 2500 )

SplashOff()

MsgBox ( 0+262144, @ScriptName, 'Users and Power Users should now be able to install USB Flash drives!', 10 )

Could it be anything to do with Driver Signing? Albeit I have told AD to ignore all instances of Driver Signing.

Link to comment
Share on other sites

Yes, that's exactly the idea behind the script, i.e. setting ACL permissions, the problem is that the path is "hardcoded" into 'C:\Windows\inf\usbstor.inf', so that it won't work if you have a different %windir%/%SystemRoot%.

The only thing that should prevent installing the USB device should be if the device is not standard, i.e. it does not comply with either the eplicit vid&pid or the general Class&Subclass declared in usbstor.inf.

Also check permissions on the tree above USBSTOR.INF, maybe something needs to be changed there, as said I am not an expert on this, but maybe some Ownership and Inheritance settings do override the file ones.

A test you could make, if you can make a test install, is to setup XP on a FAT32 partition....

Another idea (again of which I have NO experience) could be using NTRIGHTS:

http://www.ss64.com/nt/ntrights.html

with the "SeLoadDriverPrivilege"

jaclaz

Edited by jaclaz
Link to comment
Share on other sites

OK, didn't work... I've spoken to a few people having the same problem on another forum and everyone keeps mentioning that it has something to do with unsigned drivers, however, I'm just totally confused because I've got this problem with almost all USB flash drives.

Link to comment
Share on other sites

It's fixed! This Utility basically gives you a work around. But I've tested it on 5 machines and it works wonders. The name (USB Drive Letter Manager) makes you think it's not related, but it works! Phew...

Thank you, jaclaz, for all your help anyway, maybe we can have that coke now! ;)

Link to comment
Share on other sites

Happy problem is solved. :)

However it is very interesting, I use that utility normally, I would have never thought it had that "side effect"....but again, I have Admin credentials and am on Win2K....

jaclaz

Link to comment
Share on other sites

*Spits out Coke in Frustration!*

OK, now I am baffled. I have tested this on numerous machines and it was working fine. However, I have had complaints that it is still not working on some machines. So I have had a look. I've taken 2 screenshots. Both machines are HPDC7600's, both are identical in spec, both have been created using the same RIS image. However, these are the results:

workingxm0.th.png

notworkingru2.th.png

What could be causing the wrong "detection" so to speak?

Link to comment
Share on other sites

Hmmm, black magic needed? :ph34r:

I would check (comparing them) the USBSTOR.INF file on both machines to the one on another (working) one, then would try on those two machines some other sticks, and try THAT stick on other machines, to see if the problem is on the machines by themselves, is related to just the Corsair stick or it belongs to THAT stick on THOSE TWO machines...

jaclaz

P.S.:also double check that those machines have exactly the same "Windows Update" and Hotfix level...

Edited by jaclaz
Link to comment
Share on other sites

My local library has a problem similar to this on some computers whereas others work.

The library has Windows XP Pro.

a ). I log in as a regular user. I plug my firelite 80gig Hard disk or 4Gig Sandisk U3 device into the computer.

b ). The OS recognizes both, but then soon thereafter, it displays a window to login as administrator

to install the device(s). Other computers around me have no problem with these devices, only certain

computers.

I've bugged the admin to fix this problem, but I guess they don't know how they've configured their own machines.

.... :(

I will suggest the article mentioned above http://support.microsoft.com/kb/326473 so that they can take

a look at the server-side vs. client-side admin rights mentioned in this KB article. All library patrons use

a magnetic card that acts as a roaming profile and stores our web-browser favorites too which are read

off this library card. I'm not sure if the basic user is considered part of the power user group to install

s/w drivers though.

Edited by mikesw
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...