I am installing an MSI using a task sequence command line.
The program should create an icon in the C:\Users\Public\Desktop folder.
Whenever I run the program without specifying an account (Run this step as the following account) it installs correctly but it does not create the icon.
Whenever I specify the sccm domain account which has full domain administrator rights and access to this folder it fails to install the program at all UNLESS I have logged into the workstation with the sccm account, if I have already logged into the box it runs perfectly and create the icon fine...
Here is the log file of the failing install-
<![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="16:33:41.911-60" date="04-13-2015" component="TSManager" context="" type="1" thread="1348"
file="instruction.cxx:751">
<![LOG[Expand a string: WinPEandFullOS]LOG]!><time="16:33:41.911-60" date="04-13-2015" component="TSManager" context="" type="0" thread="1348" file="executionenv.cxx:782">
<![LOG[Executing command line: smsswd.exe /run:NDC0002B msiexec /i "Sectra RIS Client 16.1.15 Basic Install.msi" STRSERVERNAME="BCDVTRNRIS01.NIPACS.NET" INSTALLDIR="D:\Program Files (x86)\Sectra\" SPEECH_INSTALL_AS_WINDOWS_SERVICE=1
SPEECH_INI_REMOTE_SERVICE_HOST_NAME="BCDVTRNRIS01.NIPACS.NET" SPEECH_INI_DOWNLOAD_FREQUENCY=180 SPEECH_INI_REMOTE_FILE_TRANSFER_PORT_NUMBER=6005 SPEECH_INI_REMOTE_SERVICE_PORT_NUMBER=6000 SPEECH_INI_UPLOAD_FREQUENCY=30 /qn]LOG]!><time="16:33:41.911-60"
date="04-13-2015" component="TSManager" context="" type="1" thread="1348" file="commandline.cpp:827">
<![LOG[[ smsswd.exe ]]LOG]!><time="16:33:41.925-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="652" file="main.cpp:289">
<![LOG[PackageID = 'NDC0002B']LOG]!><time="16:33:41.930-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="652" file="main.cpp:318">
<![LOG[BaseVar = '', ContinueOnError='']LOG]!><time="16:33:41.930-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="652" file="main.cpp:319">
<![LOG[ProgramName = 'msiexec /i "Sectra RIS Client 16.1.15 Basic Install.msi" STRSERVERNAME="BCDVTRNRIS01.NIPACS.NET" INSTALLDIR="D:\Program Files (x86)\Sectra\" SPEECH_INSTALL_AS_WINDOWS_SERVICE=1 SPEECH_INI_REMOTE_SERVICE_HOST_NAME="BCDVTRNRIS01.NIPACS.NET"
SPEECH_INI_DOWNLOAD_FREQUENCY=180 SPEECH_INI_REMOTE_FILE_TRANSFER_PORT_NUMBER=6005 SPEECH_INI_REMOTE_SERVICE_PORT_NUMBER=6000 SPEECH_INI_UPLOAD_FREQUENCY=30 /qn']LOG]!><time="16:33:41.930-60" date="04-13-2015" component="InstallSoftware"
context="" type="1" thread="652" file="main.cpp:320">
<![LOG[SwdAction = '0001']LOG]!><time="16:33:41.930-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="652" file="main.cpp:321">
<![LOG[Getting linked token]LOG]!><time="16:33:41.979-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="652" file="runcommandline.cpp:334">
<![LOG[failed to get the linked token information. It may not be available. Error 1312]LOG]!><time="16:33:41.979-60" date="04-13-2015" component="InstallSoftware" context="" type="2" thread="652"
file="runcommandline.cpp:341">
<![LOG[ResolveSource flags: 0x00000000]LOG]!><time="16:33:42.113-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="652" file="resolvesource.cpp:3201">
<![LOG[SMSTSPersistContent: . The content for package NDC0002B will be persisted]LOG]!><time="16:33:42.113-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="652"
file="resolvesource.cpp:3212">
<![LOG[Resolved source to 'F:\_SMSTaskSequence\Packages\NDC0002B']LOG]!><time="16:33:42.113-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="652" file="runcommandline.cpp:453">
<![LOG[Working dir 'F:\_SMSTaskSequence\Packages\NDC0002B']LOG]!><time="16:33:42.113-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="652" file="runcommandline.cpp:546">
<![LOG[Executing command line: Run command line]LOG]!><time="16:33:42.113-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="652" file="commandline.cpp:827">
<![LOG[Process completed with exit code 1603]LOG]!><time="16:33:42.647-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="652" file="commandline.cpp:1123">
<![LOG[Command line returned 1603]LOG]!><time="16:33:42.647-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="652" file="runcommandline.cpp:569">
<![LOG[Process completed with exit code 1603]LOG]!><time="16:33:42.663-60" date="04-13-2015" component="TSManager" context="" type="1" thread="1348" file="commandline.cpp:1123">
<![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="16:33:42.664-60" date="04-13-2015" component="TSManager" context="" type="1" thread="1348"
file="instruction.cxx:804">
<![LOG[Failed to run the action: Install RIS Basic Install.
Fatal error during installation. (Error: 00000643; Source: Windows)]LOG]!><time="16:33:42.664-60" date="04-13-2015" component="TSManager" context="" type="3" thread="1348" file="instruction.cxx:895">
<![LOG[Set authenticator in transport]LOG]!><time="16:33:42.665-60" date="04-13-2015" component="TSManager" context="" type="0" thread="1348" file="libsmsmessaging.cpp:7734">
<![LOG[Set a global environment variable _SMSTSLastActionRetCode=1603]LOG]!><time="16:33:42.831-60" date="04-13-2015" component="TSManager" context="" type="0" thread="1348" file="executionenv.cxx:668">
<![LOG[Set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="16:33:42.832-60" date="04-13-2015" component="TSManager" context="" type="0" thread="1348" file="executionenv.cxx:668">
<![LOG[Clear local default environment]LOG]!><time="16:33:42.832-60" date="04-13-2015" component="TSManager" context="" type="0" thread="1348" file="executionenv.cxx:807">
<![LOG[Let the parent group (RIS 16.1.15 Install) decides whether to continue execution]LOG]!><time="16:33:42.837-60" date="04-13-2015" component="TSManager" context="" type="0" thread="1348"
file="instruction.cxx:1004">
<![LOG[The execution of the group (RIS 16.1.15 Install) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows)]LOG]!><time="16:33:42.839-60" date="04-13-2015" component="TSManager" context="" type="3" thread="1348" file="instruction.cxx:217">
<![LOG[Failed to run the last action: Install RIS Basic Install. Execution of task sequence failed.
Fatal error during installation. (Error: 00000643; Source: Windows)]LOG]!><time="16:33:42.839-60" date="04-13-2015" component="TSManager" context="" type="3" thread="1348" file="engine.cxx:213">
And this is the log of a successful install-
<![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="16:43:46.776-60" date="04-13-2015" component="TSManager" context="" type="1" thread="1440"
file="instruction.cxx:751">
<![LOG[Expand a string: WinPEandFullOS]LOG]!><time="16:43:46.776-60" date="04-13-2015" component="TSManager" context="" type="0" thread="1440" file="executionenv.cxx:782">
<![LOG[Executing command line: smsswd.exe /run:NDC0002B msiexec /i "Sectra RIS Client 16.1.15 Full Configuration UK.msi" /qn]LOG]!><time="16:43:46.776-60" date="04-13-2015" component="TSManager" context=""
type="1" thread="1440" file="commandline.cpp:827">
<![LOG[[ smsswd.exe ]]LOG]!><time="16:43:46.787-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="1968" file="main.cpp:289">
<![LOG[PackageID = 'NDC0002B']LOG]!><time="16:43:46.792-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="1968" file="main.cpp:318">
<![LOG[BaseVar = '', ContinueOnError='']LOG]!><time="16:43:46.792-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="1968" file="main.cpp:319">
<![LOG[ProgramName = 'msiexec /i "Sectra RIS Client 16.1.15 Full Configuration UK.msi" /qn']LOG]!><time="16:43:46.792-60" date="04-13-2015" component="InstallSoftware" context="" type="1"
thread="1968" file="main.cpp:320">
<![LOG[SwdAction = '0001']LOG]!><time="16:43:46.792-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="1968" file="main.cpp:321">
<![LOG[ResolveSource flags: 0x00000000]LOG]!><time="16:43:46.792-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="1968" file="resolvesource.cpp:3201">
<![LOG[SMSTSPersistContent: . The content for package NDC0002B will be persisted]LOG]!><time="16:43:46.792-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="1968"
file="resolvesource.cpp:3212">
<![LOG[Resolved source to 'F:\_SMSTaskSequence\Packages\NDC0002B']LOG]!><time="16:43:46.792-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="1968" file="runcommandline.cpp:453">
<![LOG[Working dir 'F:\_SMSTaskSequence\Packages\NDC0002B']LOG]!><time="16:43:46.792-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="1968" file="runcommandline.cpp:546">
<![LOG[Executing command line: Run command line]LOG]!><time="16:43:46.793-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="1968" file="commandline.cpp:827">
<![LOG[Process completed with exit code 0]LOG]!><time="16:43:47.112-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="1968" file="commandline.cpp:1123">
<![LOG[Command line returned 0]LOG]!><time="16:43:47.112-60" date="04-13-2015" component="InstallSoftware" context="" type="1" thread="1968" file="runcommandline.cpp:569">
<![LOG[Process completed with exit code 0]LOG]!><time="16:43:47.113-60" date="04-13-2015" component="TSManager" context="" type="1" thread="1440" file="commandline.cpp:1123">
<![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="16:43:47.113-60" date="04-13-2015" component="TSManager" context="" type="1" thread="1440"
file="instruction.cxx:804">
<![LOG[Successfully completed the action (Install RIS Full Configuration) with the exit win32 code 0]LOG]!><time="16:43:47.113-60" date="04-13-2015" component="TSManager" context="" type="1" thread="1440"
file="instruction.cxx:830">
<![LOG[Set authenticator in transport]LOG]!>
Any ideas?