// Приклад для Ext2Fsd - драйвера файлової системи Ext2 (Linux) для Windows
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ext2Fsd]
"ErrorControl"=dword:00000001
"Group"="File System"
"Start"=dword:00000001
"Type"=dword:00000002
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ext2Fsd\Parameters]
"WritingSupport"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]
"I:"="\\Device\\Harddisk0\\Partition5"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]
"J:"="\\Device\\Harddisk0\\Partition6"
// Останні два записи - це підключення двох розділів диску з Лінуксами до Віндовсу
автоматично при запуску системи.
// Приклад для Apache - популярного Веб сервера
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache]
"Type"=dword:00000010
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):22,00,44,00,3a,00,5c,00,75,00,73,00,72,00,5c,00,41,00,70,00,\
61,00,63,00,68,00,65,00,2e,00,65,00,78,00,65,00,22,00,20,00,2d,00,2d,00,6e,\
00,74,00,73,00,65,00,72,00,76,00,69,00,63,00,65,00,00,00
// Вищеприведений hex це: "D:\usr\Apache.exe" --ntservice
"DisplayName"="Apache"
"DependOnService"=hex(7):54,00,63,00,70,00,69,00,70,00,00,00,41,00,66,00,64,00,\
00,00,00,00
"DependOnGroup"=hex(7):00,00
"ObjectName"="LocalSystem"
"Description"="Apache/1.3.23 (Win32) PHP/4.1.1"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache\Parameters]
"ConfigArgs"=hex(7):2d,00,64,00,00,00,64,00,3a,00,2f,00,75,00,73,00,72,00,00,\
00,2d,00,66,00,00,00,64,00,3a,00,2f,00,75,00,73,00,72,00,2f,00,63,00,6f,00,\
6e,00,66,00,2f,00,68,00,74,00,74,00,70,00,64,00,2e,00,63,00,6f,00,6e,00,66,\
00,00,00,00,00
// Вищеприведений hex це: -d d:/usr -f d:/usr/conf/httpd.conf
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
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,\
00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,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,23,02,00,00,01,01,\
00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache\Enum]
"0"="Root\\LEGACY_APACHE\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache\Enum]
"0"="Root\\LEGACY_APACHE\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
|