Win10系统下载 Win10数字激活 win10 64位 win10 2004正式版 win10 2009最新版 Win10 21H2
最新Win10系统下载
Win10系统下载排行
当前位置: 首页 > 文章教程 > Win10教程

win10系统CMD删除dhcp client服务后的修复方法

时间:2019-07-27 15:31:45来源:Win10专业版官网点击量:N次

DHCP Client为动态分配网址的服务。有的用户反应不小心用CMD命令删除了DHCP Client这个服务,导致没办法通过DHCP服务自动分配IP,有什么办法能够在不重装系统的情况下恢复呢?本文中小编就给大家分享介绍下win10系统CMD删除DHCP Client服务后的恢复方法,有同样问题的用户可以参考本文中操作方法来修复!

win10系统CMD删除DHCP CLIENT服务的修复方法:

点开开始菜单,搜索:cmd ,单击右键,点击“以管理员”,将打开“命令提示符”,复制以下命令并在命令提示符中点击鼠标右键,点击“粘贴”,随后按回车键(Enter)执行:

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

最后修复后重启一次win10计算机即可解决问题!

以上就是win10系统CMD删除DHCP CLIENT服务的修复方法,希望能对你有所帮助。

Win10专业版官网,国内顶级win10专业版官方网站。
Copyright (C) Win10zjb.com, All Rights Reserved. win10专业版官网 版权所有