Máy bị lỗi windows system32 msdtc

Quá trình được gọi là Dịch vụ điều phối giao dịch phân tán của Microsoft hoặc chương trình bảng điều khiển MS DTC hoặc Microsoft Corporation. Tất cả thuộc về phần mềm Hệ điều hành Microsoft Windows hoặc Điều phối viên giao dịch phân tán của Microsoft hoặc Điều phối viên giao dịch phân tán hoặc Microsoft Corporation. Tất cả bởi Microsoft [www.microsoft.com] hoặc Tập đoàn Microsoft. Tất cả.

Mô tả: Bản gốc msdtc.exe từ Microsoft là một phần quan trọng của Windows, nhưng thường gây ra sự cố. Msdtc.exe nằm trong thư mục C: \ Windows \ System32. Kích thước tệp đã biết trên Windows 10/8/7 / XP là 6.144 byte [60% tổng số lần xuất hiện], 20.480 byte và 8 biến thể khác. Nó chạy dưới dạng dịch vụ và tên dịch vụ là MSDTC.

Chương trình này là không nhìn thấy được. Đây là một tập tin có chữ ký của Microsoft. Do đó, đánh giá an ninh kỹ thuật là 20% nguy hiểm ; tuy nhiên bạn cũng nên đọc đánh giá của người dùng.

Virus có cùng tên tệp

Msdtc.exe có phải là virus không? Không có nó không phải là. Tệp msdtc.exe thực là một quy trình hệ thống Microsoft Windows an toàn, được gọi là "Dịch vụ điều phối giao dịch phân tán của Microsoft". Tuy nhiên, người viết các chương trình phần mềm độc hại, chẳng hạn như vi-rút, sâu và Trojan cố tình cung cấp cho các quy trình của họ cùng tên tệp để thoát khỏi sự phát hiện. Các vi-rút có cùng tên tệp như HEUR: Trojan.Win32.Miner.gen [được phát hiện bởi Kaspersky] và TROJ_GEN.R002C0OKN17 [được phát hiện bởi TrendMicro].

Để đảm bảo rằng không có msdtc.exe giả mạo nào đang chạy trên PC của bạn, nhấp vào đây để chạy Quét phần mềm độc hại miễn phí.

Làm thế nào để nhận ra các biến thể đáng ngờ? Nếu msdtc.exe nằm trong thư mục con của C: \ Windows, thì mức độ bảo mật là 66% nguy hiểm . Kích thước tệp là 441.344 byte. Chương trình này là không nhìn thấy được. Msdtc.exe nằm trong thư mục Windows, nhưng nó không phải là tệp lõi của Windows. Nó không phải là một tập tin lõi Windows. Ứng dụng sử dụng các cổng để kết nối đến hoặc từ mạng LAN hoặc Internet.


Thông tin bên ngoài từ Paul Collins:

  • "MSDTC" không bắt buộc phải chạy khi khởi động. Điều phối viên giao dịch phân tán MS - xử lý các giao dịch trên nhiều máy chủ và được cài đặt bởi MS Personal Web Server và MS SQL Server

Quan trọng: Một số phần mềm độc hại ngụy trang thành msdtc.exe, đặc biệt khi không nằm trong thư mục C: \ Windows \ System32. Do đó, bạn nên kiểm tra quá trình msdtc.exe trên PC để xem nó có phải là mối đe dọa không. Chúng tôi khuyên bạn nên Trình quản lý tác vụ bảo mật để xác minh bảo mật máy tính của bạn. Đây là một trong những lựa chọn tải xuống hàng đầu của The Washington Post và PC World .

Một máy tính sạch sẽ và gọn gàng là yêu cầu chính để tránh các vấn đề với msdtc. Điều này có nghĩa là chạy quét phần mềm độc hại, dọn dẹp ổ cứng của bạn bằng 1 Cleanmgr và 2 sfc / scannow, 3 chương trình gỡ cài đặt mà bạn không còn cần nữa, kiểm tra các chương trình Tự động khởi động [sử dụng 4 msconfig] và bật Cập nhật tự động 5 của Windows. Luôn nhớ thực hiện sao lưu định kỳ hoặc ít nhất là để đặt điểm khôi phục.

Nếu bạn gặp sự cố thực tế, hãy thử nhớ lại điều cuối cùng bạn đã làm hoặc điều cuối cùng bạn đã cài đặt trước khi sự cố xuất hiện lần đầu tiên. Sử dụng lệnh 6 resmon để xác định các quy trình gây ra sự cố của bạn. Ngay cả đối với các sự cố nghiêm trọng, thay vì cài đặt lại Windows, bạn vẫn nên sửa chữa cài đặt của mình hoặc, đối với Windows 8 và các phiên bản mới hơn, thực hiện lệnh 7 DISM.exe / Trực tuyến / Cleanup-image / Restorehealth. Điều này cho phép bạn sửa chữa hệ điều hành mà không mất dữ liệu.

Để giúp bạn phân tích quá trình msdtc.exe trên máy tính của mình, các chương trình sau đã được chứng minh là hữu ích: Trình quản lý tác vụ bảo mật hiển thị tất cả các tác vụ Windows đang chạy, bao gồm các quy trình ẩn được nhúng, như theo dõi bàn phím và trình duyệt hoặc Tự động khởi động. Xếp hạng rủi ro bảo mật duy nhất cho thấy khả năng quá trình là phần mềm gián điệp, phần mềm độc hại hoặc Trojan tiềm năng. B Malwarebytes Anti-Malware phát hiện và loại bỏ phần mềm gián điệp đang ngủ, phần mềm quảng cáo, Trojans, keylogger, phần mềm độc hại và trình theo dõi khỏi ổ cứng của bạn.

Tập tin liên quan:

domino.exe muachost.exe btmmhook.dll msdtc.exe cdasrv.exe mcrdsvc.exe wlanext.exe hỗ trợ dịch vụ.exe foxitconnectedpdfservice.exe thanh công cụupdaterservice.exe klwtbbho.dll

Chúng Tôi Khuyên BạN Nên Sử DụNg Công Cụ Này Để GiảI QuyếT Các LỗI Trên Máy Tính CủA BạN. Chương Trình Này SửA ChữA Các LỗI Máy Tính Thông ThườNg, BảO Vệ BạN KhỏI Sự MấT Mát CủA Các TậP Tin,PhầN MềM ĐộC HạI, LỗI PhầN CứNg Và TốI Ưu Hóa Máy Tính CủA BạN Cho HiệU SuấT TốI Đa. BạN Có Thể Nhanh Chóng KhắC PhụC VấN Đề VớI Máy Tính CủA BạN Và Ngăn ChặN Sự XuấT HiệN CủA Các LỗI Khác VớI PhầN MềM Này.

During the execution of the testcon20 or testconn40 program with the "-dtc" option, an error occurs while creating the XA connection. The error is "SQL0998N Error occurred during transaction or heuristic processing. Reason Code = "16". Subcode = "2-FFFFFFFF80004005".".

Symptom

1] You might get error messages in the db2diag.log


2014-04-21-12.24.43.626000-240 I3739F406 LEVEL: Severe
PID : 4432 TID : 8140 PROC : testconn20.exe
INSTANCE: DB2 NODE : 000
APPID : 109.109.109.109.690637.140421162441
EDUID : 8140
FUNCTION: DB2 UDB, XA DTP Support, MicrosoftXARMCreate, probe:364
DATA #1 : String, 69 bytes
HRESULT: 80004005
HRESULT Message: Unspecified error

ITransaction:

2014-04-21-12.24.43.626000-240 I4147F748 LEVEL: Info
PID : 4432 TID : 8140 PROC : testconn20.exe
INSTANCE: DB2 NODE : 000
APPID : 109.109.109.109.60637.140421162441
EDUID : 8140
FUNCTION: DB2 UDB, oper system services, sqlofica, probe:10
DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
sqlcaid : SQLCA sqlcabc: 136 sqlcode: -998 sqlerrml: 21
sqlerrmc: 16 2-FFFFFFFF80004005
sqlerrp : SQLXACOM
sqlerrd : [1] 0x00000000 [2] 0x00000010 [3] 0x00000000
[4] 0x00000003 [5] 0x00000000 [6] 0x00000000
sqlwarn : [1] [2] [3] [4] [5] [6]
[7] [8] [9] [10] [11]
sqlstate: 58005


2] You are able to reproduce the error by running testconn utility with -dtc option:

testconn40 -dtc "database=dbName;server=serverName:portNumber;uid=userName;pwd=password"

Adding the MSDTC step:


Step 1: Printing version info
.NET Framework version: 2.0.50727.5477
64-bit
DB2 .NET provider version: 9.0.0.2
DB2 .NET file version: 9.7.5.2
Capability bits: ALLDEFINED
Build: 20111018
Factory for invariant name IBM.Data.DB2 verified
Factory for invariant name IBM.Data.Informix verified
IBM.Data.Informix from DbFactory is the Common Informix .NET provider
Elapsed: 0.6084117

Step 2: Validating db2dsdriver.cfg against db2dsdriver.xsd schema file
File C:\ProgramData\IBM\DB2\DB2COPY1\cfg\db2dsdriver.cfg missing. Nothing to validate
Elapsed: 0

Step 3: Connecting using "database=dbName;server=serverName:portNumber;uid=userName;pwd=password"
Server type and version: OS/390 10.01.0005
Elapsed: 2.028039

Step 4: Selecting rows from SYSIBM.systables to validate existence of packages


SELECT * FROM SYSIBM.systables FETCH FIRST 5 rows only
Elapsed: 0.3276063

Step 5: Calling GetSchema for tables to validate existence of schema functions
Elapsed: 3.1512606

Step 6: Creating XA connection


DB2TransactionScope: Failed to open connection to database!
IBM.Data.DB2.DB2Exception: ERROR [58005] [IBM][DB2] SQL0998N Error occurred during transaction or heuristic processing. Reason Code = "16". Subcode = "2-FFFFFFFF80004005".
at IBM.Data.DB2.DB2ConnPool.Open[DB2Connection connection, String& szConnectionString, DB2ConnSettings& ppSettings, Object& ppConn]
at IBM.Data.DB2.DB2Connection.Open[]
at TestConn.DB2TransactionScope.Open[String connstr]

Looking for XADLL key for C:\Program Files\IBM\SQLLIB\bin\db2app.dll
Correct entry found
Check if XA Transactions are enabled:
Windows 7, 2008, Vista -
Component Services, Computers, My Computer,
Distributed Transaction Coordinator, Local DTC
Properties, Security tab, Enable XA Transactions
Other windows versions -
Component Services, Computers, My computer, Properties
MSDTC tab, Security configuration, Enable XA Transactions


Test failed.

Cause

Error comes during loading of library db2app.dll [db2app64.dll on 64-bit machines]. The library is expected in \BIN directory. Assuming the file is there. It is possible the MSDTC process cannot load it due to access permissions or if DB2PATH variable is not set properly.

Diagnosing The Problem

  1. Check Windows event viewer for any error messages at the time when application is giving SQL0998N.
  2. Check whether the system PATH points to the right SQLLIB\bin directory.
  3. Check whether the DB2PATH contains backslash at the end.
  4. Check whether the DB2INSTANCE environment variable points to the right instance.
  5. Check whether the MSDTC process can write to the db2diag.log.
  6. Check whether the NETWORK SERVICE account has read-execute permissions to the folder containing the XA DLL.
  7. Check whether the NETWORK SERVICE account has access to the Db2 Windows registry keys.
  8. Check whether Db2 32-bit is installed on a 64-bit Windows operating system.
  9. Check whether MSDTC is returning an error code of 8004D01B as it might need to be reinstalled.
  10. Check that "Enable XA transactions","Network DTC access" and "Outbound connections" are selected in the MSDTC component security tab.
  11. Check whether the MSDTC process has read-execute privilege to the SSL stash and key files and check the length of path to these files.
  12. If connections with SSL are used, check whether the path to the GSK and ICC libraries was added to the Windows environment PATH variable.

Resolving The Problem

  1. Check the Windows Event Viewer.
    If you are seeing any error from MSDTC, fix the issue and run testconn20 or testconn40.
  2. Check the system PATH points to the right SQLLIB\bin directory
    The system PATH [not current user's one] has to point to the right SQLLIB\bin directory so the MSDTC service can load the db2app.dll library. If you make any changes to the system PATH, either restart the MSDTC service or the whole server.
  3. Check the DB2PATH does not contain backslash at the end.
    Check the DB2PATH registry variable by using the "db2set -all" command. DB2PATH cannot contain backslash at the end. This can prevent the MSDTC service to load the db2app.dll library.

    db2set -all
    [e] DB2PATH=C:\Program Files\IBM\SQLLIB\
    [i] DB2INSTPROF=C:\Documents and Settings\All Users\Application Data\IBM\DB2\DB2 COPY 1
    [i] DB2COMM=TCPIP
    [g] DB2PATH=C:\Program Files\IBM\SQLLIB\
    [g] DB2INSTDEF=DB2

    To update the DB2PATH setting, open the Windows registry by using the "regedit" program and change the value of DB2PATH found under HKEY_LOCAL_MACHINE\SOFTWARE\IBM\DB2\InstalledCopies\\GLOBAL_PROFILE
  4. Check the DB2INSTANCE points to the right instance.
    For installations where there is more than one DB2 instance present, make sure the system environment variable DB2INSTANCE points to the right instance so the MSDTC process can work with the correct libraries.
  5. Allow the MSDTC to write to the db2diag.log.
    In order for the MSDTC process to report any errors during the establishment of a XA connection using the Db2 XA DLL, the MSDTC process must have write access to the db2diag.log file. Without this access, any error originating in the Db2 library invoked from within the MSDTC is not logged, which could lead to false assumption that Db2 is configured properly.
  6. Allow the NetworkService account access to the folder containing the XA DLL.
    If no error or cannot load db2app.dll is reported by the Windows Event Viewer, allow the NetworkService account access to the folder containing the XA DLL. Since NetworkService a restricted account, you need to provide this account with access to the folder where the XA DLL is located; for instance by modifying the access control list [ACL] for the Db2 folder SQLLIB where db2app.dll is located.
    If Extended Security enabled, add the NT AUTHORITY\NetworkService account to either the DB2USERS or DB2ADMNS group.
    Otherwise, Granting File Access to Network Service manually.
    To provide access to an ASP.NET application running as Network Service, you must grant access to the Network Service account:
    a. In Windows Explorer, locate and SQLLIB folder [the db2level command can also give that]
    b. Right-click the file and then click Properties.
    c. In the Properties dialog box, click the Security tab.
    d. On the Security tab, examine the list of users. If the Network Service account is not listed, add it.
    e. In the Properties dialog box, click the Network Service user name, and in the Permissions for NETWORK SERVICE section, select the Read, Write, and Modify permissions.
    f. Click Apply, and then click OK.
  7. Allow the NetworkService account access to the Db2 Windows registry keys.
    The MSDTC process requires read access to the Db2 Windows registry subtree HKEY_LOCAL_MACHINE\SOFTWARE\IBM\DB2 to properly initialize Db2 environment when the testconn20 or testconn40 is initiating a XA connection. Insufficient access permissions manifest in Db2 trace errors like this:
    testconn40 -dtc "database=dbName;server=serverName:portNumber;uid=userName;pwd=password"0

    To fix this problem grant read access to the account used for running the MSDTC process, which is typically "NT AUTHORITY\NetworkService".
  8. MSDTC is 64-bit on a 64-bit Windows and is 32-bit on a 32-bit Windows. Therefore, the Db2 driver that matches the bitness of the operating system is required in order to create a XA connection. If 32-bit Db2 is installed on a 64-bit Windows platform, the MSDTC connection fails as the 64-bit DLL is not available. Ensure that 32-bit DB2 is installed on 32-bit Windows and 64-bit Db2 is installed on 64-bit Windows. To verify whether Db2 is 32-bit or 64-bit, issue the "db2level" command, which shows if the instance is 32-bit or 64-bit. Note: A 32-bit application running on 64-bit Windows can create a XA connection when using a 64-bit Db2 installation as it ships the 64-bit driver DLL required by MSDTC.
  9. MSDTC might return a return code of 8004D01B.
    For example,

    testconn40 -dtc "database=dbName;server=serverName:portNumber;uid=userName;pwd=password"1

    If so, reinstalling MSDTC might help resolve the problem. Instructions on how to reinstall MSDTC can be found here. Before reinstalling MSDTC, you will want to back up the registry key HKLM\SOFTWARE\Microsoft\MSDTC\XADLL as the DB2 specific keys will need to be restored after MSDTC is reinstalled.
  10. Check that "Enable XA transactions","Network DTC access" and "Outbound connections" are selected in the MSDTC component security tab for all local or clustered MSDTC.
    The Component Services -> Computer -> My Computer -> Distributed Transaction Coordinator lists local and clustered MSDTC. Make sure to checkmark "Network DTC access", "Outbound connections" and "Enable XA transactions" in the security tab of the "Local DTC" and clustered DTC properties.
  11. Check whether the MSDTC process has read-execute privilege to the SSL stash and key files and check the length of path to these files.
    When XA is configured to use the SSL connections, the SSL stash and key files needs to be accessible by the MSDTC process to successfully establish the SSL connection.
    In addition, the same error is returned if the length of the first parameter [XA_OPEN string] of MS API XARMCreate[] exceeds the API limit.

    Before Windows 10, the maximum length of the first parameter to Microsoft's XARMCreate[] function is 256 characters. On Windows 10, Microsoft increased the XA_OPEN string limit up to 3072 characters. The XA_OPEN string is the parameter into which all the DSN information is passed from Db2 to MSDTC.  All SSL, DTC, and connection-related properties and few other parameters essential to MSDTC must fit within the Windows 7 256 character limit.   

    //docs.microsoft.com/en-us/previous-versions/windows/desktop/ms679248[v%3Dvs.85]

    Anything that can reduce duplication of information [such as removing information already in the db2dsdriver.cfg from the application connection string] or reduce information that is not essential [such as fully qualified host name where a shorter host alias can be obtained from DNS lookup] allows the user to work with as much room within that 256 character limit as possible. Reduce the path length of the stash and key file paths to the minimum possible as these are also part of the XA_OPEN string.
    Since Windows 10 the XA_OPEN string limit increased up to 3072 characters, this issue does not occur on Windows 10 platforms.
  12. If connections with SSL are used, check whether the path to the GSK and ICC libraries was added to the Windows environment PATH variable.
    If testconn20 or testconn40 is run more than once, a known issue can be triggered resulting in the error. The initial run is successful but the subsequent execution fails with the error. Upon restarting MSDTC, the execution works again once.
    The issue is that after the first execution some libraries are not properly unloaded from the MSDTC, which triggers a code issue in the handling of the ICC and GSK libraries needed to handle SSL connections.
    The workaround is adding the path to the ICC and GSK libraries to the PATH environment variable [and restart MSDTC]. The path is usually C:\Program Files\IBM\\BIN\ICC64 for the 64-bit version. For the 32-bit version, the path is usually C:\Program Files\IBM\\BIN\ICC. C:\Program Files\IBM\\BIN is normally already be part of the PATH environment variable [depending on the type of the installation].

Related Information

SQL0998N

testconn

db2set

How to reinstall MSDTC

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[{"code":"a8m0z000000cwrqAAA","label":"Programming Interface-\u003EXA\/2PC"}],"ARM Case Number":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions"}]

Chủ Đề