zoukankan      html  css  js  c++  java
  • 安装 sql server 2005 com+ 目录要求警告 解决方案

    用法: 创建记事本,然后改后缀名为.bat

    @echo off  
    setlocal  
    @echo %WINDIR%\System32\msdtc.exe -uninstall  
    %WINDIR%\System32\msdtc.exe -uninstall  
    call :delkey "HKCR\CID"  
    call :delkey "HKLM\SYSTEM\CurrentControlSet\Services\MSDTC"  
    call :delkey "HKLM\SYSTEM\ControlSet001\Services\MSDTC"  
    call :delkey "HKLM\SYSTEM\ControlSet002\Services\MSDTC"  
    call :delkey "HKLM\Software\Microsoft\MSDTC"  
    @echo %WINDIR%\System32\msdtc.exe -install  
    %WINDIR%\System32\msdtc.exe -install  
    endlocal  
    goto :EOF  
    :delkey  
    set key=%1  
    call :delkeyq %key% >nul 2>&1  
    @echo.   
    goto :EOF  
    :delkeyq  
    REG DELETE %key% /F 
    @echo off
    setlocal
    @echo %WINDIR%\System32\msdtc.exe -uninstall
    %WINDIR%\System32\msdtc.exe -uninstall
    call :delkey "HKCR\CID"
    call :delkey "HKLM\SYSTEM\CurrentControlSet\Services\MSDTC"
    call :delkey "HKLM\SYSTEM\ControlSet001\Services\MSDTC"
    call :delkey "HKLM\SYSTEM\ControlSet002\Services\MSDTC"
    call :delkey "HKLM\Software\Microsoft\MSDTC"
    @echo %WINDIR%\System32\msdtc.exe -install
    %WINDIR%\System32\msdtc.exe -install
    endlocal
    goto :EOF
    :delkey
    set key=%1
    call :delkeyq %key% >nul 2>&1
    @echo.
    goto :EOF
    :delkeyq
    REG DELETE %key% /F


    本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/yaday/archive/2009/04/22/4099223.aspx

  • 相关阅读:
    爬虫杂七杂八
    pycharm使用技巧
    python杂七杂八
    mysql杂七杂八
    mysql常见函数总结:
    CF1030F Putting Boxes Together
    AT2688 [ARC080C] Young Maids
    P5280 [ZJOI2019]线段树
    雨的味道
    P2572 [SCOI2010]序列操作
  • 原文地址:https://www.cnblogs.com/mrtom/p/1964349.html
Copyright © 2011-2022 走看看