Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The Automatic Updates Service starts and then stops automatically


Author: Mohammed Athif Khaleel MVP

View products that this article applies to.

Summary

The Automatic Updates Service starts and then stops automatically or you may see Error 0x8DDD0018 that automatic updates is not enabled.

↑ Back to the top


Symptoms

You see Automatic Update Services stops automatically even though the services is set to automatic start up.

↑ Back to the top


Cause

This reason for such behavior is, If you change the properties of� the Automatic Updates service (via Group Policy - Computer Configuration, Windows Settings, Security Settings, System Services) to set it as Disabled or edited the Access Control,�ACL on�Automatic Update Client (WUAUSERV)�service.

↑ Back to the top


Resolution

Since, the ACL (permissions) on the Automatic Update Service (WUAUSERV) is changed, we have to reset the security settings on the Automatic Updates Service (WUAUSERV)�& BITS Service to the default settings;

To reset the ACL on the BITS & WUAUSERV services to default, run the following command (in one line) as Domain Administrator or Local System account on the machine. (Only these accounts can modify the ACL on these services on your machine)

1.
sc sdset bits
"D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"

2.
sc sdset wuauserv��
"D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"

Note:�Both the commands�needs to be on one line from a command prompt (disable word wrap). See the batch file which can automate the process.

To automatically run the commands, save the following code in the Notepad & use this simple SetServiceObjectSecurity.cmd batch file & double click to run
=========================================================================================
@echo off
Echo This batch file will Set Service Object Security for WUAUSERV & BITS.
Echo Please wait...
@echo on
sc sdset bits "D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)" >>C:\SetServiceObjectSecurity.log
sc sdset wuauserv "D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)" >>C:\SetServiceObjectSecurity.log
@echo off
Echo Open C:\SetServiceObjectSecurity.log for SUCCESS entry.
Echo Open the Services applet from control panel to see if the services are started.
Echo For any errors; report on http://groups.msn.com/NTarabia
@echo off
Pause
=========================================================================================

↑ Back to the top


More information

Procedure to manually Re-Install Automatic Update Client
http://support.microsoft.com/kb/555331

↑ Back to the top


Community solutions content disclaimer

Microsoft corporation and/or its respective suppliers make no representations about the suitability, reliability, or accuracy of the information and related graphics contained herein. All such information and related graphics are provided "as is" without warranty of any kind. Microsoft and/or its respective suppliers hereby disclaim all warranties and conditions with regard to this information and related graphics, including all implied warranties and conditions of merchantability, fitness for a particular purpose, workmanlike effort, title and non-infringement. You specifically agree that in no event shall Microsoft and/or its suppliers be liable for any direct, indirect, punitive, incidental, special, consequential damages or any damages whatsoever including, without limitation, damages for loss of use, data or profits, arising out of or in any way connected with the use of or inability to use the information and related graphics contained herein, whether based on contract, tort, negligence, strict liability or otherwise, even if Microsoft or any of its suppliers has been advised of the possibility of damages.

↑ Back to the top


Keywords: kbpubtypecca, kbpubmvp, kbhowto, KB555336

↑ Back to the top

Article Info
Article ID : 555336
Revision : 1
Created on : 9/21/2005
Published on : 9/21/2005
Exists online : False
Views : 561