Jump to content


anyweb

sample XP to Windows 7 task sequences

Recommended Posts

post your entire SMSTS.log file and explain what you've tried.

Share this post


Link to post
Share on other sites

I have tried to do the Hard-Link task sequence and everything is working okay with the USMT etc. My issue is i am trying to make this upgrade a mandatory task sequence so we can upgrade all our XP machines to windows 7. What is occurring is the at the end after it configures the SCCM client it is trying to autologin as the administrator of the local machine? Why is this? I did not see any setting for autologin in the task sequence? Can someone help me with this. Is this because i am sending the task sequence to the workstation as mandatory?

Share this post


Link to post
Share on other sites

I have setup the demo for XP to Win7 refresh including USMT with hard linking and am having some issues. If im troubleshooting correctly i think there is an issue copying the package to the client.

The c:\_SMStaskSequince folder is created but Packages folder is empty. I have set the sequence to stop on errors and it stopping on "Capture user Files and settings" here is the smsts.log:

 

 

==============================[ OSDMigrateUserState.exe ]============================== OSDUSMT 5/2/2012 2:00:33 PM 1600 (0x0640)

Initializing from environment successful OSDUSMT 5/2/2012 2:00:33 PM 1600 (0x0640)

Trying to resolve package path for packageID - ABC00012 OSDUSMT 5/2/2012 2:00:33 PM 1600 (0x0640)

No http based locations are available. SMB based locations will be attempted now. OSDUSMT 5/2/2012 2:00:33 PM 1600 (0x0640)

Successfully connected to "\\SCCM2007VM.WME.COM\SMSPKGC$\ABC00012" OSDUSMT 5/2/2012 2:00:33 PM 1600 (0x0640)

USMT package path = 'C:\_SMSTaskSequence\Packages\ABC00012' OSDUSMT 5/2/2012 2:00:53 PM 1600 (0x0640)

Initiailization succeeded OSDUSMT 5/2/2012 2:00:53 PM 1600 (0x0640)

EncryptionKey ENV var not found. This may be because Local state Store is used. OSDUSMT 5/2/2012 2:00:53 PM 1600 (0x0640)

Building Default USMT params successful OSDUSMT 5/2/2012 2:00:53 PM 1600 (0x0640)

Adding config files to user params successful OSDUSMT 5/2/2012 2:00:53 PM 1600 (0x0640)

Additional user defined options = "/hardlink /nocompress" OSDUSMT 5/2/2012 2:00:53 PM 1600 (0x0640)

Building user defined params successful OSDUSMT 5/2/2012 2:00:53 PM 1600 (0x0640)

Building USMT command successful OSDUSMT 5/2/2012 2:00:53 PM 1600 (0x0640)

Creating directory "C:\_SMSTaskSequence\UserState" OSDUSMT 5/2/2012 2:00:53 PM 1600 (0x0640)

Executing command line: "C:\_SMSTaskSequence\Packages\ABC00012\scanstate.exe" "C:\_SMSTaskSequence\UserState" /o /localonly /c /efs:copyraw /v:5 /l:"C:\WINDOWS\system32\CCM\Logs\SMSTSLog\scanstate.log" /progress:"C:\WINDOWS\system32\CCM\Logs\SMSTSLog\scanstateprogress.log" /i:"C:\_SMSTaskSequence\Packages\ABC00012\x86\migapp.xml" /i:"C:\_SMSTaskSequence\Packages\ABC00012\x86\migdocs.xml" /i:"C:\_SMSTaskSequence\Packages\ABC00012\x86\miguser.xml" /hardlink /nocompress OSDUSMT 5/2/2012 2:00:53 PM 1600 (0x0640)

CreateProcess failed. Code(0x800700C1) OSDUSMT 5/2/2012 2:00:53 PM 1600 (0x0640)

Command line execution failed (800700C1) OSDUSMT 5/2/2012 2:00:53 PM 1600 (0x0640)

Invoking ReleaseSource on USMTPackagePath C:\_SMSTaskSequence\Packages\ABC00012 OSDUSMT 5/2/2012 2:00:53 PM 1600 (0x0640)

OSDMigrateUserState finished: 0x800700c1 OSDUSMT 5/2/2012 2:00:55 PM 1600 (0x0640)

Process completed with exit code 2147942593 TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

!--------------------------------------------------------------------------------------------! TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

Failed to run the action: Capture User Files and Settings.

is not a valid Win32 application. (Error: 800700C1; Source: Windows) TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

Sending status message . . . TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

Send a task execution status message SMS_TSExecution_ActionFailError TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

Formatted header: TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

<Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:7EFEEDA6-12C4-4119-B596-961020B156CC</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2012-05-02T21:00:55Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="4316"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>

TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

Set a global environment variable _SMSTSLastActionRetCode=-2147024703 TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

Clear local default environment TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

Let the parent group (Capture User Files and Settings) decides whether to continue execution TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

Let the parent group (Capture Files and Settings) decide whether to continue execution TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

The execution of the group (Capture Files and Settings) has failed and the execution has been aborted. An action failed.

Operation aborted (Error: 80004004; Source: Windows) TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

Failed to run the last action: Capture User Files and Settings. Execution of task sequence failed.

is not a valid Win32 application. (Error: 800700C1; Source: Windows) TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

Sending status message . . . TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

Send a task execution status message SMS_TSExecution_TaskSequenceFailError TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

Formatted header: TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

<Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:7EFEEDA6-12C4-4119-B596-961020B156CC</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2012-05-02T21:00:55Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="2164"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>

TSManager 5/2/2012 2:00:55 PM 2148 (0x0864)

Task Sequence Engine failed! Code: enExecutionFail TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

**************************************************************************** TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

Task sequence execution failed with error code 80004005 TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

Cleaning Up. Removing Authenticator TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

Cleaning up task sequence folder TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

Successfully unregistered Task Sequencing Environment COM Interface. TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

Executing command line: "C:\WINDOWS\system32\CCM\TsProgressUI.exe" /Unregister TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

==========[ TsProgressUI started in process 548 ]========== TsProgressUI 5/2/2012 2:08:14 PM 1292 (0x050C)

Unregistering COM classes TsProgressUI 5/2/2012 2:08:14 PM 1292 (0x050C)

Shutdown complete. TsProgressUI 5/2/2012 2:08:14 PM 1292 (0x050C)

