DHCP Client Service cannot start after conficker invaded
Hi everyone,
Thank you for your help in advaced.
I have some servers with static IP assigned and have been running fine until
the moment they got the "conficker" infected. Now the servers are clean, and
they can go to "mcafee.com" and "microsoft.com". But they could not start the
DHCP client service. I know it is not important at this point as the servers
are running on static IP. But I just want to look into the solution.
Thank you very much for your help.
Bobson
Re: DHCP Client Service cannot start after conficker invaded
Hi Meinolf,
Thank you for your prompt response.
The "warning" i got is: Even ID 1004, Source DHCP. It said The DHCP CLient
Service is shutting down. The follow error occurred: Access is Denied.
I did some resaarch and found couple of article to fix the similar error by
adding "network services" group to something in the registry. But it could
not fix the problem. WHen I start the service, it would tell me it won't
start and access denied.
Hope the info help.
Re: DHCP Client Service cannot start after conficker invaded
Hi Pegasus,
Yep I totally agreed with you at some point. But we have 40 servers right
here mgiht have the same problem. I would rather trying other solutions first
and will put this as a last resort.
I have complete wiped out two of them and they started up right now compared
to the others.
Thank you for your help!
Solved: DHCP Client Service cannot start after conficker invaded
Hi Meinolf,
My apology!! As mentioned, I followed one of the articles before (you also
sent me the same one). I claimed that it could not resovle the problem... I
was wrong!! Once the server rebooted after changing registry, the DHCP
clients can start again!
I should have done so earlier.
Thank you very much for all your help (everyone's) !!
RE: Solved: DHCP Client Service cannot start after conficker invaded
Just as an FYI. These are the only permissions needed to fix this problem.
This is what a default out of box install does:
Modify the permissions of this registry key:
HKLM\SYSTEM\CurrentControlSet\Services\Dhcp\Parameters
Add this builtin group -- access: Network Service -- Full Control
Add this builtin group – access: Network Configuration Operators -- Read
Have these permissions applied down the hive from the Parameters key --
Check “Replace permission entries on all child objects….†Under advanced.
We ran into the same problem and fixed it on all computers with a GPO.
RE: Solved: DHCP Client Service cannot start after conficker invad
Hi Troy,
I was about to reply to Meinolf that the fix still did not work. ANd I just
called Microsoft but our free tickets were used up.
And I found your response as my bright light!!! It defintely works. And you
claim me down now !!! I really apprecaite your help! This is the same to all
of the others' help and responses!!
Bobson
Re: DHCP Client Service cannot start after conficker invaded
Hi Cubanomx
In fact, all of our servers already have SP2 installed and the damage is
true. Unless you have the image back for those servers (which someone
mentioned in this post)... I would have no choice to wipe it out to redo
those.
The fix really worked for me and I am so~~~ happy at this point as well :)
hope things will go thru smooth to you.
Again, thank you for all the responses and the solution here!!
Re: DHCP Client Service cannot start after conficker invaded
Hi Cubanomx,
Thank you again for the info! May you mind if we could keep in touch? I can
also write you what we had here with the conficker... In fact some of the
"ways" you mentioned did not work for us though...
My personal email is ultrabobson@hotmail.com. For sure my machine which will
be used to email you is clean and do not worry about "infection"...at this
point :)
Troy here was the person to tell me the soltion. He is great!!
Take care. Thank you.
RE: Solved: DHCP Client Service cannot start after conficker invad
Sorry for the delay in response. I didn't have it set to Notify me of
replies....didn't think I would get any.
We ended up not going with the GPO fix. We wanted the fix to be more
permanent and to only fix the computers that were affected. I created two
scripts to fix all the computers. The first script scans a list of computer
names and creates a log for you to double check. This log tells you if the
computer is on, if the permissions are right, if the service is started and
the Product name of the OS. Remove the lines of the computers to don't want
to change...(I could have combined the two scripts but I like to double and
triple check things like this...a little OCD, I guess). Then run the second
script against your modifed log. Windows 2000 computers are not affected.
The DHCP Client service starts as the Local System account...not the Network
Service account.
After you run the second script your can rerun the first to rescan and
double check to make sure everything is good.
Your computer list input file should not include the "\\". I'm sure this
little window I am typing in will really mess up the formatting too. As
always, test first...And I am not responsible if anything bad happens. I ran
it in my environment and it worked great....ENJOY!
----------------------------------snipit-------------------------------------
@echo off
echo +==========================================================+
echo + +
echo + Check DHCP Client Service Registry Permissions +
echo + +
echo + Enter the file to read from: +
set list=
set /p list=%list%
set output=ScanOutput.log
echo Servername,Power,RegistryPerms,Service State,ProductName>%output%
for /f "tokens=*" %%a in (%list%) do call :isitup %%a
If exist templog del templog
echo +==========================================================+
:end
exit /b
:isitup
set power=Off
set regperms=DoubleCheck
set PName=NA
Set scstate=NA
ping -n 1 %1|find /i "Request">nul 2>nul
if %errorlevel%==1 set power=On
If %power%==On goto check
If %power%==Off goto output
exit /b
:check
Echo Checking: %1
for /f "tokens=4" %%b in ('sc \\%1 query "DHCP" ^|find /i "state"') do set
scstate=%%b
subinacl /nostatistic /noverbose /outputlog=templog /keyreg
\\%1\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Dhcp\Parameters
/display
for /f "tokens=* skip=2" %%z in ('reg query
"\\%1\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName') do
set PName=%%z
set PName=%PName:~25%
type templog |find /i "network" >nul 2>nul
If %errorlevel%==0 Set regperms=Good
If "%PName%"=="Microsoft Windows 2000" set regperms=NA
:output
echo %1,%power%,%regperms%,%scstate%,%PName% >>%output%
----------------------------------snipit-------------------------------------
Re: DHCP Client Service cannot start after conficker invaded
Friend, you saved me not to format.
Thanks
Re: DHCP Client Service cannot start after conficker invaded
The article I am refering to is KB 895149
and here is the link to it
http://support.microsoft.com/kb/895149
Re: DHCP Client Service cannot start after conficker invaded
Thank you very much for posting the link. Hopefully it will help others if
they find this thread searching the Internet.