Quantcast
Channel: Configuration Manager 2012 - Operating System Deployment forum
Viewing all articles
Browse latest Browse all 9126

Task Sequence Failed to Image Machine - GetTsRegValue() is unsuccessful. 0x80070002._

$
0
0

Hello,

I am setting up a new TS to image a machine with Windows 10 version 1803.

However it failed with code 0x80070002. when I check the logs for the smsts I see

-------------------------------------------------------------------------------------------------------------

Execution engine result code: Reboot (2) TSManager 11/30/2018 8:46:33 AM 1404 (0x057C)
Process completed with exit code 2147945410 TSMBootstrap 11/30/2018 8:46:33 AM 1356 (0x054C)
Exiting with return code 0x80070BC2 TSMBootstrap 11/30/2018 8:46:33 AM 1356 (0x054C)
Execution complete. TSBootShell 11/30/2018 8:46:33 AM 628 (0x0274)
hMap != 0, HRESULT=80070002 (..\environmentscope.cpp,493) TSBootShell 11/30/2018 8:46:33 AM 628 (0x0274)
m_pGlobalScope->open(), HRESULT=80070002 (..\environmentlib.cpp,335) TSBootShell 11/30/2018 8:46:33 AM 628 (0x0274)
this->open(), HRESULT=80070002 (..\environmentlib.cpp,561) TSBootShell 11/30/2018 8:46:33 AM 628 (0x0274)
::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (..\utils.cpp,844) TSBootShell 11/30/2018 8:46:33 AM 628 (0x0274)
RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSBootShell 11/30/2018 8:46:33 AM 628 (0x0274)
GetTsRegValue() is unsuccessful. 0x80070002. TSBootShell 11/30/2018 8:46:33 AM 628 (0x0274)

-------------------------------------------------------------------------------------------------------------

Some research led me to believe it might be my unattended XML that is causing this but I don't see anything that looks like an issue in it to me.

-------------------------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
        <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <InputLocale>%OSDInputLocale%</InputLocale>
            <UILanguage>%OSDUILanguage%</UILanguage>
            <UILanguageFallback>%OSDUILanguageFallback%</UILanguageFallback>
            <SystemLocale>%OSDSystemLocale%</SystemLocale>
            <UserLocale>%OSDUserLocale%</UserLocale>
        </component>
  <!--<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-TPM-Tasks">
   <ClearTpm>2</ClearTpm>
  </component>-->
    </settings>
 <settings pass="oobeSystem">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <HideLocalAccountScreen>true</HideLocalAccountScreen>
                <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                <NetworkLocation>Work</NetworkLocation>
                <ProtectYourPC>1</ProtectYourPC>
                <SkipMachineOOBE>true</SkipMachineOOBE>
                <SkipUserOOBE>true</SkipUserOOBE>
            </OOBE>
   <RegisteredOrganization>Company Name</RegisteredOrganization>
            <RegisteredOwner>Company Name</RegisteredOwner>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/temp/install.wim#Windows 10 Enterprise Evaluation" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

-------------------------------------------------------------------------------------------------------------

Any Help would be great.


Thomas Faherty



Viewing all articles
Browse latest Browse all 9126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>