Microsoft KB Archive/930841

= Error message when you sequence an application in SoftGrid: &quot;Error during task execution (error code 53258)&quot; =

Article ID: 930841

Article Last Modified on 5/10/2007

-

APPLIES TO


 * Microsoft SoftGrid for Terminal Services
 * Microsoft SoftGrid for Windows Desktops

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When you sequence an application in Microsoft SoftGrid, the Sequencer fails. Additionally, you receive the following error message:

Error during task execution (error code 53258).



CAUSE
This issue may occur if the following conditions are true:
 * The Sequencer cannot locate a valid Microsoft Windows shell to monitor.

Note This issue was corrected in the latest release version of the SoftGrid Sequencer.
 * The Sequencer is referencing an invalid registry value.

Note This issue was corrected in the latest release version of the 3.2 Sequencer and the 4.0 Sequencer.



WORKAROUND
To work around this issue, use one of the following methods, as appropriate for your situation.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Method 1: Restore the default Windows shell of Explorer.exe
When the Sequencer begins to monitor, it starts the Windows shell that is specified in the registry for monitoring. If a custom Windows shell is specified, the monitoring operation may fail.

To work around this issue, restore the default Windows shell of Explorer.exe. To do this, follow these steps:  Exit the Sequencer. Click Start, click Run, type regedit in the Open box, and then click OK. Expand the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

 Right-click Winlogon, and then click Export. Save the registration file to a safe location. Right-click Shell, and then click Modify.</li> For Value data, type Explorer.exe.

Note If the Value data text contains a space, a comma, or any other character before or after &quot;Explorer.exe,&quot; this procedure will fail.</li> Exit Registry Editor.</li> Start the Sequencer, and then sequence the application.</li></ol>

Method 2: Modify the Sequencer registry subkey
If the Sequencer does not contain a C partition, and if the application that you are sequencing requests a restart, you experience the issue that is mentioned in the &quot;Symptoms&quot; section.

If you cannot upgrade the Sequencer, work around this issue by modifying the Sequencer registry subkey. To do this, follow these steps: <ol> Exit the Sequencer.</li> Click Start, click Run, type regedit in the Open box, and then click OK.</li> Expand the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Softricity\SoftGrid Sequencer\CurrentVersion\Configuration

</li> Right-click LogPath, and then click Modify.</li> Note the path that is specified as Value data, and then click Cancel.</li> Expand the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Softricity\SoftGrid Sequencer\CurrentVersion

</li> Right-click CurrentVersion, point to New, and then click String Value.</li> For New Value #1, type LogPath .</li> Right-click LogPath, and then click Modify.</li> For Value data, type the path that you noted in step 5.</li> Exit Registry Editor.</li> Start the Sequencer, and then sequence the application.</li></ol>

Keywords: kbexpertiseinter kbtshoot KB930841

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.