Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Task Scheduler task fails if running at the same time as the DiskPart command


View products that this article applies to.

Symptoms

Assume that you have a computer that is running Windows 7 Service Pack 1 (SP1) or Windows Server 2008 R2 SP1. A batch file is setting up a task in Task Scheduler. Meanwhile, another batch file is running the DiskPart command. In this situation, the task and the DiskPart command fail intermittently, and you receive the following error message:
The requested operation was made in the context of a transaction that is no longer active.

Additionally, an event that resembles the following is logged in the event log:

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows 7 SP1 or Windows Server 2008 R2 SP1.

For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

To apply this hotfix, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.
File information
The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows 7 and Windows Server 2008 R2 file information notes
Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:
    VersionProductMilestoneService branch
    6.1.760 1.18xxxWindows 7 and Windows Server 2008 R2SP1GDR
    6.1.760 1.22 xxxWindows 7 and Windows Server 2008 R2SP1LDR
  • GDR service branches contain only those fixes that are widely released to address widespread, extremely important issues. LDR service branches contain hotfixes in addition to widely released fixes.
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows 7 and for Windows Server 2008 R2" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows 7 SP1
File nameFile versionFile sizeDateTimeHashesPlatform
Clfs.sys6.1.7601.18332249,79204-Dec-201302:07MD5: A458BD3CB87095E0CF7A199CD52B4777
SHA1: CABCC70F28B250A5C7D7FAA6C76C09B153590257
x86
Clfs.sys6.1.7601.22530249,79204-Dec-201302:10MD5: A21662DA80735AA2CD7CAB9274034F87
SHA1: B6D59DDB7C97E2439A4C5C6323F5964510683B6E
x86
For all supported x64-based versions of Windows 7 SP1 and of Windows Server 2008 R2 SP1
File nameFile versionFile sizeDateTimeHashesPlatform
Clfs.sys6.1.7601.18332367,55204-Dec-201302:31MD5: 7D4ABBB2980BAC8255515FB327A6FF97
SHA1: D75DD0ACFA2C4926EF09E34BB518801569E8F479
x64
Clfs.sys6.1.7601.22530367,55204-Dec-201302:37MD5: 454BC9DB4C3BC73703310178833C30D7
SHA1: F8DFA43C7C20C7EE4E2DD92DFDC8FC9E0F34643D
x64
For all supported IA-64-based versions of Windows Server 2008 R2 SP1
File nameFile versionFile sizeDateTimeHashesPlatform
Clfs.sys6.1.7601.18332846,27204-Dec-201301:29MD5: AA6BBDE0C7EA049AC70F2BCFF55AD864
SHA1: BC74A3DE2B5A0FAE9391F15DA252EE04A7E4C881
IA-64
Clfs.sys6.1.7601.22530846,27204-Dec-201301:33MD5: E4F1E23EA904CB4DB2A0318C908D52A3
SHA1: 20BCC61218D62A310B123BDC72E821CD3F3EFD66
IA-64

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More Information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

For more information about how to start Task Scheduler, go to the following Microsoft website:For more information about the DiskPart command, go to the following Microsoft website:
Additional file information

Additional file information for Windows 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7 SP1
File propertyValue
File nameX86_6e7dc90f953a3732b73c3ca102fc52c0_31bf3856ad364e35_6.1.7601.18332_none_abaef35116dc5c84.manifest
File versionNot applicable
File size697
Date (UTC)04-Dec-2013
Time (UTC)07:23
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameX86_e71e86a8a6a2d5ad1e58b87c9a187a81_31bf3856ad364e35_6.1.7601.22530_none_903ea3f4b4ce051c.manifest
File versionNot applicable
File size697
Date (UTC)04-Dec-2013
Time (UTC)07:23
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameX86_microsoft-windows-commonlog_31bf3856ad364e35_6.1.7601.18332_none_8072499885e04387.manifest
File versionNot applicable
File size4,042
Date (UTC)04-Dec-2013
Time (UTC)02:33
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameX86_microsoft-windows-commonlog_31bf3856ad364e35_6.1.7601.22530_none_80f9e7b59effadca.manifest
File versionNot applicable
File size4,042
Date (UTC)04-Dec-2013
Time (UTC)02:37
SHA-1 hashNot applicable
MD5 hashNot applicable
Additional files for all supported x64-based versions of Windows 7 SP1 and of Windows Server 2008 R2 SP1
File propertyValue
File nameAmd64_4178834417366f47c034b743765caf89_31bf3856ad364e35_6.1.7601.22530_none_4ad53d9f1614854c.manifest
File versionNot applicable
File size701
Date (UTC)04-Dec-2013
Time (UTC)07:23
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameAmd64_b8fb14c0ff46778b402f0d0e751228d8_31bf3856ad364e35_6.1.7601.18332_none_e89c72274c6a5605.manifest
File versionNot applicable
File size701
Date (UTC)04-Dec-2013
Time (UTC)07:23
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameAmd64_microsoft-windows-commonlog_31bf3856ad364e35_6.1.7601.18332_none_dc90e51c3e3db4bd.manifest
File versionNot applicable
File size4,046
Date (UTC)04-Dec-2013
Time (UTC)02:59
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameAmd64_microsoft-windows-commonlog_31bf3856ad364e35_6.1.7601.22530_none_dd188339575d1f00.manifest
File versionNot applicable
File size4,046
Date (UTC)04-Dec-2013
Time (UTC)03:06
SHA-1 hashNot applicable
MD5 hashNot applicable
Additional files for all supported IA-64-based versions of Windows Server 2008 R2 SP1
File propertyValue
File nameIa64_58fd381b63571c5a73f94bcc11ed9bc1_31bf3856ad364e35_6.1.7601.18332_none_ba9fd4ccb4680b94.manifest
File versionNot applicable
File size699
Date (UTC)04-Dec-2013
Time (UTC)07:23
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameIa64_7179bbce0d4bad9c22aaba28a269a31d_31bf3856ad364e35_6.1.7601.22530_none_bcd886095e4fcdbb.manifest
File versionNot applicable
File size699
Date (UTC)04-Dec-2013
Time (UTC)07:23
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameIa64_microsoft-windows-commonlog_31bf3856ad364e35_6.1.7601.18332_none_8073ed8e85de4c83.manifest
File versionNot applicable
File size4,044
Date (UTC)04-Dec-2013
Time (UTC)02:22
SHA-1 hashNot applicable
MD5 hashNot applicable
File nameIa64_microsoft-windows-commonlog_31bf3856ad364e35_6.1.7601.22530_none_80fb8bab9efdb6c6.manifest
File versionNot applicable
File size4,044
Date (UTC)04-Dec-2013
Time (UTC)02:26
SHA-1 hashNot applicable
MD5 hashNot applicable

↑ Back to the top


Keywords: kb, kbautohotfix, kbqfe, kbhotfixserver, kbfix, kbsurveynew, kbexpertiseinter

↑ Back to the top

Article Info
Article ID : 2914748
Revision : 1
Created on : 1/7/2017
Published on : 2/25/2014
Exists online : False
Views : 211