FIXED - "Access Denied" when installing usb devices under Administrator

stinger25

Senior member
Jan 8, 2003
358
0
0
If anyone can help it'd be much appreciated. This error has happened for every usb device I have tried to install.

I am logged in as the local Administrator. I try to install the device, and it looks like it identifies it and pulls the drivers, but at the end, under the device installation wizard, I get "Windows was unable to install your device due to the following errors:
Access denied"

I've tried to google this, but no luck.

Again, any tips would be appreciated! :)
 

MiniDoom

Diamond Member
Jan 5, 2004
5,305
0
76
Are you sure it is the "administrator" account. Particularly on servers I know a few of us rename the admin account and create a new account called administrator with no rights. Just a thought.
 

stinger25

Senior member
Jan 8, 2003
358
0
0
I'm sure its the adminsitrator's profile. I've even checked it under 'local Users and Groups' and made sure it's under the administrator's group. Theres also a network account we use here that's located under the administrator's groups that gives back the same error.

I should note that I was getting this same error when installing the keyboard, but after uninstalling, re-booting and re-installing, it was fixed. Not so with other devices.
 

stinger25

Senior member
Jan 8, 2003
358
0
0
Ok so I found the fix, just in case anyone's interested. Here it is:

1. Download and install subinacl from:

http://www.microsoft.com/downloads/deta...-4a91-93cf-ed6985e3927b&displaylang=en

2. Create a file named reset.cmd in C:\Program Files\Windows Resource
Kits\Tools folder.

3. Edit the reset.cmd file with the following content.

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=systems=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=system=f

4. Enter into CMD prompt.

5. Enter the following commands one at a time and click Enter.

cd\
cd "C:\Program Files\Windows Resource Kits\Tools"
reset.cmd

6. After a few minutes by processing subinacl, please test the problem
again.