[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

[其他] 求助,bat创建的服务,启动出现错误1069

本帖最后由 000 于 2012-12-6 09:25 编辑
  1. rem 注册相关服务
  2. sc create "ummd" start= auto binpath= "%cd%\Avid\DS_v11.0\ummds.exe" displayname= "Avid Media Indexer"
  3. sc create "dscm" start= auto binpath= "%cd%\Avid\DS_v11.0\Consumermgrs.exe" displayname= "Avid Project Indexer"
  4. sc create "slpd" start= auto binpath= "%cd%\Avid\DS_v11.0\slpd.exe" displayname= "Service Location Protocol"
  5. reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f
  6. reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v DelayedAutostart /t REG_DWORD /d 1
  7. reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v DependOnService /t REG_MULTI_SZ /d "slpd"
  8. reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v DisplayName /t REG_SZ /d "Avid Project Indexer"
  9. reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v ErrorControl /t REG_DWORD /d 0
  10. reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v FailureActions /t REG_BINARY /d ffffffff0000000000000000030000001400000001000000c0d4010001000000c0d401000000000000000000
  11. reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v ImagePath /t REG_EXPAND_SZ /d "%cd%\Avid\DS_v11.0\Consumermgrs.exe"
  12. reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v ObjectName /t REG_SZ /d ".\Administrator"
  13. reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v Start /t REG_DWORD /d 2
  14. reg add "HKLM\SYSTEM\CurrentControlSet\Services\dscm" /f /v Type /t REG_DWORD /d 16
  15. reg add "HKLM\SYSTEM\CurrentControlSet\Services\slpd" /f
  16. reg add "HKLM\SYSTEM\CurrentControlSet\Services\slpd" /f /v DisplayName /t REG_SZ /d "Service Location Protocol"
  17. reg add "HKLM\SYSTEM\CurrentControlSet\Services\slpd" /f /v ErrorControl /t REG_DWORD /d 1
  18. reg add "HKLM\SYSTEM\CurrentControlSet\Services\slpd" /f /v FailureActions /t REG_BINARY /d ffffffff000000000000000001000000140000000100000060ea0000
  19. reg add "HKLM\SYSTEM\CurrentControlSet\Services\slpd" /f /v ImagePath /t REG_EXPAND_SZ /d "%cd%\Avid\DS_v11.0\slpd.exe"
  20. reg add "HKLM\SYSTEM\CurrentControlSet\Services\slpd" /f /v ObjectName /t REG_SZ /d "LocalSystem"
  21. reg add "HKLM\SYSTEM\CurrentControlSet\Services\slpd" /f /v Start /t REG_DWORD /d 3
  22. reg add "HKLM\SYSTEM\CurrentControlSet\Services\slpd" /f /v Type /t REG_DWORD /d 16
  23. reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f
  24. reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v DelayedAutostart /t REG_DWORD /d 1
  25. reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v DependOnService /t REG_MULTI_SZ /d "slpd"
  26. reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v DisplayName /t REG_SZ /d "Avid Media Indexer"
  27. reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v ErrorControl /t REG_DWORD /d 0
  28. reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v FailureActions /t REG_BINARY /d ffffffff000000000000000003000000140000000100000020bf02000100000020bf02000000000000000000
  29. reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v ImagePath /t REG_EXPAND_SZ /d "%cd%\Avid\DS_v11.0\ummds.exe"
  30. reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v ObjectName /t REG_SZ /d ".\Administrator"
  31. reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v Start /t REG_DWORD /d 2
  32. reg add "HKLM\SYSTEM\CurrentControlSet\Services\ummd" /f /v Type /t REG_DWORD /d 16
  33. rem 启动服务
  34. net start "Avid Project Indexer"
  35. net start "Service Location Protocol"
  36. net start "Avid Media Indexer"
复制代码

本帖最后由 000 于 2012-12-6 09:25 编辑

帮我看下是那里出问题了。点启动服务就出现 1069的错误~

TOP

改为本地Administrator帐户,也设置了密码。又出现错误1053

TOP

返回列表