"SC" Command line available for error 0x8DDD0018?



bhall
07-09-2005, 10:35 PM
Greetings,

I was getting error 0x8DDD0018, and I found that when I go to Services, and
make sure Automatic Updates, Background Intelligence Transfer Service, and
Event Log are set to "automatic" and "started" it works.

My question is if there is a command-line command that I can issue in a .bat
file that will set these services to automatic and start them if not already
started. I have many machines on my network that are having this issue and
I'd like to be able to remotely fix them.

I know there is a "SC" (Service Controller) command that you can use to
control services, but I don't know if this would work. I'm going to play
around with it and see if I can figure it out. In the meantime, if anyone
knows how to do this, I'd appreciate a reply. Thanks!

-bhall

bhall
07-09-2005, 10:35 PM
Windows Help and Support Center (F1) has a pretty good amount of info! I
wrote a .bat file that automatically stops Automatic Updates, BITS, and
Eventlog, sets them to auto, and starts them again. It seems to work, so
perhaps someone else can benefit. Copy the following and paste it into
Notepad, and save the file as <whatever>.bat :

sc stop wuauserv
sc stop BITS
sc stop Eventlog
sc config wuauserv start= auto
sc config BITS start= auto
sc config Eventlog start= auto
sc start wuauserv
sc start BITS
sc start Eventlog

-BHall

"bhall" wrote:

> Greetings,
>
> I was getting error 0x8DDD0018, and I found that when I go to Services, and
> make sure Automatic Updates, Background Intelligence Transfer Service, and
> Event Log are set to "automatic" and "started" it works.
>
> My question is if there is a command-line command that I can issue in a .bat
> file that will set these services to automatic and start them if not already
> started. I have many machines on my network that are having this issue and
> I'd like to be able to remotely fix them.
>
> I know there is a "SC" (Service Controller) command that you can use to
> control services, but I don't know if this would work. I'm going to play
> around with it and see if I can figure it out. In the meantime, if anyone
> knows how to do this, I'd appreciate a reply. Thanks!
>
> -bhall

David H. Lipman
07-09-2005, 10:35 PM
From: "bhall" <bhall@discussions.microsoft.com>

| It seems to work, so perhaps someone else can benefit.

< snip >

Not really. You posted in the wrong News Group so you have no targeted audience and thus
the benifit to others will be dismall at best.

This is the Windows Update News Group for discussing performing Windows Critical Updates and
software updates via the Windows Update Website and assiciated updates. What you want is
an OS related News Group. I'll assume WinXP because I didn't see the OS used in your post.

If it is WinXP, you should have posted in; microsoft.public.windowsxp.general

--
Dave
http://www.claymania.com/removal-trojan-adware.html
http://www.ik-cs.com/got-a-virus.htm

bhall
07-09-2005, 10:35 PM
Dave,

Actually this _would_ be beneficial to anyone who wants to get Windows
Critical Updates via the Windows Update Website since 0x8DDD0018 was the
error I kept getting when I would try to access this very site. The way you
fix it is to ensure the correct services are started and set to auto. The
following .bat file (revised) does just that.

@echo off
sc stop wuauserv
sc stop BITS
sc config wuauserv start= auto
sc config BITS start= auto
sc config Eventlog start= auto
sc start BITS
sc start wuauserv

-bhall

P.S. You can't stop Eventlog, and BITS should be started before wuauserv.

"David H. Lipman" wrote:

> From: "bhall" <bhall@discussions.microsoft.com>
>
> | It seems to work, so perhaps someone else can benefit.
>
> < snip >
>
> Not really. You posted in the wrong News Group so you have no targeted audience and thus
> the benifit to others will be dismall at best.
>
> This is the Windows Update News Group for discussing performing Windows Critical Updates and
> software updates via the Windows Update Website and assiciated updates. What you want is
> an OS related News Group. I'll assume WinXP because I didn't see the OS used in your post.
>
> If it is WinXP, you should have posted in; microsoft.public.windowsxp.general
>
> --
> Dave
> http://www.claymania.com/removal-trojan-adware.html
> http://www.ik-cs.com/got-a-virus.htm
>
>
>

David H. Lipman
07-09-2005, 10:35 PM
From: "bhall" <bhall@discussions.microsoft.com>

| Dave,
|
| Actually this _would_ be beneficial to anyone who wants to get Windows
| Critical Updates via the Windows Update Website since 0x8DDD0018 was the
| error I kept getting when I would try to access this very site. The way you
| fix it is to ensure the correct services are started and set to auto. The
| following .bat file (revised) does just that.
|
| @echo off
| sc stop wuauserv
| sc stop BITS
| sc config wuauserv start= auto
| sc config BITS start= auto
| sc config Eventlog start= auto
| sc start BITS
| sc start wuauserv
|
| -bhall
|
| P.S. You can't stop Eventlog, and BITS should be started before wuauserv.
|

OK then, it wasn't very clear in the post,

--
Dave
http://www.claymania.com/removal-trojan-adware.html
http://www.ik-cs.com/got-a-virus.htm


"SC" Command line available for error 0x8DDD0018?