Process completed with exit code 0 TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

Successfully unregistered TS Progress UI. TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

Start to cleanup TS policy TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

End TS policy cleanup TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

Error executing Task Sequence Manager service. Code 0x80004005 TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

Sending error status message TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

Formatted header: TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

<Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:7EFEEDA6-12C4-4119-B596-961020B156CC</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2012-05-02T21:08:14Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="1166"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>

TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

Successfully finalized logs to SMS client log directory from C:\WINDOWS\system32\CCM\Logs TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

Resuming SMS Components TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

Waiting for CcmExec service to be fully operational TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

CcmExec service is up and fully operational TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

Resume for CCM component SoftwareDistribution requested TSManager 5/2/2012 2:08:14 PM 2148 (0x0864)

Resume for CCM component SoftwareUpdates requested TSManager 5/2/2012 2:08:15 PM 2148 (0x0864)

Attempting to release request using {0158473B-6E15-433A-AD97-510317ACA384} TSManager 5/2/2012 2:08:15 PM 2148 (0x0864)

ReleaseRequest succeeded TSManager 5/2/2012 2:08:15 PM 2148 (0x0864)

Failed to delete registry value HKLM\Software\Microsoft\SMS\Task Sequence\System Health Agent. Error code 0x80070002 TSManager 5/2/2012 2:08:15 PM 2148 (0x0864)

Stopping Task Sequence Manager service TSManager 5/2/2012 2:08:15 PM 2148 (0x0864)

Share this post


Link to post
Share on other sites

Here is my task:

 

<?xml version="1.0"?>

<SmsTaskSequencePackage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<BootImageID>ABC00019</BootImageID>

<Category>Microsoft Deployment Toolkit</Category>

<DependentProgram />

<Description>XP to W7 X86 using Hardlinking</Description>

<Duration>360</Duration>

<Name>XP to W7 Demo - X86 using Hardlinking-ABC0002F</Name>

<ProgramFlags>152084496</ProgramFlags>

<SequenceData>

<sequence version="3.00">

<referenceList>

<reference package="ABC00030" />

<reference package="ABC0002A" />

<reference package="ABC0000B" />

<reference package="ABC00012" />

</referenceList>

<globalVarList>

<variable name="OSDEnableTCPIPFiltering" property="EnableTCPIPFiltering">false</variable>

<variable name="OSDAdapterCount" property="NumAdapters">0</variable>

</globalVarList>

<group name="Capture Files and Settings" description="Actions to capture files and settings in the original operating system">

<condition>

<expression type="SMS_TaskSequence_VariableConditionExpression">

<variable name="Operator">equals</variable>

<variable name="Value">false</variable>

<variable name="Variable">_SMSTSInWinPE</variable>

</expression>

</condition>

<group name="Capture User Files and Settings" description="Capture User Files and Settings">

<step type="SMS_TaskSequence_SetVariableAction" name="Set Local State Location" description="Provide a path in this case we use a variable" runIn="WinPEandFullOS" successCodeList="0">

<action>tsenv.exe "OSDStateStorePath=%_SMSTSUserStatePath%"</action>

<defaultVarList>

<variable name="VariableName" property="VariableName" hidden="true">OSDStateStorePath</variable>

<variable name="VariableValue" property="VariableValue" hidden="true">%_SMSTSUserStatePath%</variable>

</defaultVarList>

</step>

<step type="SMS_TaskSequence_SetVariableAction" name="Set Hard-link Scan Parameters" description="" runIn="WinPEandFullOS" successCodeList="0">

<action>tsenv.exe "OSDMigrateAdditionalCaptureOptions=/hardlink /nocompress"</action>

<defaultVarList>

<variable name="VariableName" property="VariableName" hidden="true">OSDMigrateAdditionalCaptureOptions</variable>

<variable name="VariableValue" property="VariableValue" hidden="true">/hardlink /nocompress</variable>

</defaultVarList>

</step>

<step type="SMS_TaskSequence_SetVariableAction" name="Set Hard-link Load Parameters" description="" runIn="WinPEandFullOS" successCodeList="0">

<action>tsenv.exe "OSDMigrateAdditionalRestoreOptions=/Hardlink /nocompress"</action>

<defaultVarList>

<variable name="VariableName" property="VariableName" hidden="true">OSDMigrateAdditionalRestoreOptions</variable>

<variable name="VariableValue" property="VariableValue" hidden="true">/Hardlink /nocompress</variable>

</defaultVarList>

</step>

<step type="SMS_TaskSequence_CaptureUserStateAction" name="Capture User Files and Settings" description="use a USMT 4 package here making sure to point to the USMT 4 source folder with both X86 and X64 sub folders present." runIn="FullOS" successCodeList="0">

<action>osdmigrateuserstate.exe /collect /continueOnError:%OSDMigrateContinueOnLockedFiles% /skipefs:%OSDMigrateSkipEncryptedFiles%</action>

<defaultVarList>

<variable name="OSDMigrateConfigFiles" property="ConfigFiles">migapp.xml,migdocs.xml,miguser.xml</variable>

<variable name="OSDMigrateContinueOnLockedFiles" property="ContinueOnLockedFiles">true</variable>

<variable name="OSDMigrateEnableVerboseLogging" property="EnableVerboseLogging">true</variable>

<variable name="OSDMigrateMode" property="Mode">Advanced</variable>

<variable name="OSDMigrateSkipEncryptedFiles" property="SkipEncryptedFiles">false</variable>

<variable name="_OSDMigrateUsmtPackageID" property="UsmtPackageID">ABC00030</variable>

</defaultVarList>

</step>

</group>

</group>

<group name="Install Operating System" description="Actions to run in Windows PE to install and configure the image">

<step type="SMS_TaskSequence_RebootAction" name="Restart in Windows PE" description="" runIn="WinPEandFullOS" successCodeList="0">

<condition>

<expression type="SMS_TaskSequence_VariableConditionExpression">

<variable name="Operator">equals</variable>

<variable name="Value">false</variable>

<variable name="Variable">_SMSTSInWinPE</variable>

</expression>

</condition>

<action>smsboot.exe /target:WinPE</action>

<defaultVarList>

<variable name="SMSRebootMessage" property="Message">A new Microsoft Windows operating system is being installed. The computer must reboot to continue.</variable>

<variable name="SMSRebootTimeout" property="MessageTimeout">10</variable>

<variable name="SMSRebootTarget" property="Target" hidden="true">WinPE</variable>

</defaultVarList>

</step>

<step type="SMS_TaskSequence_ApplyOperatingSystemAction" name="Apply Operating System" description="Actions to apply operating system the unattend.xml file used here is customised using Windows SIM, see www.windows-noob.com" runIn="WinPE" successCodeList="0">

<action>OSDApplyOS.exe /image:ABC0002A,%OSDImageIndex%</action>

<defaultVarList>

<variable name="OSDImageIndex" property="ImageIndex">1</variable>

<variable name="ImagePackageID" property="ImagePackageID" hidden="true">ABC0002A</variable>

</defaultVarList>

</step>

<step type="SMS_TaskSequence_ApplyWindowsSettingsAction" name="Apply Windows Settings" description="Actions to apply windows settings" runIn="WinPE" successCodeList="0">

<action>osdwinsettings.exe /config</action>

<defaultVarList>

<variable name="OSDLocalAdminPassword" property="AdminPassword">

</variable>

<variable name="OSDComputerName" property="ComputerName">%_SMSTSMachineName%</variable>

<variable name="OSDProductKey" property="ProductKey">

</variable>

<variable name="OSDRandomAdminPassword" property="RandomAdminPassword">false</variable>

<variable name="OSDRegisteredOrgName" property="RegisteredOrgName">Admin</variable>

<variable name="OSDRegisteredUserName" property="RegisteredUserName">Admin</variable>

<variable name="OSDServerLicenseConnectionLimit" property="ServerLicenseConnectionLimit">5</variable>

<variable name="OSDTimeZone" property="TimeZone">W. Europe Standard Time</variable>

</defaultVarList>

</step>

<step type="SMS_TaskSequence_ApplyNetworkSettingsAction" name="Apply Network Settings" description="Actions to configure network settings" runIn="WinPEandFullOS" successCodeList="0">

<action>osdnetsettings.exe configure</action>

<defaultVarList>

<variable name="OSDDomainName" property="DomainName">server2008.lab.local</variable>

<variable name="OSDJoinPassword" property="DomainPassword">

</variable>

<variable name="OSDJoinAccount" property="DomainUsername">server2008\domjoin</variable>

<variable name="OSDEnableTCPIPFiltering" property="EnableTCPIPFiltering" hidden="true">false</variable>

<variable name="OSDNetworkJoinType" property="NetworkJoinType">0</variable>

<variable name="OSDAdapterCount" property="NumAdapters" hidden="true">0</variable>

</defaultVarList>

</step>

</group>

<group name="Setup Operating System" description="Setup Operating System">

<step type="SMS_TaskSequence_SetupWindowsAndSMSAction" name="Setup windows and ConfigMgr" description="Actions to setup windows and ConfigMgr client" runIn="WinPEandFullOS" successCodeList="0">

<action>OSDSetupWindows.exe</action>

<defaultVarList>

<variable name="SMSClientInstallProperties" property="ClientInstallProperties">

</variable>

<variable name="_SMSClientPackageID" property="ClientPackageID">ABC0000B</variable>

</defaultVarList>

</step>

<group name="Restore User Files and Settings" description="Restore User Files and Settings" continueOnError="true">

<step type="SMS_TaskSequence_RestoreUserStateAction" name="Restore User Files and Settings" description="" continueOnError="true" runIn="FullOS" successCodeList="0">

<action>osdmigrateuserstate.exe /apply /continueOnError:%OSDMigrateContinueOnRestore%</action>

<defaultVarList>

<variable name="OSDMigrateConfigFiles" property="ConfigFiles">Migapps.xml,Migdocs.xml,Migusers.xml</variable>

<variable name="OSDMigrateContinueOnRestore" property="ContinueOnRestore">true</variable>

<variable name="OSDMigrateEnableVerboseLogging" property="EnableVerboseLogging">true</variable>

<variable name="OSDMigrateLocalAccountPassword" property="LocalAccountPassword">

</variable>

<variable name="OSDMigrateLocalAccounts" property="LocalAccounts">true</variable>

<variable name="OSDMigrateMode" property="Mode">Advanced</variable>

<variable name="_OSDMigrateUsmtRestorePackageID" property="UsmtRestorePackageID">ABC00012</variable>

</defaultVarList>

</step>

</group>

</group>

</sequence>

</SequenceData>

<SourceDate>2012-05-02T11:20:45</SourceDate>

<SupportedOperatingSystems />

<IconSize>0</IconSize>

</SmsTaskSequencePackage>

Share this post


Link to post
Share on other sites

I'm looking at your SMP example. What is the package that needs to be placed in the State Capture/Capture Groups section? Is it the same USMT package that is to be used in the Capture User State section?

Share this post


Link to post
Share on other sites

Hi All,

 

Is there a sample TS I can import for hardlinking? Is the process different for SCCM 2012? I see when you want to import it looks for a .zip file and not a xml file.

 

Thanks guys

Share this post


Link to post
Share on other sites

the task sequences for Configuration Manager 2012 are in a different format than for Cm2007, which are you using ?

Share this post


Link to post
Share on other sites

Hi Guys,

 

