Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, October 7, 2019 10:14 PM
Hello,
I am running a Task Sequence for another site that is a copy of the Task Sequence we use for our primary site only with time zones changed. Despite it fully working on the primary site it seems to be breaking on this other one.
Failed to run the action: Setup Windows and Configuration Manager. Error -2147467259
This step is normally where the TS would install the client with the properties
SMSMP=SVRGAC-SCCM-P01.US.SAGEPUB.ORG
However it is failing with that above error and I cannot find anything related to it. Any thoughts would be great thank you!
The other odd thing I noticed was that I am pulling the logs from C:\SMSTaskSequence\Logs\Smstslog\ When I feel like It should come from c:\windows\ccm\logs\
As the OS should have been installed by now. Not sure why when I run a Dir I am not seeing anything listed under CCM.
SMSTS.log
Successfully completed the action (Apply Device Drivers) with the exit win32 code 0 TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
MP server http://SVRGAC-SCCM-P01.us.sagepub.org. Ports 80,443. CRL=false. TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Setting authenticator TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Sending StatusMessage TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Setting the authenticator. TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
CLibSMSMessageWinHttpTransport::Send: WinHttpOpenRequest - URL: SVRGAC-SCCM-P01.us.sagepub.org:80 CCM_POST /ccm_system/request TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Not in SSL. TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Request was successful. TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Set a global environment variable _SMSTSLastActionRetCode=0 TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Set a global environment variable _SMSTSLastActionName=Apply Device Drivers TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Set a global environment variable _SMSTSLastActionSucceeded=true TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Expand a string: %_SMSTSMDataPath%\Logs TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Clear local default environment TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Updated security on object C:\SMSTaskSequence. TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Set a global environment variable _SMSTSNextInstructionPointer=174 TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Set a TS execution environment variable _SMSTSNextInstructionPointer=174 TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Set a global environment variable _SMSTSInstructionStackString=0 169 TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Set a TS execution environment variable _SMSTSInstructionStackString=0 169 TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Save the current environment block TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Successfully save execution state and environment to local hard disk TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Set a global environment variable _SMSTSLastActionRetryCount=0 TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Start executing an instruction. Instruction name: Setup Operating System. Instruction pointer: 174 TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Set a global environment variable _SMSTSCurrentActionName=Setup Operating System TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Set a global environment variable _SMSTSNextInstructionPointer=174 TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Evaluating an AND expression TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Evaluating a variable condition expression TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Variable = _SMSTSLastActionSucceeded TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Value = True TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Operator = equals TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Expand a string: equals TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Expand a string: _SMSTSLastActionSucceeded TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Expand a string: True TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
The variable condition expression is evaluated to be TRUE TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
The AND expression is evaluated to be TRUE TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
The condition for the group (Setup Operating System) is evaluated to be true TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
The group (Setup Operating System) has been successfully started TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
MP server http://SVRGAC-SCCM-P01.us.sagepub.org. Ports 80,443. CRL=false. TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Setting authenticator TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Sending StatusMessage TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Setting the authenticator. TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
CLibSMSMessageWinHttpTransport::Send: WinHttpOpenRequest - URL: SVRGAC-SCCM-P01.us.sagepub.org:80 CCM_POST /ccm_system/request TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Not in SSL. TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Request was successful. TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Updated security on object C:\SMSTaskSequence. TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Set a global environment variable _SMSTSNextInstructionPointer=175 TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Set a TS execution environment variable _SMSTSNextInstructionPointer=175 TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Set a global environment variable _SMSTSInstructionStackString=0 169 174 TSManager 10/7/2019 2:30:34 PM 1536 (0x0600)
Set a TS execution environment variable _SMSTSInstructionStackString=0 169 174 TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Save the current environment block TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Successfully save execution state and environment to local hard disk TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Set a global environment variable _SMSTSLastActionRetryCount=0 TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Start executing an instruction. Instruction name: Setup Windows and Configuration Manager. Instruction pointer: 175 TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Set a global environment variable _SMSTSCurrentActionName=Setup Windows and Configuration Manager TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Set a global environment variable _SMSTSNextInstructionPointer=175 TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Set a local default variable SMSClientInstallProperties TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Set a local default variable _SMSClientPackageID TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Set a global environment variable _SMSTSLogPath=X:\windows\TEMP\SMSTSLog TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Expand a string: OSDSetupWindows.exe TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Expand a string: TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Command line for extension .exe is "%1" %* TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Set command line: OSDSetupWindows.exe TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Start executing the command line: OSDSetupWindows.exe TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
!! TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Expand a string: WinPEandFullOS TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Executing command line: OSDSetupWindows.exe with options (0, 4) TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
==============================[ OSDSetupWindows.exe ]=========================== OSDSetupWindows 10/7/2019 2:30:35 PM 1940 (0x0794)
Command line: "OSDSetupWindows.exe" OSDSetupWindows 10/7/2019 2:30:35 PM 1940 (0x0794)
this->answerFilePath.empty() == false, HRESULT=80004005 (setupwindows.cpp,351) OSDSetupWindows 10/7/2019 2:30:35 PM 1940 (0x0794)
setup.run(), HRESULT=80004005 (setupwindows.cpp,1650) OSDSetupWindows 10/7/2019 2:30:35 PM 1940 (0x0794)
Exiting with code 0x80004005 OSDSetupWindows 10/7/2019 2:30:35 PM 1940 (0x0794)
Process completed with exit code 2147500037 TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
!! TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Failed to run the action: Setup Windows and Configuration Manager. Error -2147467259 TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
MP server http://SVRGAC-SCCM-P01.us.sagepub.org. Ports 80,443. CRL=false. TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Setting authenticator TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Sending StatusMessage TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Setting the authenticator. TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
CLibSMSMessageWinHttpTransport::Send: WinHttpOpenRequest - URL: SVRGAC-SCCM-P01.us.sagepub.org:80 CCM_POST /ccm_system/request TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Not in SSL. TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Request was successful. TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Set a global environment variable _SMSTSLastActionRetCode=-2147467259 TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Set a global environment variable _SMSTSLastActionName=Setup Windows and Configuration Manager TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Clear local default environment TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
The execution engine ignored the failure of the action (Setup Windows and Configuration Manager) and continues execution TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
MP server http://SVRGAC-SCCM-P01.us.sagepub.org. Ports 80,443. CRL=false. TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Setting authenticator TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Sending StatusMessage TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Setting the authenticator. TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
CLibSMSMessageWinHttpTransport::Send: WinHttpOpenRequest - URL: SVRGAC-SCCM-P01.us.sagepub.org:80 CCM_POST /ccm_system/request TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Not in SSL. TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Request was successful. TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Updated security on object C:\SMSTaskSequence. TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Set a global environment variable _SMSTSNextInstructionPointer=176 TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Set a TS execution environment variable _SMSTSNextInstructionPointer=176 TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Set a global environment variable _SMSTSInstructionStackString=0 169 174 TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Set a TS execution environment variable _SMSTSInstructionStackString=0 169 174 TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Save the current environment block TSManager 10/7/2019 2:30:35 PM 1536 (0x0600)
Successfully save execution state and environment to local hard disk TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Set a global environment variable _SMSTSLastActionRetryCount=0 TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Start executing an instruction. Instruction name: Restart Computer. Instruction pointer: 176 TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Set a global environment variable _SMSTSCurrentActionName=Restart Computer TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Set a global environment variable _SMSTSNextInstructionPointer=176 TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Set a local default variable SMSRebootMessage TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Set a local default variable SMSRebootTimeout TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Set a global environment variable _SMSTSLogPath=X:\windows\TEMP\SMSTSLog TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Expand a string: smsboot.exe /target:HD TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Expand a string: TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Command line for extension .exe is "%1" %* TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Set command line: smsboot.exe /target:HD TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Start executing the command line: smsboot.exe /target:HD TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
!! TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Expand a string: WinPEandFullOS TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Executing command line: smsboot.exe /target:HD with options (0, 4) TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
========================= [ smsboot.exe ] ========================= Reboot 10/7/2019 2:30:36 PM 1312 (0x0520)
Command line: '"smsboot.exe" /target:HD' Reboot 10/7/2019 2:30:36 PM 1312 (0x0520)
SMSTSRebootDelay=1 Reboot 10/7/2019 2:30:36 PM 1312 (0x0520)
SMSTSRebootMessage=A new Microsoft Windows operating system is being installed. The computer must restart to continue. Reboot 10/7/2019 2:30:36 PM 1312 (0x0520)
SMSTSRebootRequested=HD Reboot 10/7/2019 2:30:36 PM 1312 (0x0520)
Process completed with exit code 0 TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
!! TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Successfully completed the action (Restart Computer) with the exit win32 code 0 TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
MP server http://SVRGAC-SCCM-P01.us.sagepub.org. Ports 80,443. CRL=false. TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Setting authenticator TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Sending StatusMessage TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Setting the authenticator. TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
CLibSMSMessageWinHttpTransport::Send: WinHttpOpenRequest - URL: SVRGAC-SCCM-P01.us.sagepub.org:80 CCM_POST /ccm_system/request TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Not in SSL. TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Request was successful. TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Set a global environment variable _SMSTSLastActionRetCode=0 TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Set a global environment variable _SMSTSLastActionName=Restart Computer TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Set a global environment variable _SMSTSLastActionSucceeded=true TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Expand a string: %_SMSTSMDataPath%\Logs TSManager 10/7/2019 2:30:36 PM 1536 (0x0600)
Thomas Faherty
All replies (5)
Monday, October 7, 2019 11:18 PM ✅Answered | 1 vote
> This step is normally where the TS would install the client with the properties
This step does far more than install the client agent.
> I am starting to think it is actually an issue with my Unattended file
Yes, the first line with an error is specific to the answer file so your error happens long before the client agent installation is ever attempted and before Windows Setup itself is ever attempted.
Why are you specifying an unattended setup file at all?
Jason | https://home.configmgrftw.com | @jasonsandys
Wednesday, October 9, 2019 9:24 PM ✅Answered
I found the issue. This is just silly but there was a typo in the name of the unattended file for the Apply Operating System Image step.
Thomas Faherty
Monday, October 7, 2019 10:34 PM
I am starting to think it is actually an issue with my Unattended file so I am updating the DPs. This site does have a different Unattended than the other one due to a need for a different key layout.
Thomas Faherty
Wednesday, October 9, 2019 3:39 PM
Sorry for the late response I was quite sick. The unattended created a named local admin account and in this case specifies the keyboard layout for the UK. If you have a better way to do this I am open to getting rid of the unattended?
Thomas Faherty
Wednesday, October 9, 2019 9:30 PM | 1 vote
Excellent.
As for the question of a better way than using unattend.xml, today there is no other way really for the localization configuration (like keyboard) although they are adding a step type in 1910 (it was in the latest TP so hopefully it'll make it to 1910) to do this without using a custom unattend.xml. For the local admin account, use a command-line task in the TS which is so much more flexible and obvious to anyone having to modify or work with your TS in the future including yourself if (when really) you forget that's where it gets created.
Jason | https://home.configmgrftw.com | @jasonsandys