Access is Denied When attempting to load drivers

S

sallingr

I have been attemptin to install a USB to serial port
converter on my IBM 2724 laptop. I am running WinXP pro
and when I attach the device to my laptop the system
recognizes it but as it goes to load the drivers I get the
message "An error occurred during the installation of the
device Access is denied". I have attempted to load the
device on another XP machine and it loads fine. I
contacted IBM butthey were of no help. It sounds like a
permissions snafu, but I can't find any items in the
Knowledge base that addresses this issue exactly.
Hopefully there is someone out there who has had this
problem.

Thanks in advance for any help you might be.
 
P

Pavel A.

Add the following registry value (hope you are comfortable with regedit):

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\
LogLevel = (DWORD) 0x2000FFFF

Then retry installation of your driver and locate file setupapi.log in %windir%.
Please post any relevant info you find in the log.


Good luck,
- PA
 
B

Bill Curtis [MSFT]

Do you have local administrator rights to your system?

- Bill Curtis [MSFT]
“This posting is provided "AS IS" with no warranties, and confers no
rights.”
 
S

sallingr

Pursuant to your instructions I received the following in
the setupapi.log file:

-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [ComPort]
in "c:\windows\inf\oem16.inf".
#I320 Class GUID of device remains: {4D36E978-E325-11CE-
BFC1-08002BE10318}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [ComPort]
in "c:\windows\inf\oem16.inf".
#I320 Class GUID of device remains: {4D36E978-E325-11CE-
BFC1-08002BE10318}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-124 Doing copy-only install of "USB\VID_050D&PID_0109
\180068".
#W334 Failed to verify catalog when scanning file queue.
Error 1168: Element not found.
#E366 An unsigned or incorrectly signed
file "c:\windows\inf\oem16.inf" for driver "Belkin F5U109
Serial Port" will be installed (Policy=Warn, user said
ok). Error 1168: Element not found.
#W187 Install failed, attempting to restore original files.
#E362 An unsigned or incorrectly signed
file "c:\windows\inf\oem16.inf" for driver "Belkin F5U109
Serial Port" will be installed (Policy=Warn). Error 1168:
Element not found.
#-024 Copying file "C:\WINDOWS\System32\Belkin\F5U109
\WinXP\U2S2KXPB.SYS" to "C:\WINDOWS\System32
\DRIVERS\U2S2KXPB.SYS".
#E362 An unsigned or incorrectly signed
file "C:\WINDOWS\System32\Belkin\F5U109
\WinXP\U2S2KXPB.SYS" for driver "Belkin F5U109 Serial
Port" will be installed (Policy=Warn). Error 1168: Element
not found.
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#E057 Registering coinstallers failed. Error 5: Access is
denied.
#E157 Default installer failed. Error 5: Access is denied.
#I060 Set selected driver.

As I had attempted this action numerous times the same
message appeared to repeat. I have tried to use both the
CD supplied with the equipment and the latest download
from the web so I'm not sure where the problem lies.
 
S

sallingr

Yes sir I do. Both on the local machine and on the network
the machine is attached to.
 
P

Pavel A.

sallingr said:
Pursuant to your instructions I received the following in
the setupapi.log file:
<snip>

Great, you did it! Now you have something to show to the IBM support.
(honestly I don't understand what exactly is failng there)

- PA
 
M

Michael Solomon \(MS-MVP Windows Shell/User\)

Were the drivers copied to disk on a different computer. If yes, copy the
install files to the PC on which you are trying to install the drivers, then
take ownership on the machine on which you wish to install them as follows:

Note, file ownership and permissions supersede administrator rights. How
you resolve it depends upon which version of XP you are running.



XP-Home



Unfortunately, XP Home using NTFS is essentially hard wired for "Simple File
Sharing" at system level.

However, you can set XP Home permissions in Safe Mode. Reboot, and start
hitting F8, a menu should eventually appear and one of the
options is Safe Mode. Select it. Note, it will ask for the administrator's
password. This is not your administrator account, rather it is the
machine's administrator account for which users are asked to create a
password during setup.

If you created no such password, when requested, leave blank and press
enter.

Open Explorer, go to Tools and Folder Options, on the view tab, scroll to
the bottom of the list, if it shows "Enable Simple File Sharing" deselect it
and click apply and ok. If it shows nothing or won't let you make a change,
move on to the next step.

Navigate to the files, right click, select properties, go to the Security
tab, click advanced, go to the Owner tab and select the user that was logged
on when you were refused permission to access the files. Click apply and
ok. Close the properties box, reopen it, click add and type in the name of
the user you just enabled. If you wish to set ownership for everything in
the folder, at the bottom of the Owner tab is the following selection:
"Replace owner on subcontainers and objects," select it as well.

Once complete, you should be able to do what you wish with these files when
you log back on as that user.



XP-Pro



If you have XP Pro, temporarily change the limited account to
administrative. First, go to Windows Explorer, go to Tools, select Folder
Options, go to the View tab and be sure "Use Simple File Sharing" is not
selected. If it is, deselect it and click apply and ok.



If you wish everything in a specific folder to be accessible to a user,
right click the folder, select properties, go to the Security tab, click
Advanced, go to the Owner tab,
select the user you wish to have access, at the bottom of the box, you
should see a check box for "Replace owner on subcontainers and objects,"
place a check in the box and click apply and ok.

The user should now be able to perform necessary functions on files in the
folder even as a limited account. If not, make it an admin account again,
right click the folder, select Properties, go to the Security tab and be
sure the user is listed in the user list. If not, click add and type the
user name in the appropriate box, be sure the user has all the necessary
permissions checked in the permission list below the user list, click apply
and ok.

That should do it and allow whatever access you desire for that folder even
in a limited account.






--
Michael Solomon MS-MVP
Windows Shell/User
Backup is a PC User's Best Friend
DTS-L.Org: http://www.dts-l.org/

sallingr said:
Yes sir I do. Both on the local machine and on the network
the machine is attached to.

-----Original Message-----
Do you have local administrator rights to your system?

- Bill Curtis [MSFT]
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
B

Black Dragon

Well, I got a similar error here with xp sp2, but with a webcam, RAI
controller and SoundCard.
I do registry modification explained by Pavel, and readed every line o
that log file.
I found a section who says that some OEM*.inf (* = any number) ha
failed. But I have here 2 xp instalations by personal reasons. I jus
copied that oem*.inf file from one instalation to another an
re-install the driver. Now works fine. Why this error happens, I do no
even wanna know but has a sollution now.

Best luck for you.I'm brazilian and sorry about my bad english


-
Black Drago
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top