本帖最后由 000 于 2012-12-6 09:25 编辑
- rem 注册相关服务
- sc create "ummd" start= auto binpath= "%cd%\Avid\DS_v11.0\ummds.exe" displayname= "Avid Media Indexer"
- sc create "dscm" start= auto binpath= "%cd%\Avid\DS_v11.0\Consumermgrs.exe" displayname= "Avid Project Indexer"
- sc create "slpd" start= auto binpath= "%cd%\Avid\DS_v11.0\slpd.exe" displayname= "Service Location Protocol"
-
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v DelayedAutostart /t REG_DWORD /d 1
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v DependOnService /t REG_MULTI_SZ /d "slpd"
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v DisplayName /t REG_SZ /d "Avid Project Indexer"
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v ErrorControl /t REG_DWORD /d 0
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v FailureActions /t REG_BINARY /d ffffffff0000000000000000030000001400000001000000c0d4010001000000c0d401000000000000000000
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v ImagePath /t REG_EXPAND_SZ /d "%cd%\Avid\DS_v11.0\Consumermgrs.exe"
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v ObjectName /t REG_SZ /d ".\Administrator"
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v Start /t REG_DWORD /d 2
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v Type /t REG_DWORD /d 16
-
-
-
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\slpd" /f
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\slpd" /f /v DisplayName /t REG_SZ /d "Service Location Protocol"
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\slpd" /f /v ErrorControl /t REG_DWORD /d 1
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\slpd" /f /v FailureActions /t REG_BINARY /d ffffffff000000000000000001000000140000000100000060ea0000
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\slpd" /f /v ImagePath /t REG_EXPAND_SZ /d "%cd%\Avid\DS_v11.0\slpd.exe"
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\slpd" /f /v ObjectName /t REG_SZ /d "LocalSystem"
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\slpd" /f /v Start /t REG_DWORD /d 3
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\slpd" /f /v Type /t REG_DWORD /d 16
-
-
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v DelayedAutostart /t REG_DWORD /d 1
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v DependOnService /t REG_MULTI_SZ /d "slpd"
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v DisplayName /t REG_SZ /d "Avid Media Indexer"
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v ErrorControl /t REG_DWORD /d 0
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v FailureActions /t REG_BINARY /d ffffffff000000000000000003000000140000000100000020bf02000100000020bf02000000000000000000
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v ImagePath /t REG_EXPAND_SZ /d "%cd%\Avid\DS_v11.0\ummds.exe"
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v ObjectName /t REG_SZ /d ".\Administrator"
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v Start /t REG_DWORD /d 2
- reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v Type /t REG_DWORD /d 16
-
- rem 启动服务
- net start "Avid Project Indexer"
- net start "Service Location Protocol"
- net start "Avid Media Indexer"
复制代码
|