Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING OSD RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence

  • Thread starter Thread starter iCon27
  • Start date Start date
  • Replies Replies 2
  • Views Views 8K

iCon27

Member
Messages
7
Reaction score
0
Points
1
Good day,
When running the OSD after selecting the TS that will be used, the Checking dependencies step runs and then the PC reboots. From the SMSTS log i get the "RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram" entry, but don't know what to do to resolve. The failed step is below... any help is much appreciated.
SCCM (CB), Version 1810, Console V. 5.1810.1075.1700, Site v. 5.0.8740.1000
OS Windows 10 Enterprise 1803 v. 10.0.17134.1
Boot image x64 version 10.0.17134.1, Client v. 5.00.8740.1012
**************************************************************************** TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
Execution engine result code: Success (0) TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
Cleaning Up. TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
Removing Authenticator TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
shKey.DeleteValue( c_szRegValue_SecurityToken ), HRESULT=80070002 (..\CcmUtilLib.cpp,2116) TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
shKey.DeleteValue(sRegValueName.c_str()), HRESULT=80070002 (..\CcmToken.cpp,1152) TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
shKey.DeleteValue(sRegValueName.c_str()), HRESULT=80070002 (..\CcmToken.cpp,1152) TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
!sTSMDataPath.empty(), HRESULT=80070002 (..\resolvesource.cpp,1436) TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
There is no TSM local data path being set TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
Successfully unregistered Task Sequencing Environment COM Interface. TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
Command line for extension .exe is "%1" %* TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
Set command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
Executing command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
==========[ TsProgressUI started in process 1120 ]========== TsProgressUI 1/10/2019 6:33:44 AM 1116 (0x045C)
Command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister TsProgressUI 1/10/2019 6:33:44 AM 1116 (0x045C)
Unregistering COM classes TsProgressUI 1/10/2019 6:33:44 AM 1116 (0x045C)
Unregistering class objects TsProgressUI 1/10/2019 6:33:44 AM 1116 (0x045C)
Shutdown complete. TsProgressUI 1/10/2019 6:33:44 AM 1116 (0x045C)
Process completed with exit code 0 TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
Successfully unregistered TS Progress UI. TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
Sending success status message TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
MP server http://Scooter.sladmin.com. Ports 80,443. CRL=false. TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
Setting authenticator TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
Sending StatusMessage TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
Setting the authenticator. TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
CLibSMSMessageWinHttpTransport::Send: WinHttpOpenRequest - URL: Scooter.sladmin.com:80 CCM_POST /ccm_system/request TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
Not in SSL TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
Request was successful. TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (..\utils.cpp,866) TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
GetTsRegValue() is unsuccessful. 0x80070002. TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
End program: TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
Finalize logging request ignored from process 1920 TSManager 1/10/2019 6:33:44 AM 1924 (0x0784)
Process completed with exit code 0 TSPxe 1/10/2019 6:33:44 AM 1828 (0x0724)
Task Sequence Manager returned code 0x00000000 TSPxe 1/10/2019 6:33:44 AM 1828 (0x0724)
ThreadToResolveAndExecuteTaskSequence returned code 0x00000000 TSPxe 1/10/2019 6:33:44 AM 1524 (0x05F4)
ResolveProgressPage::OnWizardNext() TSPxe 1/10/2019 6:33:44 AM 1524 (0x05F4)
Activating Finish Page. TSPxe 1/10/2019 6:33:44 AM 1524 (0x05F4)
Exiting with return code 0x00000000 TSPxe 1/10/2019 6:33:44 AM 1524 (0x05F4)
Execution complete. TSBootShell 1/10/2019 6:33:44 AM 672 (0x02A0)
hMap != 0, HRESULT=80070002 (..\environmentscope.cpp,493) TSBootShell 1/10/2019 6:33:44 AM 672 (0x02A0)
m_pGlobalScope->open(), HRESULT=80070002 (..\environmentlib.cpp,335) TSBootShell 1/10/2019 6:33:44 AM 672 (0x02A0)
this->open(), HRESULT=80070002 (..\environmentlib.cpp,561) TSBootShell 1/10/2019 6:33:44 AM 672 (0x02A0)
::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (..\utils.cpp,866) TSBootShell 1/10/2019 6:33:44 AM 672 (0x02A0)
RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSBootShell 1/10/2019 6:33:44 AM 672 (0x02A0)
GetTsRegValue() is unsuccessful. 0x80070002. TSBootShell 1/10/2019 6:33:44 AM 672 (0x02A0)
End program: TSBootShell 1/10/2019 6:33:44 AM 672 (0x02A0)
Finalizing logging from process 648 TSBootShell 1/10/2019 6:33:44 AM 672 (0x02A0)
Finalizing logs to root of first available drive TSBootShell 1/10/2019 6:33:44 AM 672 (0x02A0)
LOGGING: Setting log directory to "X:\SMSTSLog". TSBootShell 1/10/2019 6:33:44 AM 672 (0x02A0)

Update: I tried creating a new SCCM-NAA account in case of account issue and I also tried to "Allow clients to connect anonymously" from a post https://enterinit.com/sccm-osd-task-seqence-has-failed-with-the-error-code-0x80070002/
No luck...
 
Hello,
I have the same problem. I'm working with CM 2103 with installed KB10036164 Hotfix Rollup. Error appears during execution Task Sequence for In-place upgade to 21H1 as a last step, this is annoying because OS on target computer is upgraded successfully but in SCCM is still "In Progress" (The task sequence execution engine performed a system reboot initiated by an action):
1625469708973.png - the ending of smsts.log with an error:
1625468273998.png

Anyone knows how to solve it? Do you think that this error can be bypassed in TS configuration?

regards
Cyclist
 

Forum statistics

Threads
7,170
Messages
27,986
Members
18,290
Latest member
adblunt

Trending content

Back
Top