Reinstall MSDTC on Windows

Source: Internet
Author: User

Reinstall MSDTC

The system reported an unexpected error condition. Can resolve this condition by uninstalling and then reinstalling the Microsoft distributed Transaction Coordinator Ser Vice (MSDTC).

To perform this procedure, you must has membership in Administrators, or you must has been delegated the appropriate AUT Hority.

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 has membership in Administrators, or you must has been delegated the appropriate AUT Hority.

To verify, the Microsoft distributed Transaction Coordinator Service (MSDTC) is running:

Click Start, and then click Command Prompt.
At the command prompt, type sc query Ms MSDTC, and then press ENTER.
The system responds with information about the service. Confirm that these the 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>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.