yurkesha Цитата: какие же значения групп и тегов указаны у fltmgr, wimfltr и службы организованной через srvany.exe?
На данный момент я использую следующее
[more]
0x4,"system\ControlSet001\Services\WimFltr","Type","2"
0x4,"system\ControlSet001\Services\WimFltr","Start","2"
0x4,"system\ControlSet001\Services\WimFltr","ErrorControl","1"
0x4,"system\ControlSet001\Services\WimFltr","Tag","4"
0x2,"system\ControlSet001\Services\WimFltr","ImagePath","system32\DRIVERS\wimfltr.sys"
0x1,"system\ControlSet001\Services\WimFltr","DisplayName","WimFltr"
0x1,"system\ControlSet001\Services\WimFltr","Group","FSFilter Compression"
0x7,"system\ControlSet001\Services\WimFltr","DependOnService","FltMgr"
0x7,"system\ControlSet001\Services\WimFltr","DependOnGroup","",""
0x1,"system\ControlSet001\Services\WimFltr","Description","Windows Image Mini-Filter Driver"
0x4,"system\ControlSet001\Services\WimFltr","DebugFlags","1"
0x1,"system\ControlSet001\Services\WimFltr\Instances","DefaultInstance","WimFltr Instance"
0x1,"system\ControlSet001\Services\WimFltr\Instances\WimFltr Instance","Altitude","170500"
0x4,"system\ControlSet001\Services\WimFltr\Instances\WimFltr Instance","Flags","0"
0x1,"system\ControlSet001\Services\WimFltr\Enum","0","Root\LEGACY_WIMFLTR\0000"
0x4,"system\ControlSet001\Services\WimFltr\Enum","Count","1"
0x4,"system\ControlSet001\Services\WimFltr\Enum","NextInstance","1"
0x4,"system\ControlSet001\Enum\Root\LEGACY_WIMFLTR","NextInstance","1"
0x1,"system\ControlSet001\Enum\Root\LEGACY_WIMFLTR\0000","Service","WimFltr"
0x4,"system\ControlSet001\Enum\Root\LEGACY_WIMFLTR\0000","Legacy","1"
0x4,"system\ControlSet001\Enum\Root\LEGACY_WIMFLTR\0000","ConfigFlags","0"
0x1,"system\ControlSet001\Enum\Root\LEGACY_WIMFLTR\0000","Class","LegacyDriver"
0x1,"system\ControlSet001\Enum\Root\LEGACY_WIMFLTR\0000","ClassGUID","{8ECC055D-047F-11D1-A537-0000F8753ED1}"
0x1,"system\ControlSet001\Enum\Root\LEGACY_WIMFLTR\0000","DeviceDesc","WimFltr"
0x4,"system\ControlSet001\Enum\Root\LEGACY_WIMFLTR\0000\Control","*NewlyCreated*","0"
0x1,"system\ControlSet001\Enum\Root\LEGACY_WIMFLTR\0000\Control","ActiveService","WimFltr"
//
0x4,"system\ControlSet001\Services\FltMgr","Type","2"
0x4,"system\ControlSet001\Services\FltMgr","Start","0"
0x4,"system\ControlSet001\Services\FltMgr","ErrorControl","1"
0x4,"system\ControlSet001\Services\FltMgr","Tag","4"
0x2,"system\ControlSet001\Services\FltMgr","ImagePath","system32\DRIVERS\fltMgr.sys"
0x1,"system\ControlSet001\Services\FltMgr","DisplayName","FltMgr"
0x1,"system\ControlSet001\Services\FltMgr","Group","FSFilter Infrastructure"
0x1,"system\ControlSet001\Services\FltMgr","Description","File System Filter Manager Driver"
0x4,"system\ControlSet001\Services\FltMgr","AttachWhenLoaded","0"
0x1,"system\ControlSet001\Services\FltMgr\Enum","0","Root\LEGACY_FLTMGR\0000"
0x4,"system\ControlSet001\Services\FltMgr\Enum","Count","1"
0x4,"system\ControlSet001\Services\FltMgr\Enum","NextInstance","1"
0x4,"system\ControlSet001\Enum\Root\LEGACY_FLTMGR","NextInstance","1"
0x1,"system\ControlSet001\Enum\Root\LEGACY_FLTMGR\0000","Service","FltMgr"
0x4,"system\ControlSet001\Enum\Root\LEGACY_FLTMGR\0000","Legacy","1"
0x4,"system\ControlSet001\Enum\Root\LEGACY_FLTMGR\0000","ConfigFlags","0"
0x1,"system\ControlSet001\Enum\Root\LEGACY_FLTMGR\0000","Class","LegacyDriver"
0x1,"system\ControlSet001\Enum\Root\LEGACY_FLTMGR\0000","ClassGUID","{8ECC055D-047F-11D1-A537-0000F8753ED1}"
0x1,"system\ControlSet001\Enum\Root\LEGACY_FLTMGR\0000","DeviceDesc","FltMgr"
0x4,"system\ControlSet001\Enum\Root\LEGACY_FLTMGR\0000\Control","*NewlyCreated*","0"
0x1,"system\ControlSet001\Enum\Root\LEGACY_FLTMGR\0000\Control","ActiveService","FltMgr"
//
0x4,"system\ControlSet001\Services\WimMount","Type","16"
0x4,"system\ControlSet001\Services\WimMount","Start","2"
0x4,"system\ControlSet001\Services\WimMount","ErrorControl","1"
0x2,"system\ControlSet001\Services\WimMount","ImagePath","%WinDir%\srvany.exe"
0x1,"system\ControlSet001\Services\WimMount","DisplayName","WimMount"
0x1,"system\ControlSet001\Services\WimMount","ObjectName","LocalSystem"
0x1,"system\ControlSet001\Services\WimMount\Enum","0","Root\LEGACY_WIMMOUNT\0000"
0x4,"system\ControlSet001\Services\WimMount\Enum","Count","1"
0x4,"system\ControlSet001\Services\WimMount\Enum","NextInstance","1"
0x4,"system\ControlSet001\Enum\Root\LEGACY_WIMMOUNT","NextInstance","1"
0x1,"system\ControlSet001\Enum\Root\LEGACY_WIMMOUNT\0000","Service","WimMount"
0x4,"system\ControlSet001\Enum\Root\LEGACY_WIMMOUNT\0000","Legacy","1"
0x4,"system\ControlSet001\Enum\Root\LEGACY_WIMMOUNT\0000","ConfigFlags","0"
0x1,"system\ControlSet001\Enum\Root\LEGACY_WIMMOUNT\0000","Class","LegacyDriver"
0x1,"system\ControlSet001\Enum\Root\LEGACY_WIMMOUNT\0000","ClassGUID","{8ECC055D-047F-11D1-A537-0000F8753ED1}"
0x1,"system\ControlSet001\Enum\Root\LEGACY_WIMMOUNT\0000","DeviceDesc","WimMount"
0x1,"system\ControlSet001\Enum\Root\LEGACY_WIMMOUNT\0000\Control","ActiveService","WimMount"
0x1,"system\ControlSet001\Services\WimMount\Parameters","Application","cmd.exe"
0x1,"system\ControlSet001\Services\WimMount\Parameters","AppParameters","/c WimMount.cmd"
[/more]
Я делал автозапуск WIMFLTR , экспериментируя со службой WIMMOUNT (группы и теги), но к сожалению стабильной работы не добился, файлы не всегда монтировались в зависимости от железа, например по разному работают под разными виртуалками. В конце концов отказался от автозапуска и добавил net start WIMFLTR в батник монтирования.