Feb 8

装iSCSI2.0出现MSDTC错误的解决办法

scrappy , 07:54 , 文章 » 系统精粹集 , 评论(0) , 引用(0) , 阅读(12) , Via 本站原创 | |

test

复制以下内容到新的文本,另存为.bat 后运行可解决。

test
test
test
 
test
    test
  1. @echo off
  2. test
  3.  
  4. test
  5. @echo %WINDIR%System32msdtc.exe -uninstall
  6. test
  7.  
  8. test
  9. %WINDIR%System32msdtc.exe -uninstall
  10. test
  11.  
  12. test
  13. call :delkey "HKCRCID"
  14. test
  15.  
  16. test
  17. call :delkey "HKLMSYSTEMCurrentControlSetServicesMSDTC"
  18. test
  19.  
  20. test
  21. delkey "HKLMSYSTEMControlSet001ServicesMSDTC"
  22. test
  23.  
  24. test
  25. delkey "HKLMSYSTEMControlSet002ServicesMSDTC"
  26. test
  27.  
  28. test
  29. call :delkey "HKLMSoftwareMicrosoftMSDTC"
  30. test
  31.  
  32. test
  33. @echo %WINDIR%System32msdtc.exe -install
  34. test
  35.  
  36. test
  37. %WINDIR%System32msdtc.exe -install
  38. test
  39.  
  40. test
  41. endlocal
  42. test
  43.  
  44. test
  45. :delkey
  46. test
  47.  
  48. test
  49. set key=%1
  50. test
  51.  
  52. test
  53. call :delkeyq %key% >nul 2>&1
  54. test
  55.  
  56. test
  57. @echo.
  58. test
  59.  
  60. test
  61. goto :EOF
  62. test
  63.  
  64. test
  65. :delkeyq
  66. test
  67.  
  68. test
  69. REG Delete %key% /F
  70. test
test
testtest
test
test
test

 

发表评论

昵称

网址

电邮

打开HTML 打开UBB 打开表情 隐藏 记住我 [登入] [注册]