My head does not work any more... I have some of the models working and some models does not work for userstate migration: Attached please find the XML for USMT. I am getting the statestore folder on the upgraded winxp computer however printers are not hooked. data is not copied to Mydocument and favourites.

 <group name="State Capture" description="">
          <condition>
            <expression type="SMS_TaskSequence_VariableConditionExpression">
              <variable name="Operator">equals</variable>
              <variable name="Value">false</variable>
              <variable name="Variable">_SMSTSinWinPE</variable>
            </expression>
          </condition>
          <step type="SMS_TaskSequence_SetVariableAction" name="Set OSDMigrateMode" description="" continueOnError="true" runIn="WinPEandFullOS" successCodeList="0">
            <action>tsenv.exe "OSDMigrateMode=Advanced"</action>
            <defaultVarList>
              <variable name="VariableName" property="VariableName" hidden="true">OSDMigrateMode</variable>
              <variable name="VariableValue" property="VariableValue" hidden="true">Advanced</variable>
            </defaultVarList>
          </step>
          <step type="SMS_TaskSequence_SetVariableAction" name="Set OSDMigrateConfigFiles" description="" continueOnError="true" runIn="WinPEandFullOS" successCodeList="0">
            <action>tsenv.exe "OSDMigrateConfigFiles=MigUser.xml,MigApp.xml,MigLoblaw.xml"</action>
            <defaultVarList>
              <variable name="VariableName" property="VariableName" hidden="true">OSDMigrateConfigFiles</variable>
              <variable name="VariableValue" property="VariableValue" hidden="true">MigUser.xml,MigApp.xml,MigLoblaw.xml</variable>
            </defaultVarList>
          </step>
          <step type="SMS_TaskSequence_SetVariableAction" name="Set OSDMigrateAdditionalCaptureOptions" description="" continueOnError="true" runIn="WinPEandFullOS" successCodeList="0">
            <action>tsenv.exe "OSDMigrateAdditionalCaptureOptions="</action>
            <defaultVarList>
              <variable name="VariableName" property="VariableName" hidden="true">OSDMigrateAdditionalCaptureOptions</variable>
              <variable name="VariableValue" property="VariableValue" hidden="true">
              </variable>
            </defaultVarList>
          </step>
          <step type="SMS_TaskSequence_RunCommandLineAction" name="USMT ZTI" description="" runIn="WinPEandFullOS" successCodeList="0 3010">
            <condition>
              <expression type="SMS_TaskSequence_VariableConditionExpression">
                <variable name="Operator">equals</variable>
                <variable name="Value">Yes</variable>
                <variable name="Variable">SkipWizard</variable>
              </expression>
            </condition>
            <action>smsswd.exe /run: cscript.exe "%DeployRoot%\Scripts\ZTIUserState.wsf /definition:UDIWizard_Config.xml"</action>
            <defaultVarList>
              <variable name="CommandLine" property="CommandLine" hidden="true">cscript.exe "%DeployRoot%\Scripts\ZTIUserState.wsf /definition:UDIWizard_Config.xml"</variable>
              <variable name="SMSTSDisableWow64Redirection" property="DisableWow64Redirection">false</variable>
              <variable name="_SMSTSRunCommandLineAsUser" property="RunAsUser">false</variable>
              <variable name="SuccessCodes" property="SuccessCodes" hidden="true">0 3010</variable>
            </defaultVarList>
          </step>
          <step type="SMS_TaskSequence_RunCommandLineAction" name="UDI Wizard" description="" disable="true" runIn="WinPEandFullOS" successCodeList="0 3010">
            <condition>
              <expression type="SMS_TaskSequence_VariableConditionExpression">
                <variable name="Operator">equals</variable>
                <variable name="Value">NO</variable>
                <variable name="Variable">SkipWizard</variable>
              </expression>
            </condition>
            <action>smsswd.exe /run: cscript.exe "%DeployRoot%\Scripts\UDIWizard.wsf"</action>
            <defaultVarList>
              <variable name="CommandLine" property="CommandLine" hidden="true">cscript.exe "%DeployRoot%\Scripts\UDIWizard.wsf"</variable>
              <variable name="SMSTSDisableWow64Redirection" property="DisableWow64Redirection">false</variable>
              <variable name="_SMSTSRunCommandLineAsUser" property="RunAsUser">false</variable>
              <variable name="SuccessCodes" property="SuccessCodes" hidden="true">0 3010</variable>
            </defaultVarList>
          </step>
          <step type="SMS_TaskSequence_RunCommandLineAction" name="Copy SMS Logs" description="" continueOnError="true" runIn="WinPEandFullOS" successCodeList="0 3010">
            <condition>
              <operator type="and">
                <expression type="SMS_TaskSequence_VariableConditionExpression">
                  <variable name="Operator">exists</variable>
                  <variable name="Value">
                  </variable>
                  <variable name="Variable">OSDStateStorePath</variable>
                </expression>
                <expression type="SMS_TaskSequence_VariableConditionExpression">
                  <variable name="Operator">equals</variable>
                  <variable name="Value">NO</variable>
                  <variable name="Variable">SkipWizard</variable>
                </expression>
              </operator>
            </condition>
            <action>smsswd.exe /run: cmd /c xcopy /E /C /I /Y %_SMSTSLogPath%\*.* %OSDStateStorePath%\SCCMLogs</action>
            <defaultVarList>
              <variable name="CommandLine" property="CommandLine" hidden="true">cmd /c xcopy /E /C /I /Y %_SMSTSLogPath%\*.* %OSDStateStorePath%\SCCMLogs</variable>
              <variable name="SMSTSDisableWow64Redirection" property="DisableWow64Redirection">false</variable>
              <variable name="_SMSTSRunCommandLineAsUser" property="RunAsUser">false</variable>
              <variable name="SuccessCodes" property="SuccessCodes" hidden="true">0 3010</variable>
            </defaultVarList>
          </step>
          <step type="SMS_TaskSequence_RunCommandLineAction" name="Set Status 1" description="" runIn="WinPEandFullOS" successCodeList="0 3010">
            <action>smsswd.exe /run: cscript.exe "%deployroot%\scripts\ztisetbackground.wsf" /image:1</action>
            <defaultVarList>
              <variable name="CommandLine" property="CommandLine" hidden="true">cscript.exe "%deployroot%\scripts\ztisetbackground.wsf" /image:1</variable>
              <variable name="SMSTSDisableWow64Redirection" property="DisableWow64Redirection">false</variable>
              <variable name="_SMSTSRunCommandLineAsUser" property="RunAsUser">false</variable>
              <variable name="SuccessCodes" property="SuccessCodes" hidden="true">0 3010</variable>
            </defaultVarList>
          </step>
          <step type="SMS_TaskSequence_CaptureNetworkSettingsAction" name="Capture Network Settings" description="" runIn="FullOS" successCodeList="0">
            <action>osdnetsettings.exe capture netmembership:%OSDMigrateNetworkMembership% adapters:%OSDMigrateAdapterSettings%</action>
            <defaultVarList>
              <variable name="OSDMigrateAdapterSettings" property="MigrateAdapterSettings">true</variable>
              <variable name="OSDMigrateNetworkMembership" property="MigrateNetworkMembership">true</variable>
            </defaultVarList>
          </step>
          <group name="Online USMT" description="">
            <condition>
              <expression type="SMS_TaskSequence_VariableConditionExpression">
                <variable name="Operator">notEquals</variable>
                <variable name="Value">TRUE</variable>
                <variable name="Variable">USMTOfflineMigration</variable>
              </expression>
            </condition>
            <step type="SMS_TaskSequence_RunCommandLineAction" name="Determine Local or Remote UserState" description="" runIn="WinPEandFullOS" successCodeList="0 3010">
              <action>smsswd.exe /run:LCL002A3 cscript.exe "%deployroot%\scripts\ztiuserstate.wsf" /capture /estimate</action>
              <defaultVarList>
                <variable name="CommandLine" property="CommandLine" hidden="true">cscript.exe "%deployroot%\scripts\ztiuserstate.wsf" /capture /estimate</variable>
                <variable name="SMSTSDisableWow64Redirection" property="DisableWow64Redirection">false</variable>
                <variable name="PackageID" property="PackageID" hidden="true">LCL002A3</variable>
                <variable name="_SMSTSRunCommandLineAsUser" property="RunAsUser">false</variable>
                <variable name="SuccessCodes" property="SuccessCodes" hidden="true">0 3010</variable>
              </defaultVarList>
            </step>
            <step type="SMS_TaskSequence_RequestStateStoreAction" name="Request State Store" description="" runIn="FullOS" successCodeList="0">
              <condition>
                <expression type="SMS_TaskSequence_VariableConditionExpression">
                  <variable name="Operator">notEquals</variable>
                  <variable name="Value">True</variable>
                  <variable name="Variable">USMTLOCAL</variable>
                </expression>
              </condition>
              <action>osdsmpclient.exe /capture</action>
              <defaultVarList>
                <variable name="OSDStateFallbackToNAA" property="FallbackToNAA">true</variable>
                <variable name="OSDStateRequestType" property="RequestType" hidden="true">capture</variable>
                <variable name="OSDStateSMPRetryCount" property="SMPRetryCount" hidden="true">3</variable>
                <variable name="OSDStateSMPRetryTime" property="SMPRetryTime" hidden="true">10</variable>
              </defaultVarList>
            </step>
            <step type="SMS_TaskSequence_CaptureUserStateAction" name="Capture User State" description="" runIn="FullOS" successCodeList="0">
              <action>osdmigrateuserstate.exe /collect /continueOnError:%OSDMigrateContinueOnLockedFiles% /skipefs:%OSDMigrateSkipEncryptedFiles%</action>
              <defaultVarList>
                <variable name="OSDMigrateContinueOnLockedFiles" property="ContinueOnLockedFiles">true</variable>
                <variable name="OSDMigrateEnableVerboseLogging" property="EnableVerboseLogging">false</variable>
                <variable name="OSDMigrateMode" property="Mode">Simple</variable>
                <variable name="OSDMigrateSkipEncryptedFiles" property="SkipEncryptedFiles">false</variable>
                <variable name="_OSDMigrateUsmtPackageID" property="UsmtPackageID">LCL002A3</variable>
              </defaultVarList>
            </step>
            <step type="SMS_TaskSequence_ReleaseStateStoreAction" name="Release State Store" description="" continueOnError="true" runIn="FullOS" successCodeList="0">
              <condition>
                <expression type="SMS_TaskSequence_VariableConditionExpression">
                  <variable name="Operator">notEquals</variable>
                  <variable name="Value">True</variable>
                  <variable name="Variable">USMTLOCAL</variable>
                </expression>
              </condition>
              <action>osdsmpclient.exe /release</action>
              <defaultVarList />
            </step>
          </group>
        </group>
        <group name="Preinstall" description="">
          <group name="New Computer Only" description="">
            <condition>
              <expression type="SMS_TaskSequence_VariableConditionExpression">
                <variable name="Operator">equals</variable>
                <variable name="Value">True</variable>
                <variable name="Variable">_SMSTSinWInPE</variable>
              </expression>
            </condition>
            <step type="BDD_Validate" name="Validate" description="" runIn="WinPEandFullOS" successCodeList="0">
              <action>smsswd.exe /run: cscript.exe "%DeployRoot%\Scripts\ZTIValidate.wsf"</action>
              <defaultVarList>
                <variable name="ImageMemory" property="ImageMemory">768</variable>
                <variable name="ImageProcessorSpeed" property="ImageProcessorSpeed">800</variable>
                <variable name="ImageSize" property="ImageSize">0</variable>
                <variable name="VerifyOS" property="VerifyOS">CLIENT</variable>
              </defaultVarList>
            </step>
            <step type="SMS_TaskSequence_RunCommandLineAction" name="USMT ZTI" description="" runIn="WinPEandFullOS" successCodeList="0 3010">
              <condition>
                <expression type="SMS_TaskSequence_VariableConditionExpression">
                  <variable name="Operator">equals</variable>
                  <variable name="Value">Yes</variable>
                  <variable name="Variable">SkipWizard</variable>
                </expression>
              </condition>
              <action>smsswd.exe /run: cscript.exe "%DeployRoot%\Scripts\ZTIUserState.wsf /definition:UDIWizard_Config.xml"</action>
              <defaultVarList>
                <variable name="CommandLine" property="CommandLine" hidden="true">cscript.exe "%DeployRoot%\Scripts\ZTIUserState.wsf /definition:UDIWizard_Config.xml"</variable>
                <variable name="SMSTSDisableWow64Redirection" property="DisableWow64Redirection">false</variable>
                <variable name="_SMSTSRunCommandLineAsUser" property="RunAsUser">false</variable>
                <variable name="SuccessCodes" property="SuccessCodes" hidden="true">0 3010</variable>
                <variable name="WorkingDirectory" property="WorkingDirectory">%TOOLROOT%</variable>
              </defaultVarList>
            </step>
            <step type="SMS_TaskSequence_RunCommandLineAction" name="UDI Wizard" description="" disable="true" runIn="WinPEandFullOS" successCodeList="0 3010">
              <condition>
                <expression type="SMS_TaskSequence_VariableConditionExpression">
                  <variable name="Operator">equals</variable>
                  <variable name="Value">NO</variable>
                  <variable name="Variable">SkipWizard</variable>
                </expression>
              </condition>
              <action>smsswd.exe /run: cscript.exe "%DeployRoot%\Scripts\UDIWizard.wsf"</action>
              <defaultVarList>
                <variable name="CommandLine" property="CommandLine" hidden="true">cscript.exe "%DeployRoot%\Scripts\UDIWizard.wsf"</variable>
                <variable name="SMSTSDisableWow64Redirection" property="DisableWow64Redirection">false</variable>
                <variable name="_SMSTSRunCommandLineAsUser" property="RunAsUser">false</variable>
                <variable name="SuccessCodes" property="SuccessCodes" hidden="true">0 3010</variable>
                <variable name="SMSTSRunCommandLineUserName" property="UserName">
                </variable>

