USMT Offline - USB Stick
Hello All New road block to me; we are middle of OSD deployment and few sites are very few numbers like 3-20 computers on each site. So My Management *strictly* decided to Deploy OSD with USB Sticks and they bought USB 3.0 good in Capacity. The Challenge I am facing is .. My Target Machines are Windows XP and wanted to Migrate to Windows 7 along with USMT Capture & Restore as Offline State (From Task Sequence Media USB Drive).. How would I confirm in the Task Sequence step as what is my USB Drive Letter? How would I Capture the User state to the USB Drive a folder called UsbeDriveletter:\USMTData Again I want to Restore the USMT Captured State from the Same USB Drive to Windows 7.. While this Process How would I Know what is my USB Drive Letter If in my all Windows XP system I have C drive only it would be easy However in my situation, there are multiple OS Partions drives So the same task sequence Media should work for One partition system or many Kindly through some lights here. Your Response is more valuable for me
May 17th, 2012 8:16am

Take a look here for a script to determine you USB Drive: http://social.technet.microsoft.com/Forums/en-us/ITCG/thread/04797ddb-1315-4abd-8b5c-a276213692e5 Something else you might want to consider, if you are doing a computer-refresh, is hardlinks. This way you just keep the data local.My Blog: http://www.petervanderwoude.nl/ Follow me on twitter: pvanderwoude
Free Windows Admin Tool Kit Click here and download it now
May 17th, 2012 9:14am

If I execute the Script I am getting the out of my connected USB Drive Letter.. However How can i carry this Drive letter further for Re-direct my Scanned state to store in this Drive ?
May 17th, 2012 9:29am

Create a Microsoft.SMS.TSEnvironment object and add the value of your variable to a Task Sequence Variable. See the example here: http://gallery.technet.microsoft.com/scriptcenter/d8caa4bb-652b-4e38-ba7e-876afce8c48e#contentMy Blog: http://www.petervanderwoude.nl/ Follow me on twitter: pvanderwoude
Free Windows Admin Tool Kit Click here and download it now
May 17th, 2012 9:36am

Create a Microsoft.SMS.TSEnvironment object and add the value of your variable to a Task Sequence Variable. See the example here: http://gallery.technet.microsoft.com/scriptcenter/d8caa4bb-652b-4e38-ba7e-876afce8c48e#contentMy Blog: http://www.petervanderwoude.nl/ Follow me on twitter: pvanderwoude
May 17th, 2012 9:41am

As i said I have two parts here ... but don't know how to use the drive letter from part 1 to use in Part 2 for scan state.. 1) I got the script for get the Drive letter below is the script... strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colDiskDrives = objWMIService.ExecQuery("SELECT * FROM Win32_DiskDrive WHERE InterfaceType = 'USB'") For Each objDrive In colDiskDrives If Instr(1,objDrive.Caption, "HTS54104 0G9AT00") > 0 Then strDeviceID = Replace(objDrive.DeviceID, "\", "\\") Set colPartitions = objWMIService.ExecQuery ("ASSOCIATORS OF {Win32_DiskDrive.DeviceID=""" & strDeviceID & """} WHERE AssocClass = " & "Win32_DiskDriveToDiskPartition") For Each objPartition In colPartitions Set colLogicalDisks = objWMIService.ExecQuery("ASSOCIATORS OF {Win32_DiskPartition.DeviceID=""" & objPartition.DeviceID & """} WHERE AssocClass = " & "Win32_LogicalDiskToPartition") For Each objLogicalDisk In colLogicalDisks TargetPath = objLogicalDisk.DeviceID Next Next End If Next 2) The Next step is to scan the Scanstate offline : I have below command line batch working fine .... when i tested manually.. "%scanstate.exe" %USMToffline /c /o /offlinewindir:c:\windows /v:5 /l:%scanstate.log /progress:%scanstateprogress.log /i:%miguser.xml /i:%migapp.xml /i:%custom.xml /i:% migdocs.xml /config:%config.xml Kindly help to put these bits into some shape...
Free Windows Admin Tool Kit Click here and download it now
May 17th, 2012 10:12pm

Like i tried to say... Create a Microsoft.SMS.TSEnvironment variable, like this: set env = CreateObject("Microsoft.SMS.TSEnvironment") Set a value to a variable which you can use in your Task Sequence, like this: env("YourCustomVariable") = "Your Custom Value or Variable"After that YourCustomVariable is then what you can use in your Task Sequence as the drive letter for your USB.My Blog: http://www.petervanderwoude.nl/ Follow me on twitter: pvanderwoude
May 18th, 2012 8:35am

Like i tried to say... Create a Microsoft.SMS.TSEnvironment variable, like this: set env = CreateObject("Microsoft.SMS.TSEnvironment") Set a value to a variable which you can use in your Task Sequence, like this: env("YourCustomVariable") = "Your Custom Value or Variable"After that YourCustomVariable is then what you can use in your Task Sequence as the drive letter for your USB.My Blog: http://www.petervanderwoude.nl/ Follow me on twitter: pvanderwoude
Free Windows Admin Tool Kit Click here and download it now
May 18th, 2012 8:36am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics