Sửa lỗi The Dependency Service or Group Failed to Start: Do dịch vụ Windows không khởi động. File hệ thống nlasvc.dll (system32) bị nhầm là virus → corrupt → xung đột với dịch vụ Network Location Awareness (NLA). Dịch vụ này thu thập/lưu cấu hình mạng và thông báo khi thay đổi. Nếu corrupt, các dịch vụ phụ thuộc cũng fail.
Triệu chứng: Icon mạng có dấu X đỏ, "Connection status: Unknown – The dependency service or group failed to start". Không kết nối được Internet dù cắm dây LAN. Network Troubleshooter báo "The Diagnostic Policy Service is not running" và thoát. Nguyên nhân: dịch vụ localservice và networkservice bị corrupt/xóa.
Sửa lỗi The Dependency Service or Group Failed to Start
Lưu ý: Tạo điểm khôi phục trước khi thực hiện.
Phương pháp 1: Thêm Localservice và Networkservice vào nhóm Administrators
- CMD Admin → gõ lần lượt:
net localgroup administrators localservice /addnet localgroup administrators networkservice /add - Exit CMD → Reboot. Thường khắc phục xong lỗi.
Phương pháp 2: Cấp quyền Registry cho Network/Local Service (SubInACL)
- Tải SubInACL từ Microsoft → cài đặt.
- Notepad → lưu file
permission.bat(All files) với nội dung:subinacl.exe /subkeyreg "HKEY_LOCAL_MACHINE\system\CurrentControlSet\services\NlaSvc" /grant="Local Service"subinacl.exe /subkeyreg "HKEY_LOCAL_MACHINE\system\CurrentControlSet\services\NlaSvc" /grant="Network Service" - Chạy file .bat → Reboot.
- Nếu lỗi DHCP: thêm 2 dòng tương tự cho khóa
dhcp.
Phương pháp 3: Bật thủ công các dịch vụ cần thiết
services.msc→ đảm bảo các dịch vụ sau Running, Startup: Automatic:
Application Layer Gateway Service
Network Connections
Network Location Awareness (NLA)
Plug and Play
Remote Access Auto Connection Manager
Remote Access Connection Manager
Remote Procedure Call (RPC)
Telephony- Chuột phải từng dịch vụ → Properties → Start (nếu chưa chạy) → Automatic.
- Reboot → kiểm tra.
- Nếu vẫn lỗi, bật thêm: COM+ Event System, Computer Browser, DHCP Client, Network Store Interface Service, DNS Client, RPC, Server, Security Accounts Manager, TCP/IP NetBIOS Helper, WLAN AutoConfig, Workstation.
Lưu ý: Bỏ qua lỗi "Error 1186: Element not found" (DHCP) và "Error 1068" (NLA) nếu hiện.
Phương pháp 4: Reset Network Adapter
- CMD Admin →
netsh winsock reset catalog→netsh int ip reset reset.log hit - Thông báo "Successfully reset the Winsock Catalog." → Reboot.
Phương pháp 5: Reset TCP/IP về mặc định
- CMD Admin → gõ lần lượt:
ipconfig /flushdnsnbtstat –rnetsh int ip reset reset c:\resetlog.txtnetsh winsock reset - Reboot. Flush DNS thường khắc phục được.
Phương pháp 6: Thay thế file nlasvc.dll bị corrupt
- Cần máy khác hoạt động bình thường. Copy
C:\windows\system32\nlasvc.dllra USB. - Cắm USB vào máy lỗi → CMD Admin.
takeown /f c:\windows\system32\nlasvc.dllcacls c:\windows\system32\nlasvc.dll /G your_username:F(thay your_username = user máy bạn). - Đến
C:\windows\system32\→ renamenlasvc.dll→nlasvc.dll.old→ copy file từ USB vào. - Chuột phải nlasvc.dll → Properties → Security → Advanced → Owner: Change → gõ
NT SERVICE\TrustedInstaller→ Check Names → OK → Apply → OK. - Reboot.
Phương pháp 7: Repair Install Windows 10 (Cuối cùng)
Nếu không cách nào được → Repair Install (In-place Upgrade): sửa lỗi hệ thống mà không xóa dữ liệu user. Xem hướng dẫn "How to Repair Install Windows 10 Easily".
Bài viết đề xuất:
- Sửa vòng lặp "Restart your computer to install important updates"
- Sửa File System Errors Windows 10
- Sửa "Windows Update cannot currently check for updates"
- Sửa không phát được file MOV Windows Media Player
Bạn đã khắc phục thành công lỗi The Dependency Service or Group Failed to Start. Còn thắc mắc? Hãy bình luận.