win10系統(tǒng)CMD刪除DHCP CLIENT服務(wù)后該如何恢復(fù)?該用戶反應(yīng)不小心用CMD命令刪除了DHCP CLIENT這個(gè)服務(wù),導(dǎo)致沒(méi)辦法通過(guò)DHCP服務(wù)自動(dòng)分配IP,有什么辦法能夠在不重裝系統(tǒng)的情況下恢復(fù)呢?本文中winwin7小編給大家分享介紹下win10系統(tǒng)CMD刪除DHCP CLIENT服務(wù)后的恢復(fù)方法,有同樣問(wèn)題的用戶可以參考本文中winwin7分享的操作方法來(lái)修復(fù)!
win10系統(tǒng)CMD刪除DHCP CLIENT服務(wù)的修復(fù)方法:
1、點(diǎn)開(kāi)開(kāi)始菜單,搜索:cmd ,單擊右鍵,點(diǎn)擊“以管理員”,將打開(kāi)“命令提示符”,復(fù)制以下命令并在命令提示符中點(diǎn)擊鼠標(biāo)右鍵,點(diǎn)擊“粘貼”,隨后按回車鍵(Enter)執(zhí)行:
set SystemRoot=
echo Windows Registry Editor Version 5.00>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp]>>%Public%\Desktop\DHCP.reg
echo "ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\>>%Public%\Desktop\DHCP.reg
echo 00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\>>%Public%\Desktop\DHCP.reg
echo 64,00,68,00,63,00,70,00,63,00,6f,00,72,00,65,00,2e,00,64,00,6c,00,6c,00,00,\>>%Public%\Desktop\DHCP.reg
echo 00>>%Public%\Desktop\DHCP.reg
echo "DisplayName"="@%SystemRoot%\\system32\\dhcpcore.dll,-100">>%Public%\Desktop\DHCP.reg
echo "Group"="TDI">>%Public%\Desktop\DHCP.reg
echo "ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\>>%Public%\Desktop\DHCP.reg
echo 74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\>>%Public%\Desktop\DHCP.reg
echo 00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\>>%Public%\Desktop\DHCP.reg
echo 6b,00,20,00,4c,00,6f,00,63,00,61,00,6c,00,53,00,65,00,72,00,76,00,69,00,63,\>>%Public%\Desktop\DHCP.reg
echo 00,65,00,4e,00,65,00,74,00,77,00,6f,00,72,00,6b,00,52,00,65,00,73,00,74,00,\>>%Public%\Desktop\DHCP.reg
echo 72,00,69,00,63,00,74,00,65,00,64,00,00,00>>%Public%\Desktop\DHCP.reg
echo "Description"="@%SystemRoot%\\system32\\dhcpcore.dll,-101">>%Public%\Desktop\DHCP.reg
echo "ObjectName"="NT Authority\\LocalService">>%Public%\Desktop\DHCP.reg
echo "ErrorControl"=dword:00000001>>%Public%\Desktop\DHCP.reg
echo "Start"=dword:00000002>>%Public%\Desktop\DHCP.reg
echo "Type"=dword:00000020>>%Public%\Desktop\DHCP.reg
echo "DependOnService"=hex(7):4e,00,53,00,49,00,00,00,54,00,64,00,78,00,00,00,41,00,\>>%Public%\Desktop\DHCP.reg
echo 66,00,64,00,00,00,00,00>>%Public%\Desktop\DHCP.reg
echo "ServiceSidType"=dword:00000001>>%Public%\Desktop\DHCP.reg
echo "RequiredPrivileges"=hex(7):53,00,65,00,43,00,68,00,61,00,6e,00,67,00,65,00,4e,\>>%Public%\Desktop\DHCP.reg
echo 00,6f,00,74,00,69,00,66,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,\>>%Public%\Desktop\DHCP.reg
echo 67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,74,00,65,00,47,00,6c,\>>%Public%\Desktop\DHCP.reg
echo 00,6f,00,62,00,61,00,6c,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,00,00,00,00>>%Public%\Desktop\DHCP.reg
echo "FailureActions"=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\>>%Public%\Desktop\DHCP.reg
echo 00,01,00,00,00,c0,d4,01,00,01,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Configurations]>>%Public%\Desktop\DHCP.reg
echo "Options"=hex:32,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,ff,ff,ff,7f,00,\>>%Public%\Desktop\DHCP.reg
echo 00,00,00,01,00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,ff,ff,ff,7f,00,00,\>>%Public%\Desktop\DHCP.reg
echo 00,00>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Linkage]>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Linkage\Disabled]>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Parameters]>>%Public%\Desktop\DHCP.reg
echo "ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\>>%Public%\Desktop\DHCP.reg
echo 00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\>>%Public%\Desktop\DHCP.reg
echo 64,00,68,00,63,00,70,00,63,00,6f,00,72,00,65,00,2e,00,64,00,6c,00,6c,00,00,\>>%Public%\Desktop\DHCP.reg
echo 00>>%Public%\Desktop\DHCP.reg
echo "ServiceDllUnloadOnStop"=dword:00000001>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Parameters\Options]>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Parameters\Options\1]>>%Public%\Desktop\DHCP.reg
echo "KeyType"=dword:00000007>>%Public%\Desktop\DHCP.reg
echo "RegLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,\>>%Public%\Desktop\DHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,54,\>>%Public%\Desktop\DHCP.reg
echo 00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,\>>%Public%\Desktop\DHCP.reg
echo 00,73,00,5c,00,3f,00,5c,00,44,00,68,00,63,00,70,00,53,00,75,00,62,00,6e,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,74,00,4d,00,61,00,73,00,6b,00,4f,00,70,00,74,00,00,00,53,00,59,00,53,\>>%Public%\Desktop\DHCP.reg
echo 00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,00,72,00,65,00,6e,00,74,00,43,00,\>>%Public%\Desktop\DHCP.reg
echo 6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,65,00,74,00,5c,00,53,00,65,00,72,\>>%Public%\Desktop\DHCP.reg
echo 00,76,00,69,00,63,00,65,00,73,00,5c,00,3f,00,5c,00,50,00,61,00,72,00,61,00,\>>%Public%\Desktop\DHCP.reg
echo 6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,54,00,63,00,70,00,69,00,70,00,5c,\>>%Public%\Desktop\DHCP.reg
echo 00,44,00,68,00,63,00,70,00,53,00,75,00,62,00,6e,00,65,00,74,00,4d,00,61,00,\>>%Public%\Desktop\DHCP.reg
echo 73,00,6b,00,4f,00,70,00,74,00,00,00,00,00>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Parameters\Options\15]>>%Public%\Desktop\DHCP.reg
echo "KeyType"=dword:00000001>>%Public%\Desktop\DHCP.reg
echo "RegLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,\>>%Public%\Desktop\DHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,54,\>>%Public%\Desktop\DHCP.reg
echo 00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,\>>%Public%\Desktop\DHCP.reg
echo 00,73,00,5c,00,3f,00,5c,00,44,00,68,00,63,00,70,00,44,00,6f,00,6d,00,61,00,\>>%Public%\Desktop\DHCP.reg
echo 69,00,6e,00,00,00,53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,\>>%Public%\Desktop\DHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,54,\>>%Public%\Desktop\DHCP.reg
echo 00,63,00,70,00,49,00,70,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,72,00,73,00,5c,00,44,00,68,00,63,00,70,00,44,00,6f,00,6d,00,61,00,69,\>>%Public%\Desktop\DHCP.reg
echo 00,6e,00,00,00,00,00>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Parameters\Options\220]>>%Public%\Desktop\DHCP.reg
echo "KeyType"=dword:00000003>>%Public%\Desktop\DHCP.reg
echo "RegSendLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,\>>%Public%\Desktop\DHCP.reg
echo 72,00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,\>>%Public%\Desktop\DHCP.reg
echo 00,65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,\>>%Public%\Desktop\DHCP.reg
echo 54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,\>>%Public%\Desktop\DHCP.reg
echo 00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,73,00,5c,00,3f,00,5c,00,53,00,6f,00,48,00,52,00,65,00,71,00,75,00,65,\>>%Public%\Desktop\DHCP.reg
echo 00,73,00,74,00,00,00,00,00>>%Public%\Desktop\DHCP.reg
echo "VendorType"=dword:00000001>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Parameters\Options\3]>>%Public%\Desktop\DHCP.reg
echo "KeyType"=dword:00000007>>%Public%\Desktop\DHCP.reg
echo "RegLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,\>>%Public%\Desktop\DHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,54,\>>%Public%\Desktop\DHCP.reg
echo 00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,\>>%Public%\Desktop\DHCP.reg
echo 00,73,00,5c,00,3f,00,5c,00,44,00,68,00,63,00,70,00,44,00,65,00,66,00,61,00,\>>%Public%\Desktop\DHCP.reg
echo 75,00,6c,00,74,00,47,00,61,00,74,00,65,00,77,00,61,00,79,00,00,00,53,00,59,\>>%Public%\Desktop\DHCP.reg
echo 00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,00,72,00,65,00,6e,00,74,00,\>>%Public%\Desktop\DHCP.reg
echo 43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,65,00,74,00,5c,00,53,00,65,\>>%Public%\Desktop\DHCP.reg
echo 00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,3f,00,5c,00,50,00,61,00,72,00,\>>%Public%\Desktop\DHCP.reg
echo 61,00,6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,54,00,63,00,70,00,69,00,70,\>>%Public%\Desktop\DHCP.reg
echo 00,5c,00,44,00,68,00,63,00,70,00,44,00,65,00,66,00,61,00,75,00,6c,00,74,00,\>>%Public%\Desktop\DHCP.reg
echo 47,00,61,00,74,00,65,00,77,00,61,00,79,00,00,00,00,00>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Parameters\Options\44]>>%Public%\Desktop\DHCP.reg
echo "KeyType"=dword:00000001>>%Public%\Desktop\DHCP.reg
echo "RegLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,\>>%Public%\Desktop\DHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,4e,\>>%Public%\Desktop\DHCP.reg
echo 00,65,00,74,00,42,00,54,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,\>>%Public%\Desktop\DHCP.reg
echo 00,73,00,5c,00,54,00,63,00,70,00,69,00,70,00,5f,00,3f,00,5c,00,44,00,68,00,\>>%Public%\Desktop\DHCP.reg
echo 63,00,70,00,4e,00,61,00,6d,00,65,00,53,00,65,00,72,00,76,00,65,00,72,00,4c,\>>%Public%\Desktop\DHCP.reg
echo 00,69,00,73,00,74,00,00,00,53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,\>>%Public%\Desktop\DHCP.reg
echo 75,00,72,00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,\>>%Public%\Desktop\DHCP.reg
echo 00,53,00,65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,\>>%Public%\Desktop\DHCP.reg
echo 5c,00,4e,00,65,00,74,00,42,00,54,00,5c,00,41,00,64,00,61,00,70,00,74,00,65,\>>%Public%\Desktop\DHCP.reg
echo 00,72,00,73,00,5c,00,3f,00,5c,00,44,00,68,00,63,00,70,00,4e,00,61,00,6d,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,53,00,65,00,72,00,76,00,65,00,72,00,00,00,00,00>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Parameters\Options\46]>>%Public%\Desktop\DHCP.reg
echo "KeyType"=dword:00000004>>%Public%\Desktop\DHCP.reg
echo "RegLocation"="SYSTEM\\CurrentControlSet\\Services\\NetBT\\Parameters\\DhcpNodeType">>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Parameters\Options\47]>>%Public%\Desktop\DHCP.reg
echo "KeyType"=dword:00000001>>%Public%\Desktop\DHCP.reg
echo "RegLocation"="SYSTEM\\CurrentControlSet\\Services\\NetBT\\Parameters\\DhcpScopeID">>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Parameters\Options\6]>>%Public%\Desktop\DHCP.reg
echo "KeyType"=dword:00000001>>%Public%\Desktop\DHCP.reg
echo "RegLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,\>>%Public%\Desktop\DHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,54,\>>%Public%\Desktop\DHCP.reg
echo 00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,\>>%Public%\Desktop\DHCP.reg
echo 00,73,00,5c,00,3f,00,5c,00,44,00,68,00,63,00,70,00,4e,00,61,00,6d,00,65,00,\>>%Public%\Desktop\DHCP.reg
echo 53,00,65,00,72,00,76,00,65,00,72,00,00,00,53,00,59,00,53,00,54,00,45,00,4d,\>>%Public%\Desktop\DHCP.reg
echo 00,5c,00,43,00,75,00,72,00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,\>>%Public%\Desktop\DHCP.reg
echo 72,00,6f,00,6c,00,53,00,65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,\>>%Public%\Desktop\DHCP.reg
echo 00,65,00,73,00,5c,00,54,00,63,00,70,00,69,00,70,00,5c,00,50,00,61,00,72,00,\>>%Public%\Desktop\DHCP.reg
echo 61,00,6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,44,00,68,00,63,00,70,00,4e,\>>%Public%\Desktop\DHCP.reg
echo 00,61,00,6d,00,65,00,53,00,65,00,72,00,76,00,65,00,72,00,00,00,00,00>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Parameters\Options\DhcpNetbiosOptions]>>%Public%\Desktop\DHCP.reg
echo "KeyType"=dword:00000004>>%Public%\Desktop\DHCP.reg
echo "OptionId"=dword:00000001>>%Public%\Desktop\DHCP.reg
echo "VendorType"=dword:00000001>>%Public%\Desktop\DHCP.reg
echo "RegLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,\>>%Public%\Desktop\DHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,4e,\>>%Public%\Desktop\DHCP.reg
echo 00,65,00,74,00,42,00,54,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,00,65,\>>%Public%\Desktop\DHCP.reg
echo 00,73,00,5c,00,54,00,63,00,70,00,69,00,70,00,5f,00,3f,00,5c,00,44,00,68,00,\>>%Public%\Desktop\DHCP.reg
echo 63,00,70,00,4e,00,65,00,74,00,62,00,69,00,6f,00,73,00,4f,00,70,00,74,00,69,\>>%Public%\Desktop\DHCP.reg
echo 00,6f,00,6e,00,73,00,00,00,00,00>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Parametersv6]>>%Public%\Desktop\DHCP.reg
echo "DllName"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\>>%Public%\Desktop\DHCP.reg
echo 74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,\>>%Public%\Desktop\DHCP.reg
echo 00,68,00,63,00,70,00,63,00,6f,00,72,00,65,00,36,00,2e,00,64,00,6c,00,6c,00,\>>%Public%\Desktop\DHCP.reg
echo 00,00>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Parametersv6\Options]>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Parametersv6\Options\23]>>%Public%\Desktop\DHCP.reg
echo "KeyType"=dword:00000003>>%Public%\Desktop\DHCP.reg
echo "RegLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,\>>%Public%\Desktop\DHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,54,\>>%Public%\Desktop\DHCP.reg
echo 00,63,00,70,00,69,00,70,00,36,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,\>>%Public%\Desktop\DHCP.reg
echo 74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,\>>%Public%\Desktop\DHCP.reg
echo 00,65,00,73,00,5c,00,3f,00,5c,00,44,00,68,00,63,00,70,00,76,00,36,00,44,00,\>>%Public%\Desktop\DHCP.reg
echo 4e,00,53,00,53,00,65,00,72,00,76,00,65,00,72,00,73,00,00,00,53,00,59,00,53,\>>%Public%\Desktop\DHCP.reg
echo 00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,00,72,00,65,00,6e,00,74,00,43,00,\>>%Public%\Desktop\DHCP.reg
echo 6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,65,00,74,00,5c,00,53,00,65,00,72,\>>%Public%\Desktop\DHCP.reg
echo 00,76,00,69,00,63,00,65,00,73,00,5c,00,54,00,63,00,70,00,69,00,70,00,36,00,\>>%Public%\Desktop\DHCP.reg
echo 5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,74,00,65,00,72,00,73,00,5c,00,44,\>>%Public%\Desktop\DHCP.reg
echo 00,68,00,63,00,70,00,76,00,36,00,44,00,4e,00,53,00,53,00,65,00,72,00,76,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,72,00,73,00,00,00,00,00>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Parametersv6\Options\24]>>%Public%\Desktop\DHCP.reg
echo "KeyType"=dword:00000003>>%Public%\Desktop\DHCP.reg
echo "RegLocation"=hex(7):53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,72,\>>%Public%\Desktop\DHCP.reg
echo 00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,00,\>>%Public%\Desktop\DHCP.reg
echo 65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,54,\>>%Public%\Desktop\DHCP.reg
echo 00,63,00,70,00,69,00,70,00,36,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,00,\>>%Public%\Desktop\DHCP.reg
echo 74,00,65,00,72,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,66,00,61,00,63,\>>%Public%\Desktop\DHCP.reg
echo 00,65,00,73,00,5c,00,3f,00,5c,00,44,00,68,00,63,00,70,00,76,00,36,00,44,00,\>>%Public%\Desktop\DHCP.reg
echo 6f,00,6d,00,61,00,69,00,6e,00,53,00,65,00,61,00,72,00,63,00,68,00,4c,00,69,\>>%Public%\Desktop\DHCP.reg
echo 00,73,00,74,00,00,00,53,00,59,00,53,00,54,00,45,00,4d,00,5c,00,43,00,75,00,\>>%Public%\Desktop\DHCP.reg
echo 72,00,72,00,65,00,6e,00,74,00,43,00,6f,00,6e,00,74,00,72,00,6f,00,6c,00,53,\>>%Public%\Desktop\DHCP.reg
echo 00,65,00,74,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,5c,00,\>>%Public%\Desktop\DHCP.reg
echo 54,00,63,00,70,00,69,00,70,00,36,00,5c,00,50,00,61,00,72,00,61,00,6d,00,65,\>>%Public%\Desktop\DHCP.reg
echo 00,74,00,65,00,72,00,73,00,5c,00,44,00,68,00,63,00,70,00,76,00,36,00,44,00,\>>%Public%\Desktop\DHCP.reg
echo 6f,00,6d,00,61,00,69,00,6e,00,53,00,65,00,61,00,72,00,63,00,68,00,4c,00,69,\>>%Public%\Desktop\DHCP.reg
echo 00,73,00,74,00,00,00,00,00>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\Security]>>%Public%\Desktop\DHCP.reg
echo "Security"=hex:01,00,14,80,a4,00,00,00,b0,00,00,00,14,00,00,00,30,00,00,00,02,\>>%Public%\Desktop\DHCP.reg
echo 00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\>>%Public%\Desktop\DHCP.reg
echo 00,00,02,00,74,00,05,00,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,\>>%Public%\Desktop\DHCP.reg
echo 05,0b,00,00,00,00,00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,\>>%Public%\Desktop\DHCP.reg
echo 2c,02,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,20,\>>%Public%\Desktop\DHCP.reg
echo 02,00,00,00,00,14,00,9d,01,02,00,01,01,00,00,00,00,00,02,01,00,00,00,00,00,\>>%Public%\Desktop\DHCP.reg
echo 14,00,fd,01,02,00,01,01,00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,\>>%Public%\Desktop\DHCP.reg
echo 05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00>>%Public%\Desktop\DHCP.reg
echo. >>%Public%\Desktop\DHCP.reg
pause
最后修復(fù)后重啟一次win10計(jì)算機(jī)即可解決問(wèn)題!