Reinstall msdtc on Windows
Reinstall MSDTC
The system reported an unexpected error condition. You can resolve this condition by uninstalling and then reinstalling the Microsoft Distributed Transaction Coordinator service (MSDTC).
To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.
To uninstall and then reinstall MSDTC:
Click Start, and then click Command Prompt.
At the command prompt, type msdtc -uninstall, and then press ENTER.
At the command prompt, type msdtc -install, and then press ENTER.
Verify
To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.
To verify that the Microsoft Distributed Transaction Coordinator service (MSDTC) is running:
Click Start, and then click Command Prompt.
At the command prompt, type sc query msdtc, and then press ENTER.
The system responds with information about the service. Confirm that these two items appear: SERVICE_NAME: msdtc and STATE : 4 RUNNING.
--------------------------------------------------------------------------------------------------------------
C:\Users\Administrator>sc query msdtc
SERVICE_NAME: msdtc
        TYPE               : 10  WIN32_OWN_PROCESS
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
C:\Users\Administrator>net stop msdtc
The Distributed Transaction Coordinator service is stopping.
The Distributed Transaction Coordinator service was stopped successfully.
C:\Users\Administrator>sc query msdtc
SERVICE_NAME: msdtc
        TYPE               : 10  WIN32_OWN_PROCESS
        STATE              : 1  STOPPED
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
C:\Users\Administrator>msdtc -uninstall
C:\Users\Administrator>sc query msdtc
[SC] EnumQueryServicesStatus:OpenService FAILED 1060:
The specified service does not exist as an installed service.
C:\Users\Administrator>msdtc -install
C:\Users\Administrator>net start msdtc
The Distributed Transaction Coordinator service is starting.
The Distributed Transaction Coordinator service was started successfully.
C:\Users\Administrator>sc query msdtc
SERVICE_NAME: msdtc
        TYPE               : 10  WIN32_OWN_PROCESS
        STATE              : 4  RUNNING
                                (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
C:\Users\Administrator>
Reinstall msdtc on Windows的更多相关文章
- Windows组件:打开MSDTC,恢复Windows TaskBar,查看windows日志,打开Remote Desktop,打开Services,资源监控
		一,Win10 打开 MSDTC 1,Win+R 打开运行窗口,输入 dcomcnfg,打开组件服务窗口 2,在组件服务 catalog下找到 Distributed Transaction Coor ... 
- Windows:打开MSDTC,恢复Windows任务栏,查看windows日志,打开远程桌面,打开Services,资源监控
		Windows 服务器系列: Windows:查看IP地址,IP地址对应的机器名,占用的端口,以及占用该端口的应用程 Windows:使用Dos命令管理服务(Services) Windows:任务调 ... 
- SqlServer & Windows 可更新订阅立即更新启用分布式事务协调器(MSDTC)
		原文:SqlServer & Windows 可更新订阅立即更新启用分布式事务协调器(MSDTC) 在可更新订阅中,在订阅设置更新方法,将 "排队更新" 设置为 " ... 
- mongoDB windows reinstall add auth
		Mongodb默认启动是不带认证,也没有账号,只要能连接上服务就可以对数据库进行各种操作,这样可不行.现在,我们得一步步开启使用用户和认证. 第一步,我们得定位到mongodb的安装目录.我本机的是C ... 
- [Windows] 重新安装/卸载桌面版OneDrive / Reinstall/ Uninstall Desktop Version OneDrive
		Deep within the OS is a backup copy of the OneDriver installer. To find it, go to File Explorer> ... 
- Step-By-Step Installation of RAC with RAW Datafiles on Windows  2000
		 Step-By-Step Installation of RAC with RAW Datafiles on Windows 2000 Purpose This document will pr ... 
- windows charles response 乱码解决办法
		使用windows 版本的charles来做代理,发现服务端返回的response会出现中文乱码的情况, 查看软件设置,遗憾的是并没有关于编码的选项. 好在charles windows版本安装目录下 ... 
- windows安装rabbitmq
		官网下载windows安装版本:http://www.rabbitmq.com/install-windows.html ,安装文件rabbitmq-server-3.6.5.exe 前提:安装erl ... 
- MongoDB安装并随windows开机自启
		MongoDB的官方下载站是http://www.mongodb.org/downloads,可以去上面下载最新的程序下来.在下载页面可以看到,对操作系统支持很全面,OS X.Linux.Window ... 
随机推荐
- linux常见内核参数
			参数 描述 net.ipv4.ip_forward 接口间转发报文net.ipv4.tcp_tw_reuse 表示是否允许将处于 TIME-WAIT 状态的 socket (TIME-WAIT 的端口 ... 
- javascript 运行机制 事件循环 浏览器缓存 (慕课网 前段跳槽面试必备 4-1,4-2,4-3)
			4-1 渲染机制:-1-,什么是DOCTYPE及其作用?DTD(document type definition,文档类型定义)是一系列的语法规则,用来定义XML或(X)HTML的文件类型,浏览器会使 ... 
- 【Kaggle】泰坦尼克号
			引言 Kaggle官方网站 这是泰坦尼克号事件的基本介绍: 我们需要做的就是通过给出的数据集,通过对特征值的分析以及运用机器学习模型,分析什么样的人最可能存活,并给出对测试集合的预测. 对于Kaggl ... 
- [CodeForces940E]Cashback(set+DP)
			Description Since you are the best Wraith King, Nizhniy Magazin «Mir» at the centre of Vinnytsia is ... 
- Json的用处一
			今天,我们用到了json的的用处,其实也就是一个很简单的用处,就是点击一个按钮,触发一个事件,然后调用json, 之后我们就可以进行异步操作,其实只是针对于后台的操作,其实我们并没有对数据库进行刷新, ... 
- 生成heap dump
			在查看内存泄露以及对内存问题中,要dump出当前内存堆存储快照,便于分析.有几种方法可以做,简介如下 一.intellij IDEA 由于我用的是intellij IDEA,所以没有介绍Eclipse ... 
- ionic2升级到ionic3并打包APK
			通过IONIC2升级到3的时候,经过我一系列的测试,以及网上各种办法,现将新测有效的方法记录如下,本人按如下方法,对多个项目升级后,都能正常打包成APK IONIC 2到3的升级: 1.拷贝ionic ... 
- 剑指Offer - 九度1522 - 包含min函数的栈
			剑指Offer - 九度1522 - 包含min函数的栈2013-12-01 23:44 题目描述: 定义栈的数据结构,请在该类型中实现一个能够得到栈最小元素的min函数. 输入: 输入可能包含多个测 ... 
- USACO Section1.5 Number Triangles 解题报告
			numtri解题报告 —— icedream61 博客园(转载请注明出处)--------------------------------------------------------------- ... 
- java中利用正则表达式获取a标签
			// 设置新闻内容 notice.setContent(editorValue); Matcher m = Pattern.compile("<a[^>]*>([^< ... 
