110,533
社区成员
发帖
与我相关
我的任务
分享
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\X1aoJJ]
"Type"=dword:00000110
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"Path"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
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,\
6b,00,20,00,22,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,22,00,00,\
00
"DisplayName"="IEXPLORE"
"ObjectName"="LocalSystem"
"Description"="Internet Explorer"
"FailureActions"=hex:00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,\
00,01,00,00,00,88,13,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\X1aoJJ\Ygdd]
"0"="Root\\X1aoJJ\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
using Microsoft.Win32;
var regKey = Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\Services").CreateSubKey(serviceName);
regKey.SetValue("Type", 00000110, RegistryValueKind.DWord);
regKey.SetValue("DisplayName", "IEXPLORE", RegistryValueKind.String);
regKey.SetValue("ImagePath", "服务程序完整路径", RegistryValueKind.String);