Regards,

Share this post


Link to post
Share on other sites

Hi Guys,

 

Here is the Restore User State:

 

 

  <step type="SMS_TaskSequence_RestoreUserStateAction" name="Restore User State" description="" runIn="FullOS" successCodeList="0">
            <condition>
              <expression type="SMS_TaskSequence_VariableConditionExpression">
                <variable name="Operator">exists</variable>
                <variable name="Value">
                </variable>
                <variable name="Variable">OSDStateStorePath</variable>
              </expression>
              <operator type="or">
                <expression type="SMS_TaskSequence_FolderConditionExpression">
                  <variable name="Path">%OSDStateStorePath%\USMT</variable>
                </expression>
                <expression type="SMS_TaskSequence_FolderConditionExpression">
                  <variable name="Path">%OSDStateStorePath%\USMT3</variable>
                </expression>
              </operator>
            </condition>
            <action>osdmigrateuserstate.exe /apply /continueOnError:%OSDMigrateContinueOnRestore%</action>
            <defaultVarList>
              <variable name="OSDMigrateContinueOnRestore" property="ContinueOnRestore">true</variable>
              <variable name="OSDMigrateEnableVerboseLogging" property="EnableVerboseLogging">false</variable>
              <variable name="OSDMigrateLocalAccounts" property="LocalAccounts">false</variable>
              <variable name="OSDMigrateMode" property="Mode">Simple</variable>
              <variable name="_OSDMigrateUsmtRestorePackageID" property="UsmtRestorePackageID">LCL002A3</variable>
            </defaultVarList>
          </step>
          <step type="SMS_TaskSequence_RunCommandLineAction" name="Copy SMS Logs" description="" continueOnError="true" runIn="WinPEandFullOS" successCodeList="0 3010">
            <condition>
              <expression type="SMS_TaskSequence_VariableConditionExpression">
                <variable name="Operator">exists</variable>
                <variable name="Value">
                </variable>
                <variable name="Variable">OSDStateStorePath</variable>
              </expression>
            </condition>
            <action>smsswd.exe /run: cmd /c xcopy /E /C /I /Y %_SMSTSLogPath%\*.* %OSDStateStorePath%\SCCMLogs</action>
            <defaultVarList>
              <variable name="CommandLine" property="CommandLine" hidden="true">cmd /c xcopy /E /C /I /Y %_SMSTSLogPath%\*.* %OSDStateStorePath%\SCCMLogs</variable>
              <variable name="SMSTSDisableWow64Redirection" property="DisableWow64Redirection">false</variable>
              <variable name="_SMSTSRunCommandLineAsUser" property="RunAsUser">false</variable>
              <variable name="SuccessCodes" property="SuccessCodes" hidden="true">0 3010</variable>
            </defaultVarList>
          </step>
          <step type="SMS_TaskSequence_RunCommandLineAction" name="Move State Store" description="" runIn="WinPEandFullOS" successCodeList="0 3010">
            <action>smsswd.exe /run: cscript.exe "%deployroot%\scripts\ztimovestatestore.wsf"</action>
            <defaultVarList>
              <variable name="CommandLine" property="CommandLine" hidden="true">cscript.exe "%deployroot%\scripts\ztimovestatestore.wsf"</variable>
              <variable name="SMSTSDisableWow64Redirection" property="DisableWow64Redirection">false</variable>
              <variable name="SuccessCodes" property="SuccessCodes" hidden="true">0 3010</variable>
            </defaultVarList>
          </step>
          <step type="SMS_TaskSequence_RunCommandLineAction" name="Apply GPO Pack" description="" runIn="FullOS" successCodeList="0">
            <condition>
              <expression type="SMS_TaskSequence_VariableConditionExpression">
                <variable name="Operator">notEquals</variable>
                <variable name="Value">NO</variable>
                <variable name="Variable">APPLYGPOPACK</variable>
              </expression>
            </condition>
            <action>smsswd.exe /run: cscript.exe "%deployroot%\scripts\ztiapplygpopack.wsf"</action>
            <defaultVarList>
              <variable name="CommandLine" property="CommandLine" hidden="true">cscript.exe "%deployroot%\scripts\ztiapplygpopack.wsf"</variable>
              <variable name="SMSTSDisableWow64Redirection" property="DisableWow64Redirection">false</variable>
              <variable name="SuccessCodes" property="SuccessCodes" hidden="true">0</variable>
            </defaultVarList>
          </step>
          <step type="SMS_TaskSequence_RunCommandLineAction" name="Copy Logs" description="" runIn="WinPEandFullOS" successCodeList="0 3010">
            <action>smsswd.exe /run: cscript "%deployroot%\scripts\zticopylogs.wsf"</action>
            <defaultVarList>
              <variable name="CommandLine" property="CommandLine" hidden="true">cscript "%deployroot%\scripts\zticopylogs.wsf"</variable>
              <variable name="SMSTSDisableWow64Redirection" property="DisableWow64Redirection">false</variable>
              <variable name="SuccessCodes" property="SuccessCodes" hidden="true">0 3010</variable>
            </defaultVarList>
          </step> 
 

