pipster Posted April 26, 2009 Author Share Posted April 26, 2009 No, don't run this at the desktop. Run this at the nice testing machine: the notebook.Remember the machine produced ParentIdPrefix(13) --- Imation Nano USB DeviceParentIdPrefix: 8&141a0a73&0(14) --- Kingston DataTraveler 2.0 USB DeviceParentIdPrefix: 8&207c63a1&0OrNano stick and... it gets parentID similar to the previous one (8&141a0a73&0): 8&141a0a73&1The new batch should convert this settings to 7&141a0a73&0 and 7&207c63a1&0.Use the previous command as jaclaz pointed.Or copy MkMigratgeInf_b.cmd to the USB stick and run MkMigratgeInf_b.cmd direct.I meant I ran it on D:\Documents and Settings\....\Desktop Anyway running this command: MkMigrateInf_b.cmd H: migrate_inf_b.txtproduced this:[Version] Signature = "$Windows NT$" [Addreg] HKLM,"SYSTEM\MountedDevices",,0x00000010 HKLM,"SYSTEM\ControlSet001\Control\StorageDevicePolicies","WriteProtect",0x00010001,1 HKLM,"SYSTEM\MountedDevices","\DosDevices\U:",0x00030001,\ 5C,00,3F,00,3F,00,5C,00,53,00,54,00,4F,00,52,00,41,00,47,00,45,00,23,00,52,00,65,00,6D,00,6F,00,76,00,61,00,62,00,6C,00,65,00,4D,00,65,00,64,00,69,00,61,00,23,00,37,00,26,00,31,00,35,00,37,00,61,00,64,00,36,00,32,00,26,00,30,00,26,00,52,00,4D,00,23,00,7B,00,35,00,33,00,66,00,35,00,36,00,33,00,30,00,64,00,2D,00,62,00,36,00,62,00,66,00,2D,00,31,00,31,00,64,00,30,00,2D,00,39,00,34,00,66,00,32,00,2D,00,30,00,30,00,61,00,30,00,63,00,39,00,31,00,65,00,66,00,62,00,38,00,62,00,7D,00That's different from this, that actually works in the txtsetup:[Version] Signature = "$Windows NT$" [Addreg] HKLM,"SYSTEM\MountedDevices",,0x00000010 HKLM,"SYSTEM\ControlSet001\Control\StorageDevicePolicies","WriteProtect",0x00010001,1 HKLM,"SYSTEM\MountedDevices","\DosDevices\U:",0x00030001,\ 5c,00,3f,00,3f,00,5c,00,53,00,54,00,4f,00,52,00,41,00,47,00,45,00,23,00,52,00,65,00,6d,00,6f,00,76,00,61,00,62,00,6c,00,65,00,4d,00,65,00,64,00,69,00,61,00,23,00,37,00,26,00,31,00,34,00,31,00,61,00,30,00,61,00,37,00,33,00,26,00,30,00,26,00,52,00,4d,00,23,00,7b,00,35,00,33,00,66,00,35,00,36,00,33,00,30,00,64,00,2d,00,62,00,36,00,62,00,66,00,2d,00,31,00,31,00,64,00,30,00,2d,00,39,00,34,00,66,00,32,00,2d,00,30,00,30,00,61,00,30,00,63,00,39,00,31,00,65,00,66,00,62,00,38,00,62,00,7d,00How do I know if it get or not 7& or 8& ??Where is it written? Maybe is it coded in the 5c,00,3f,00,3f,0... string? Link to comment Share on other sites More sharing options...
cdob Posted April 26, 2009 Share Posted April 26, 2009 I meant I ran it on D:\Documents and Settings\....\Desktop There are a lot of desktops arround MkMigrateInf_b.cmd H: migrate_inf_b.txt\??\STORAGE#RemovableMedia#7&157ad62&0&RM#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}That's different from this, that actually works in the txtsetup:\??\STORAGE#RemovableMedia#7&141a0a73&0&RM#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}That's two different USB devices: 7&157ad62&0 and 7&141a0a73&0Did you mix tow USB devices? Attach the proper USB stick first.How do I know if it get or not 7& or 8& ??Where is it written? Maybe is it coded in the 5c,00,3f,00,3f,0... string?Yes, that's a hex values of the string.Use Tiny Hexer, insert text. Compare http://www.msfn.org/board/index.php?s=&...st&p=738009 Link to comment Share on other sites More sharing options...
pipster Posted April 27, 2009 Author Share Posted April 27, 2009 (edited) Ok. Now (on the notebook) I get migrate.inf files with 7&, to summarize:In bold are the strings coming from migrates produced by your MkMigrateInf_b.cmd script.(1) --- Imation Nano USB Device instanceID: 078B142D0BB2&0 ParentIdPrefix: 8&141a0a73&1 ---> 7&141a0a73&0 Driver:{4D36E967-E325-11CE-BFC1-08002BE10318}\0001 Disk Stamp: 04/27/2009 00:57 Volume Stamp: 04/27/2009 00:57(2) --- Kingston DataTraveler 2.0 USB Device instanceID: 2008012500000000000002E4&0 ParentIdPrefix: 8&207c63a1&1 ---> 7&207c63a1&0 Last Mounted As: \DosDevices\G: Driver:{4D36E967-E325-11CE-BFC1-08002BE10318}\0003 Disk Stamp: 04/27/2009 01:39 Volume Stamp: 04/27/2009 01:39(3) --- Verbatim STORE N GO USB Device instanceID: 077A12160129&0 ParentIdPrefix: 8&157ad62&1 ---> 7&157ad62&0 Driver:{4D36E967-E325-11CE-BFC1-08002BE10318}\0002 Disk Stamp: 04/27/2009 01:17 Volume Stamp: 04/27/2009 01:17So to build a working USBstick for Win setup I have to replace MkMigrateInf2.cmd with MkMigrateInf_b.cmd. Is it correct? Edited April 27, 2009 by pipster Link to comment Share on other sites More sharing options...
jaclaz Posted April 27, 2009 Share Posted April 27, 2009 So to build a working USBstick for Win setup I have to replace MkMigrateInf2.cmd with MkMigrateInf_b.cmd. Is it correct?Yep. But to summarize:A few tens of thousands of people have used MkMigrateInf2.cmd successfully. MkMigrateInf2.cmd did not work on 1 (one) - your - machine as it had a somehow defective setup/Registry.cdob kindly modified the batch (MkMigrateInf_b.cmd) to (hopefully) insert a "correcting step" only needed on one machine out of several tens of thousands.Once you have fixed the Registry entries, "normal" MkMigrateInf2.cmd would (should) work as well.So, as I see it , it is a working workaround , but it doesn't tell us WHY you are getting 8& and 9& instead of 7& like all the rest of the world. jaclaz Link to comment Share on other sites More sharing options...
pipster Posted April 27, 2009 Author Share Posted April 27, 2009 (edited) ...A few tens of thousands of people have used MkMigrateInf2.cmd successfully. MkMigrateInf2.cmd did not work on 1 (one) - your - machine sad.gif as it had a somehow defective setup/Registry....So, as I see it , it is a working workaround , but it doesn't tell us WHY you are getting 8& and 9& instead of 7& like all the rest of the world. jaclaz"The mutation is the key to our evolution, enabled us to evolve from single celled organisms to the dominant species on the planet. This process is slow and normally takes thousands and thousands of years, but every hundred thousand years the evolution makes a leap ahead. (X-Men the movie, Xavier, voice-over)" I've to find what is the problem, but I think it is time to "erase and rewind", and launch a format C: Edited April 27, 2009 by pipster Link to comment Share on other sites More sharing options...
ilko_t Posted April 27, 2009 Share Posted April 27, 2009 Many thanks to cdob and pipster for revealing the truth behind these mysterious cases, when migrate.inf was not taken into account.BTW- Pipster, I wish all the guys asking for support had your patience and returned in a similar manner the requested information, thanks. Link to comment Share on other sites More sharing options...
pipster Posted April 27, 2009 Author Share Posted April 27, 2009 ilko_t, let me say I have to thank you, jaclaz and cdob for your precious and great help.It's nice to know all of us learned something. Link to comment Share on other sites More sharing options...
jaclaz Posted April 27, 2009 Share Posted April 27, 2009 "The mutation is the key to our evolution, enabled us to evolve from single celled organisms to the dominant species on the planet. This process is slow and normally takes thousands and thousands of years, but every hundred thousand years the evolution makes a leap ahead. (X-Men the movie, Xavier, voice-over)" But, on the other hand, it depends on the species you belong to :http://tsanda.wordpress.com/tag/nature/Sharks are so awesome that they have not needed to evolve in 65 million years. They were swimming around eating §@ç#ing dinosaurs back in the day, now they laugh at humans trying to surf and occasionally decide to take a limb to remind us all they are still around and still in charge. However ilko_t is pefectly right, it's such a rare thing to find a good guinea pig! jaclaz Link to comment Share on other sites More sharing options...
kisivotinh Posted June 9, 2009 Share Posted June 9, 2009 Hi, I used the very useful program WinSetupFromUSB and successfully install windows xp SP3 on Dell mini 12. However, I have the same problem in this topic. I have read through but sorry I dont quite understand since it's a bit too complicated for me. Can some kind soul tell me what is the easy step to solve this issue? Thanks a million. Link to comment Share on other sites More sharing options...
ilko_t Posted June 9, 2009 Share Posted June 9, 2009 (edited) Prepare the stick as usual, if already prepared do not again.Download the new MkMigrateInf_b.cmd and save it in a path without spaces in it.http://www.msfn.org/board/index.php?showto...st&p=852822Open up command prompt, cd to that directory and run:MkMigrateInf_b.cmd H: H:\migrate.infReplace H: with the current USB stick drive letter. Copy H:\migrate.inf to H:\$WIN_NT$.~BT\ replacing the existing file.edit: file names corrected Edited June 9, 2009 by ilko_t Link to comment Share on other sites More sharing options...
cdob Posted June 9, 2009 Share Posted June 9, 2009 Open up command prompt, cd to that directory and run:The new batch is called MkMigratgeInf_b.cmd. Sorry for the confusion. I wrote the batch MkMigratgeInf.cmd.As far as I remember you or wimb adjusted this and used the name MkMigrateInf2.cmd in the past.Hence my new file name is MkMigratgeInf_b.cmd.@kisivotinhMkMigratgeInf_b.cmd support one special case in addition: the running windows did use a strange HardwareId. Reasons are unknwon so far.If your condition match this, then MkMigratgeInf_b.cmd solve this.And crossing fixed drive to removable drive or vice versa:drive letter pre assignment fails.There maybe other reasons. I've no further idea currently. Link to comment Share on other sites More sharing options...
ilko_t Posted June 9, 2009 Share Posted June 9, 2009 Thanks for noticing, my bad.Editing the post above. Link to comment Share on other sites More sharing options...
kisivotinh Posted June 10, 2009 Share Posted June 10, 2009 It works like a charm. Thank you very much. Link to comment Share on other sites More sharing options...
ilko_t Posted June 11, 2009 Share Posted June 11, 2009 Just another brilliant work of cdob, thanks. Link to comment Share on other sites More sharing options...
ilko_t Posted June 15, 2009 Share Posted June 15, 2009 It appears WIndows 7 (and most likely Vista) use other syntax for those keys in MountedDevices:XP:MountPoint = G:\Volume Label = ---Volume Size = 1 GB (FAT)Volume Serial = 90E4-5FE9Volume Name = \\?\Volume{35703e27-2c34-11de-b2dc-005056c00008}\Partition Name = \Device\Harddisk1\Partition1Bus Type = USBDrive Type = removableDevice Types = ---NoMediaNoLetter = configure >= 3INI Sections = ---Volume DevID = STORAGE\REMOVABLEMEDIA\7&C0E6684&1&RMDrive DevID = USBSTOR\DISK&VEN_JETFLASH&PROD_TS1GJF110&REV_0.00\5AD00F612A5447&0Ctrl DevID = USB\VID_0457&PID_0151\5AD00F612A5447Host Controller = Intel® 82801FB/FBM USB2 Enhanced Host Controller - 265CVolume DosDevName = \Device\Harddisk1\DP(1)0-0+8Disk DosDevName = \Device\000000c0Removal Policy = surprise removal ('Optimize for quick removal')Partition Number = 1 of 1Friendly Name = JetFlash TS1GJF110Requested Power = 98 mA (bus powered)USB Version = 2.0 (high speed)USB Friendl. Name = USB Mass Storage DeviceUSB Serial = 5ad00f612a5447USB Port Name = 5-8=========================================================MountPoint = H:\Volume Label = ---Volume Size = 1 GB (NTFS)Volume Serial = 9088-DFCDVolume Name = \\?\Volume{35703e28-2c34-11de-b2dc-005056c00008}\Partition Name = \Device\Harddisk2\Partition1Bus Type = USBDrive Type = removableDevice Types = ---NoMediaNoLetter = configure >= 3INI Sections = ---Volume DevID = STORAGE\REMOVABLEMEDIA\7&16F722A4&1&RMDrive DevID = USBSTOR\DISK&VEN_LEXAR&PROD_JD_LIGHTNING_II&REV_1100\AA04015900000158&0Ctrl DevID = USB\VID_05DC&PID_A640\AA04015900000158Host Controller = Intel® 82801FB/FBM USB2 Enhanced Host Controller - 265CVolume DosDevName = \Device\Harddisk2\DP(1)0-0+aDisk DosDevName = \Device\000000c3Removal Policy = surprise removal ('Optimize for quick removal')Partition Number = 1 of 1Friendly Name = LEXAR JD LIGHTNING IIRequested Power = 500 mA (bus powered)USB Version = 2.0 (high speed)USB Friendl. Name = LEXAR MEDIA JD LIGHTNING IIUSB Serial = AA04015900000158USB Port Name = 5-7Any ideas? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now