标题: [其他] 求助,bat创建的服务,启动出现错误1069 [打印本页]
作者: 000 时间: 2012-12-5 15:47 标题: 求助,bat创建的服务,启动出现错误1069
本帖最后由 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"
复制代码
作者: 000 时间: 2012-12-5 15:48
本帖最后由 000 于 2012-12-6 09:25 编辑
帮我看下是那里出问题了。点启动服务就出现 1069的错误~
作者: 000 时间: 2012-12-6 10:37
改为本地Administrator帐户,也设置了密码。又出现错误1053
欢迎光临 批处理之家 (http://www.bathome.net/) |
Powered by Discuz! 7.2 |