Microsoft KB Archive/892891

= You receive an &quot;Access is denied&quot; error message when you install the Bluetooth stack and detect a Bluetooth device in Microsoft Windows XP Service Pack 2 =

Article ID: 892891

Article Last Modified on 5/3/2006

-

APPLIES TO


 * Microsoft Windows XP Professional
 * Microsoft Windows XP Home Edition

-





Notice
Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When you install the Microsoft Bluetooth stack and detect a Bluetooth device in Microsoft Windows XP Service Pack 2 (SP2), you receive an &quot;Access is denied&quot; error message. Additionally, your computer cannot configure the Bluetooth device.



CAUSE
This problem may occur if you connect a Bluetooth device to a computer that has the Atheros wireless local area network (LAN) adaptor installed. The first time that you start your computer after you upgrade to Windows XP SP2, or the first time that you start a computer that has Windows XP SP2 installed, the Windows security database may become corrupted. If you install the Bluetooth stack when the Windows security database is corrupted, the wrong user right is set to the registry key that is required to configure the Bluetooth device. Therefore, the Bluetooth device does not configure correctly.



WORKAROUND
To verify whether the Windows security database is corrupted, follow these steps:  Click Start, click Run, type cmd, and then click OK. At the command prompt, type

esentutl /g %windir%\security\database\secedit.sdb

You should receive output that is similar to the following output:

Microsoft(R) Windows(TM) Database Utilities Version 5.1 Copyright (C) Microsoft Corporation. All Rights Reserved.

Initiating INTEGRITY mode... Database: C:\WINDOWS\security\database\secedit.sdb Temp. Database: TEMPINTEG1704.EDB

Checking database integrity.

Scanning Status (% complete)

0   10   20   30   40   50   60   70   80   90  100          |||||||||||          ...................................................

Integrity check successful.

Operation completed successfully in 1.592 seconds.

If the Windows security database is corrupted, the output will contain the following line:

This operation may find that this database is corrupt.



To work around this problem, follow these steps:  If both the Edb.log file and the Edb.chk file are in the %windir%\security directory, follow these steps to repair the security database:  Click Start, click Run, type cmd, and then click OK.</li> At the command prompt, type

esentutl /r edb /l %windir%\security /s %windir%\security

</li></ol> </li> If either the Edb.log file or the Edb.chk file is in the C:\WINDOWS\security directory, or if neither file exists in the directory, follow these steps to repair the security database:  Click Start, click Run, type cmd, and then click OK.</li> At the command prompt, type

esentutl /p %windir%\security\Database\secedit.sdb

</li> Click OK when you receive the following message:

You should only run Repair on damaged or corrupted databases. Repair will not apply information in the transaction log files on the database, and may cause information to be lost. Do you wish to proceed?

</li></ol> </li> After you repair the security database, follow these steps to modify the registry so that you can access the registry key that is required to configure the Bluetooth device:   Create the C:\bt.inf file that has the following text. [version] signature=&quot;$CHICAGO$&quot; revision=1 DriverVer=07/01/2001,5.1.2600.1106

[Registry Keys] &quot;MACHINE\SYSTEM\CurrentControlSet\Services\BTHPORT&quot;,0,&quot;D:AR(A;CI;GRGW;;;PU)(A;CI;GRGW;;;LS)&quot; </li> Click Start, click Run, type cmd, and then click OK.</li> At the command prompt, type

secedit /configure /cfg C:\bt.inf /db C:\bt.sdb

</li> Delete the C:\bt.inf file and the C:\bt.sdb file.</li></ol> </li></ol>

Note Before you follow the steps that are outlined in this article, verify that the Bluetooth Support service has been started and that the Bluetooth Support service is configured to use the local administrator account. For more information about how to troubleshoot the Bluetooth Support service, click the following article number to view the article in the Microsoft Knowledge Base:

894035 The Bluetooth Devices item is not present when you open Control Panel

<div class="moreinformation_section">

MORE INFORMATION
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

884018 You cannot add a Windows component in Windows XP

Keywords: kberrmsg kbprb KB892891

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.