Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 922351 - Last Review: February 8, 2007 - Revision: 1.2
Error message when you run the Inventory Tool for Microsoft Updates on a Systems Management Server 2003 client computer: "AddScanPackageService() failed."
When you try to run the Inventory Tool for Microsoft Updates (ITMU) on a Microsoft Systems Management Server 2003 (SMS) client computer, the Inventory Tool for Microsoft Updates may be unsuccessful. When this problem occurs, the SMSWusHandler.log
file contains the following error message:
AddScanPackageService() failed.
ERROR: Search() failed with hRes=0x80070005
0x80070005 is the hresult value for the operation.
Returning 5 as the exit code.
Additionally, the WindowsUpdate.log file on the SMS client computer may contain the following error message:
This problem may occur when the security descriptor for the Automatic Updates service does not contain an entry
for the Authenticated Users group. Or this problem may occur when the location of the security descriptor has changed.
To resolve this problem, use one of the following methods.
Method 1: Remove the user account that is experiencing the problem from the Guests account group or the limited account group
- Click Start, click Run, type control admintools, and then click OK.
- Click Computer Management.
- Expand Local Users and Groups.
- Select Users.
- Open the account that is used to access Windows Update or Microsoft Update.
- Click the Member Of tab.
- Select the user account that you want to remove, and then click Remove.
Method 2: Set the security descriptor
- Click Start, click Run, type cmd, and then click OK.
- Type the following command, and then press ENTER:
sc sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
Notes- After you press ENTER, you receive a success message.
- The Sc.exe tool is included with Microsoft Windows Server 2003 and with Microsoft Windows XP. The Sc.exe tool is also available in the Microsoft Windows 2000 Server resource kit.
- To close the command prompt, type Exit.
Method 3: Add the "Administrator and Service" account to the "Impersonate a client after authentication" policy
- Click Start, click Run, type secpol.msc, and then press ENTER.
- Expand Local Policies.
- Click User Rights Assignment.
- Double-click the Impersonate a client after authentication policy.
- On the Local Security Settings tab, click Add User or Group, and then add the Administrator and Service account to the list of Users and Groups.
- Click OK, and then restart the computer.
Method 4: Configure the remote procedure call (RPC) service to log on as a local system account
- Click Start, click Run, type services.msc, and then click OK.
- Locate and right-click the Remote Procedure Call (RPC) service, and then click Properties.
- On the Log On tab, click the Local System account, click Apply, and then click OK.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
883821Â
(http://kbalertz.com/Feedback.aspx?kbNumber=883821/
)
You may receive an error message when you search for available updates on the Windows Update Web site or on the Microsoft Update Web site
APPLIES TO
- Microsoft Systems Management Server 2003
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate