@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
这次尝试的是网上前面两种方法,可惜似乎结果都不理想,直截了当的采用这个方案完事,以此存档便于后期查看。
摘要: http://blog.csdn.net/yaday/article/details/4099223
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。