2014-07-11

DHCP Client Service Error 1068 相依服務或群組無法啟動

DHCP Client Service Error 1068 相依服務或群組無法啟動

1. 確認 afd.sys / tcpip.sys / netbt.sys 檔案完整性, 或直接重建

2. 修改 HKLM Services DHCP 及 TCPIP 的權限, 賦予 Local Service / Network Service 完整權限

*. 詳細解法參考以下:

Step 1: Make sure that the three driver files are present

Open Windows Explorer and navigate to %Windir%\System32\Drivers folder. Make sure that the following files are present in the folder:

  • afd.sys
  • tcpip.sys
  • netbt.sys 
If one or more of the above driver files are missing, run System File Checker (SFC) scan to replace those files.

How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7

In case SFC scan doesn’t repair the files, follow the steps given in the link above on how to repair those corrupted files.

Step 2: Verify that the Dependency Service / components are running

Next step is to verify that the three dependency components are running.

Follow the steps below:

a)   Click Start, type "DEVMGMT.MSC" without the quotes in the field and press Enter.
b)   In the View menu, click  Show hidden devices.
c)    Double-click Non-Plug and Play drivers section
d)   Double-click the entry  AFD (Ancilliary Function Driver for Winsock) , and click the Driver tab.
e)   Set the Startup type to  System.
f)    Start the service. Note down the error message if any.
g)   Similarly start the two other drivers namely: TCP/IP Protocol Driver and  NetBios over Tcpip.
h)    Close Device Manager and restart Windows.

檢查後確認為 AFD (Ancilliary Function Driver for Winsock) 檔案損壞 (System32/drivers/afd.sys)
先將 System32/Drivers 路徑下 afd.sys / netbt.sys /tcpip.sys 三個檔案搶奪擁有者後刪除
執行 sfc /scannow 修復遺失或損毀的系統檔案, 會重新產生 netbt.sys 與 tcpip.sys, 但沒有 afd.sys

從一台沒問題的 Windows 7 x86 複製 afd.sys 過來
再將以下兩個註冊機碼的權限 ACL 加入 Local Service 與 Network Service
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp 及其下的 Parameters
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip 及其下的 Parameters
重開機後 DHCP Client 便可啟動

參考網頁:
http://answers.microsoft.com/en-us/windows/forum/windows_vista-performance/dhcp-client-error-1068-dependency-service-or-group/ee620803-5626-443f-a0f7-d37d45821ced

沒有留言:

張貼留言