Jump to content


  • 0
anyweb

sample XP to Windows 7 task sequences

Question

hi all,

 

as this is a common requirement, here are two Task Sequences I use for demoing Windows XP migrations to Windows 7,

 

Related Reading:-

 

OSDMigrateAdditionalCaptureOptions on Technet

OSDMigrateAdditionalRestoreOptions on Technet

 

Before you can use these sample task sequences you must have done the following Steps.

 

Using Computer Association add a computer to your Deploy XP collection, and then Deploy Windows XP to that computer. Once Deployed with XP you can use Direct Membership to add that computer to the Migrate XP to 7 Collection described below.

 

XP to Windows 7 Demo - X86 using Hardlinking

 

The first task sequence XP to Windows 7 Demo - X86 using Hardlinking.xml will migrate XP to Windows 7 using hardlinking

 

XP to Windows 7 Demo - X86 using Hardlinking.xml

 

XP to Windows 7 Demo - X86 using SMP

 

The second one uses a SMP *State Migration Point*

 

XP to W7 Demo - X86 using SMP.xml

 

simply import these task sequences into ConfigMgr, and replace the missing package references (configmgr X86 boot images, microsoft deployment 2010 settings, mdt2010 files, windows 7 autologin enable package, usmt4 package and the Windows 7 X86 WIM file itself).

 

 

See below screenshots to help you with that

 

 

Task Sequence References with hardlinking

 

xp to w7 demo references w hardlinking.jpg

 

 

Task Sequence References with SMP

 

xp to w7 demo references w smp.jpg

 

and then advertise the task sequences to a migrate XP to Windows 7 collection

 

migrate collection.jpg

 

add computers to the Migrate XP to Windows 7 collection and kick off the appropriate TS via RAP.

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0

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

  • 0

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

  • 0

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

  • 0

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

  • 0

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

  • 0

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

  • 0

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

  • 0

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

Join the conversation

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

Guest
Answer this question...

×   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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.