Regards,

Share this post


Link to post
Share on other sites

the task sequences for Configuration Manager 2012 are in a different format than for Cm2007, which are you using ?

Hi. I have SCCM 2012 (no SP1) and am trying to import these XMLs too with the same issue. It is looking for a .zip file.

Would it be possible to get them in the required .zip file format?

I was looking to experiment with both the Hardlinking and SMP methods.

Thanks for all you do, your postings have helped me alot!

Share this post


Link to post
Share on other sites

these samples are for Configuration Manager 2007 only.

Share this post


Link to post
Share on other sites

Hi everyone,

Is there anyone on this forum that is able to Migrate XP to 7 using SMP offline mode as it was done by Anyweb in Configuration Manager 2007 ?

I'm trying to do the same thing in SCCM 2012 R2 but I'm having problems.

Thanks in advance

Share this post


Link to post
Share on other sites

R2 doesn't support Windows XP at all, you'd need to import a WinPE 3.1 boot wim in to R2 just to properly deploy Windows XP, and the version of USMT would be USMT 4

Share this post


Link to post
Share on other sites

2014-03-08 19:47:39, Error [0x0802e3] SelectTransport: OpenDevice failed with Exception: Win32Exception: HARDLINK: cannot find all distributed stores.: There are no more files. [0x00000012] void __thiscall Mig::CMediaManager::SelectTransportInternal(int,unsigned int,struct Mig::IDeviceInitializationData *,int,int,int,__w64 unsigned long,class Mig::CDeviceProgressAdapter *)

 

Hi im getting below Error on restoring the User date for XP to windows 7

 

please find the Loadstate.log

 

2014-03-08 19:47:38, Info [0x080000] Loading replacement manifest data for WCF-HTTP-Activation
2014-03-08 19:47:38, Info [0x080000] Loading replacement manifest data for WCF-NonHTTP-Activation
2014-03-08 19:47:38, Info [0x080000] Loading replacement manifest data for Microsoft-Windows-MarketTheme-MCTAdmin-Component
2014-03-08 19:47:38, Info [0x080000] Loading replacement manifest data for WindowsSearchEngine
2014-03-08 19:47:38, Info [0x080000] Loading replacement manifest data for Microsoft-Windows-WindowsMobileDevice-Migration
2014-03-08 19:47:38, Info [0x080000] Loading replacement manifest data for Microsoft-Windows-WMI-Core
2014-03-08 19:47:38, Info [0x080000] Loading replacement manifest data for Microsoft-Windows-WSRM-Service
2014-03-08 19:47:38, Info [0x080000] CSIAgent: Enumerating Installed manifest from C:\Windows\winsxs\Manifests
2014-03-08 19:47:39, Info [0x000000] Working directory = C:\Windows\Temp\tmp1064.tmp
2014-03-08 19:47:39, Info [0x000000] Log directory = (NULL)
2014-03-08 19:47:39, Info [0x000000] Leaving MigStartupOnline method
2014-03-08 19:47:39, Info [0x000000] Entering MigGetRealPlatform method
2014-03-08 19:47:39, Info [0x000000] Leaving MigGetRealPlatform method
2014-03-08 19:47:39, Info [0x000000] Entering MigGetRealPlatform method
2014-03-08 19:47:39, Info [0x000000] Leaving MigGetRealPlatform method
2014-03-08 19:47:39, Info [0x000000] Entering MigGetRealPlatform method
2014-03-08 19:47:39, Info [0x000000] Leaving MigGetRealPlatform method
2014-03-08 19:47:39, Info [0x000000] System information:
Computer name: TEST-XP3
Machine SID: S-1-5-21-2452288464-1620949742-1053970182
OS version: 6.1.7601.Service Pack 1
Language: en-US
Architecture: 32-bit
Drives:
G: Type: Removable
C: Type: Fixed, Bus type: RAID, Hotplug: No
D: Type: Fixed, Bus type: RAID, Hotplug: No
H: Type: Removable
E: Type: CD/DVD
I: Type: Removable
F: Type: Removable
Users:
TEST-XP3\Guest, administrator: No, interactive: Yes, logged on: No, has profile: No
TEST-XP3\Administrator, administrator: Yes, interactive: Yes, logged on: No, has profile: No
2014-03-08 19:47:39, Status [0x000000] Activity: 'MIGACTIVITY_TRANSPORT_SELECTION'
2014-03-08 19:47:39, Info [0x000000] Processing the settings store
2014-03-08 19:47:39, Info [0x000000] Opening hardlink store d:\userstate
2014-03-08 19:47:39, Info [0x000000] Entering MigOpenHardLinkStore method
2014-03-08 19:47:39, Info [0x0802e2] User selecting transport(UNC Transport (class CUNCTransport) ) with initialization data(UNC: Path(d:\userstate\USMT))
2014-03-08 19:47:39, Error [0x080000] HARDLINK: cannot find distributed store for c - 46a3307e-82b1-4d60-83f1-32c0b6c28528[gle=0x00000002]
2014-03-08 19:47:39, Error [0x0802e3] SelectTransport: OpenDevice failed with Exception: Win32Exception: HARDLINK: cannot find all distributed stores.: There are no more files. [0x00000012] void __thiscall Mig::CMediaManager::SelectTransportInternal(int,unsigned int,struct Mig::IDeviceInitializationData *,int,int,int,__w64 unsigned long,class Mig::CDeviceProgressAdapter *)
void __thiscall Mig::CHardLinkHelper::Open(class UnBCL::String *)[gle=0x00000002]
2014-03-08 19:47:39, Error [0x000000] Unable to open store at d:\userstate\USMT[gle=0x00000002]
2014-03-08 19:47:39, Info [0x000000] Leaving MigOpenHardLinkStore method
2014-03-08 19:47:39, Error [0x000000] Failed to select store. Path: d:\userstate[gle=0x00000002]
2014-03-08 19:47:39, Warning [0x000000] Internal error 23 was translated to a default error
2014-03-08 19:47:39, Info [0x000000] Failed.[gle=0x00000091]
2014-03-08 19:47:39, Info [0x000000] An error occurred during store access[gle=0x00000091]
2014-03-08 19:47:39, Info [0x000000] USMT Completed at 2014/03/08:19:47:39.804[gle=0x00000091]
2014-03-08 19:47:39, Info [0x000000] Entering MigShutdown method
2014-03-08 19:47:39, Info [0x080000] Manifest thread was canceled. Exiting.
2014-03-08 19:47:39, Info [0x0803e6] Removing mapping for HKLM
2014-03-08 19:47:39, Info [0x0803e7] Successfully unmapped HKLM
2014-03-08 19:47:39, Info [0x0803e6] Removing mapping for HKU
2014-03-08 19:47:39, Info [0x0803e7] Successfully unmapped HKU
2014-03-08 19:47:39, Info [0x080487] Destroying OS analysis service
2014-03-08 19:47:39, Info [0x080488] Destroyed OS analysis service
2014-03-08 19:47:39, Info [0x000000] Leaving MigShutdown method

Share this post


Link to post
Share on other sites

Hi Niall,
Your site has been very handy in learning and training SCCM products. I am getting ready to do a large scale upgrade within sccm 2007 from xp to windows 7.
Most part I'm fine with building reference images in MDT 2012 and then importing them in sccm 07.
Just few questions I had were actually pertaining to hardlinks and wan sites. We have sites in WAN that would need upgrading to windows 7. If I'm going from xp to 7 do I need to add device drivers as part of the task sequence since windows 7 should pickup most standard hardware especially network drivers etc...
What are your thoughts on how this can be performed if no DP's exists on those sites.

 

Also as I'm testing things within VMware workstation I run a TS on xp, it goes through the hardlinks of capturing, installing OS then never is able to join to the domain and therefore the restore for USMT never happens. I know it's a drivers issue however shouldn't windows 7 find the drivers automatically.

I can see the userstate folder and can double click on it to see the profiles. So just missing something here.

Thanks,

Paul

Share this post


Link to post
Share on other sites

yes you'll need drivers as Windows 7 requires lots of drivers on modern hardware, examine the SMSTS.log file to find out why your virtual machine is failing, could be nic driver related, also check c:\windows\debug\netsetup.log to see why domain join failed,

 

a local dp would be advantageous, and you should use separate Apply Driver Package steps which are WMI based to target the correct hardware with the correct drivers, see this post.

 

how can I target applications (and drivers) to specific hardware?
target hardware

Share this post


Link to post
Share on other sites

Thanks for the quick response Niall.

 

So as a test here is what I'm doing: I have VM Ware Workstation running Ver 9.0.3.

Got a XPSP3 machine (Pretending its a users machine). I typed in the WMIC information on the command prompt and obtained the name said "VMware Virtual Platform"

 

So the task sequence I have for upgrading from XP to Win 7 using hardlinks, where will I be adding the virtual platform drivers? Will it be after the operating system section? Also I'm having a hard time finding drivers to include for VMware.

 

I liked the link you are referring to very helpful indeed.

 

Paul

 

Share this post


Link to post
Share on other sites

Niall so I have another system on Vm running Win 7, when I looked under the device manager of that system to determine the NIC it's using.

 

I am attaching a screen shot. I cannot find the drivers for that nic to include in my task sequence.

 

Let me try again to do the upgrade and look at the logs you were referring to as well.

 

Paul

win7vmnic.rtf

Share this post


Link to post
Share on other sites

well you can prove that nic drivers are needed by opening a command prompt during OSD just before the setup windows and configmgr step, does it have an ip address, if so good, what about after the reboot after setup windows and configmgr, if it has no ip at this point then there's your problem as it's then that it tries to join the domain.

 

why not use hyperV. no network drivers are needed at all for hyperV and it's free with Windows 8, Windows 8.1

Share this post


Link to post
Share on other sites

Thanks yes it needed the NIC drivers. Well so it proves that when I do this in production things should work by adding drivers for specific models. So good news is my hardlinks folder was there so if I had connectivity to the domain things would have worked. Hyper V , they said try once worse case you will either like it or not. So I will surely try it and see who wins VM or Hyper V.

 

So what's the best practices for upgrading systems in WAN if no DP's are running there? Maybe DVD's I guess.

 

I was just wondering if you are on LAN how will offline upgrading/migrating from XP to Windows 7 using hardlinks help vs just building a TS with hardlinks package? Maybe Bandwidth utilization is all I can think of.

Share this post


Link to post
Share on other sites

you could use standalone media (usb or cd/dvd)

Share this post


Link to post
Share on other sites

Running into an issue when the TS reaches the Capture User state part, I was trying to capture data from windows xp to store to a network unc share.

Error I'm seeing on client's smsts.log is failed to delete registry value "System health Agent Error Code 0x80070002. Both client and server client versions are same 4.0.6487.2000 (SCCM 07). Before that it also has Error executing Task Sequence Manager service Code 0x80004005.

 

scanstate log shows error occurred processing the command line.

 

Any help would be appreciated.

 

Thanks,

Paul

 

Share this post


Link to post
Share on other sites

start a new toipic and attach the scanstate.log file

Share this post


Link to post
Share on other sites

Ok not sure if someone will beat me to it, hardlink is always a good option as its quick as no data is copied however if you have full device encryption like us you will have to first remove the encryption. And in our case then chain it to a desk in a locked room...

 

You need setup 3 TS variables with the following values, as follows:

OSDStateStorePath - %_SMSTSUserStatePath%

OSDMigrateAdditionalCaptureOptions - /hardlink /nocompress

OSDMigrateAdditionalRestoreOptions - /Hardlink /nocompress

 

After those 3 variables place a Capture User State step and select your USMT package (if you don't have use MDT to create one) and then select the 'radio button customize how user profiles are captured' and add the following files:

migapp.xml

migdocs.xml

miguser.xml

 

Now for capturing your MIF file, I have not tested this but it should work in theory as always test before going live. Add additional step of run command line and enter copy "c:\windows\system32\ccm\inventory\a.mif" "%OSDStateStorePath%\a.mif" /v /y this should then copy the file to the same as the hardlinked files.

 

Now restart in PE, do the normal for applying the windows 7 image but don't use the format and partition disk as the disk has a partition everything will be wiped apart from the hardlinked folder.

 

At the end a step Restore User State again add the USMT package, restore all captured user profiles with standard options. And of course copy back your a.mif file to the directory of choice.

 

That is how to do it with hardlinking.

 

This information has been taken from the example file attached at the beginning of the post. We have 1 additional step, I have created a VB script that resets the machine account on AD before restarting in PE so that the same machine account can be used to save having to re-add the machine to all the groups it once belonged to again.

 

I hope that helps you.

 

I know this is a really old post, but I'm trying to create a TS to capture user data on a BitLocker W7 x64 machine, rebuild and then restore the data and enabling BitLocker again. I'm just unable to get the USMT to run to capture the user state. I'm trying to do this in WinPE. USMT for Windows 8, is this compatible for Win 7? I'm guessing it won't work because the BitLocker drive is not unlocked. How do I unlock the drive? I put the Disable BitLocker step at the very beginning of the TS and it fails straight away.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...