psexec @d:\msdtclist.txt -s regedit /s \\10.132.0.15\d$\msdtc.noAuthrity.reg
psexec @d:\msdtclist.txt -s net stop msdtc
psexec @d:\msdtclist.txt -s net start msdtc
msdtclist.txt为IP列表。
msdtc.noAuthrity.reg :
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC]"AllowOnlySecureRpcCalls"=dword:00000000"
TurnOffRpcSecurity"=dword:00000001