Hallo,
in einer TaskSequence muss ich die Systemvariable Path mit weiteren Pfaden füllen.
Hierzu habe ich mir das Modul "Run Command Line" ausgesucht und die folgende ComnmandLine eingetragen:
set path=%path%;%windir%\TestFolder
Soweit siehts gut aus, funktioniert auch wie erwartet im "Normalbetrieb" problemlos.
In der Tasksequence sehe ich jedoch folgendes:
Executing command line: Run command line InstallSoftware 12.04.2010 12:23:54 3832 (0x0EF8)
CreateProcess failed. Code(0x80070002) InstallSoftware 12.04.2010 12:23:54 3832 (0x0EF8)
Command line execution failed (80070002) InstallSoftware 12.04.2010 12:23:54 3832 (0x0EF8)
Failed to execute command line 'set path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Windows Imaging\;C:\WINDOWS\TestFolder' .
The system cannot find the file specified. (Error: 80070002; Source: Windows) InstallSoftware 12.04.2010 12:23:54 3832 (0x0EF8)
Install Software failed to run command line, hr=0x80070002 InstallSoftware 12.04.2010 12:23:54 3832 (0x0EF8)
Process completed with exit code 2147942402 TSManager 12.04.2010 12:23:54 452 (0x01C4)
Die Systemvariable %windir% wird wohl sauber aufgelöst, wo das Problem jetzt liegt, das wäre dann die Frage ans Forum.
André
System: SCCM 2007 R2 Sp2 auf Server 2008R2x64, Clients XP x86 Sp3