This article was previously published under Q253942
Task scheduler runs tasks as background processes after sysprep-ing the master computer.
After running mini-setup, in end-user mode, any scheduled task that is started through the Windows Task Scheduler never shows up as a window on the desktop.
The Windows Task Manager shows the task as a process but not as an application. For example, if Calc.exe is scheduled by Task Scheduler at 3 P.M., Calc.exe runs at exactly 3 P.M. but does not appear on the desktop. Instead, Calc.exe acts like a background process.
This behavior occurs only if you used SYSPREP to create the master image, and is language independent.
After running sysprep on the machine, the following registry entry will contain the path to Explorer.exe and a comma at the end of the value: "C:\Winnt\Explorer.exe," HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\ Shell:REG_SZ:C:\Winnt\Explorer.exe,
The full path to Explorer.exe, including the command, results in this behavior.
The options to resolve this problem are:
Modify the following registry value removing the path to explorer and the trailing comma at the end of explorer as described in the Cause section above. The value should read exactly as shown here:HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\ Shell:REG_SZ:Explorer.exe
If you are not using SP1 yet, then you should use Sysprep version 1.1 with the -CLEAN switch. To accomplish that task, follow these steps: