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:
Additionally, an event that resembles the following is logged in the event log:
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: