Help - Search - Members - Calendar
Full Version: [SOLVED] USBstick take letter D and not U
MSFN Forums > Member Contributed Projects > Install Windows from USB
Pages: 1, 2

   


Google Internet Forums Unattended CD/DVD Guide
pipster
Hi all!
I searched wherever but found nothing to solve my problem.
I edit win setup with nlite to assign "Doc&Settings" and "Program Files" folders to the second partition D.
When I create the USBstick to install windows I choose to assign drive letter U (modded migrate.inf) anyway in the textmode setup my USBstick take always letter D.
So if I continue setup, some folders are created in my usb.
When I'm in textmode I see this table:

476938 SCSI disk, Id 0, bus 0, on iaStor [MBR]
C: Partition1 (XP) [NTFS]
E: Partition2 (XP_data) [NTFS]
F: Partition3 (Vista) [NTFS]
G: Partition4 (Share) [FAT32]

1962 disk [MBR]
D: Partition1 (XP_USB) [NTFS]

What can I do to have this instead?:
476938 SCSI disk, Id 0, bus 0, on iaStor [MBR]
C: Partition1 (XP) [NTFS]
D: Partition2 (XP_data) [NTFS]
E: Partition3 (Vista) [NTFS]
F: Partition4 (Share) [FAT32]

1962 disk [MBR]
U: Partition1 (XP_USB) [NTFS]

Can you help me??
Thank you!
wimb
QUOTE (pipster @ Mar 30 2009, 11:50 PM) *
I edit win setup with nlite to assign "Doc&Settings" and "Program Files" folders to the second partition D.
When I create the USBstick to install windows I choose to assign drive letter U (modded migrate.inf) anyway in the textmode setup my USBstick take always letter D.
So if I continue setup, some folders are created in my usb.

Assigning Drive Letter U: using migrate.inf only works for Removable Devices.

Is your USB-stick in My Computer presented in the List of Fixed Local Drives ?

What Drive Type (Option 0 in USB_MultiBoot_10.cmd) did you use: USB-stick or USB-Harddisk ?

Can you give your migrate.inf as produced by USB_MultiBoot_10.cmd in the $WIN_NT$.~BT folder on USB-stick ?
pipster
QUOTE (wimb @ Mar 31 2009, 07:51 AM) *
Assigning Drive Letter U: using migrate.inf only works for Removable Devices.

Is your USB-stick in My Computer presented in the List of Fixed Local Drives ?

What Drive Type (Option 0 in USB_MultiBoot_10.cmd) did you use: USB-stick or USB-Harddisk ?

Can you give your migrate.inf as produced by USB_MultiBoot_10.cmd in the $WIN_NT$.~BT folder on USB-stick ?

Hi wimb and thanks for your reply. Let me say USB_MultiBoot_10 is a wonderful piece of code.
Yes, my USB-stick is a Verbatim Store-n-go (2gb) and is listed as Removable Devices in MyComputer.
I always use USB-stick as drive type at option 0 in USB_MultiBoot_10.
Here's my migrate.inf:
CODE
[Version]
Signature = "$Windows NT$"

[Addreg]
HKLM,"SYSTEM\MountedDevices",,0x00000010
HKLM,"SYSTEM\ControlSet001\Control\StorageDevicePolicies","WriteProtect",%REG_DWORD%,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,0
0,61,00,62,00,6C,00,65,00,4D,00,65,00,64,00,69,00,61,00,23,00,38,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,3
0,00,30,00,61,00,30,00,63,00,39,00,31,00,65,00,66,00,62,00,38,00,62,00,7D,00

[Strings]
;Handy macro substitutions non-localizable
REG_SZ = 0x00000000
REG_BINARY = 0x00000001
REG_DWORD = 0x00010001
REG_MULTI_SZ = 0x00010000
REG_SZ_APPEND = 0x00010008
REG_EXPAND_SZ = 0x00020000


Thank you very much for your help! smile.gif
ilko_t
Similar problem described here and the following posts:
http://www.msfn.org/board/index.php?showto...st&p=824348

Can you try with another USB stick? This was the resolution in that case.
pipster
QUOTE (ilko_t @ Mar 31 2009, 01:53 PM) *
Similar problem described here and the following posts:
http://www.msfn.org/board/index.php?showto...st&p=824348

Can you try with another USB stick? This was the resolution in that case.


Ops! I bought a 2gb usb-drive just for xp setup..
Anyway ok. I will try with another stick as soon as I find one.
Thanks!

Also I noticed another thing.. In my nlited winnt.sif there is this section:
CODE
[Unattended]
UnattendMode=DefaultHide
UnattendSwitch="Yes"
OemPreinstall="Yes"
OemSkipEula="Yes"
ProgramFilesDir="D:\Programmi"
CommonProgramFilesDir="D:\Programmi\File comuni"
FileSystem=*
WaitForReboot="No"
NoWaitAfterTextMode=1
NoWaitAfterGUIMode=1
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore

..that is not present in the version modded by USB_MultiBoot_10.
Note that I specify to use partition D for the "Program files" folder and for "Documenti and Settings" too.
Is it correct to miss that part?
wimb
QUOTE (pipster @ Mar 31 2009, 03:24 PM) *
..that is not present in the version modded by USB_MultiBoot_10.
Note that I specify to use partition D for the "Program files" folder and for "Documenti and Settings" too.
Is it correct to miss that part?

Unfortunately, the procedure of USB_MultiBoot_10.cmd does NOT allow to make use of [Unattended] Section.

However, there are two very good solutions which can handle the [Unattended] Section as you wish:

WinSetupFromUSB of ilko_t
http://www.msfn.org/board/index.php?showtopic=120444

Install XP from USB AFTER Booting with PE from HDD or USB
http://www.boot-land.net/forums/?showtopic=5306
QUOTE
Another advantage is that you can use the FULL XP Source unchanged just as with Install from CD
and the $OEM$ folder is recognised and the [Unattended] section of winnt.sif file is used as normal.


ilko_t indicated already that your USB-stick Make is may be NOT willing
for getting Drive letter U: during XP Setup ....
ilko_t
Changing default directories paths is not yet supported in WinSetupFromUSB. In my last tests I noticed that "program files" and "documents and settings" were not created during Text mode part, which gives pretty good chances to find a workaround by using presetup.cmd for example. However, I was after something else and did not pay much attention, the above statement could be wrong.
pipster
Thank you both wimb and ilko_t. smile.gif
I will make some test and post results here. Maybe it could be useful for someone... stay tuned! newwink.gif
pipster
I tested another usb pendrive (Imation Nano 4gb) and it's quite the same. Now I have:

3892 disk [MBR]
D: Partition1 (XP_USB) [NTFS]

476938 SCSI disk, Id 0, bus 0, on iaStor [MBR]
C: Partition1 (XP) [NTFS]
E: Partition2 (XP_data) [NTFS]
F: Partition3 (Vista) [NTFS]
G: Partition4 (Share) [FAT32]

So I think it's impossible for me to install Windows from usb.
Furthermore when I try to include the [Unattended] section in both winat.sif and winnt.sif I get an error just before the partitioning screen in txtsetup. Some of this:
"Impossible to copy \WINDOWS folder. Impossible to find the folder..."

So I'm coming back to the classic cd(nlited) setup. I'm sorry.
Setup after booting with WinPE is too much complicated to use and to update.
Maybe I will try later with Vista on my second partition.

Anyway if any of you has a workaround to my problems please let me now.
Thank you!! smile.gif
ilko_t
QUOTE (ilko_t @ Mar 31 2009, 08:21 AM) *
Changing default directories paths is not yet supported in WinSetupFromUSB.
I have to correct myself- using WinSetupFromUSB 0.2, which will be published in a few days and custom directories, defined in winnt.sif DOES work. Seems the trick with merging back the unattended section to $winnt$.inf using presetup.cmd does the trick. The directories entries are parsed from $winnt$.inf after start of GUI mode, after presetup.cmd was launched and actually a few minutes after T-39, when the directories are created as well.

winnt.sif:
CODE
[Unattended]
UnattendMode=FullUnattended
UnattendSwitch="Yes"
OemPreinstall="Yes"
OemSkipEula="Yes"
FileSystem=*
WaitForReboot="No"
NoWaitAfterTextMode=1
NoWaitAfterGUIMode=1
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore
OemPnPDriversPath="drivers\01 wireless;drivers\02 lan;drivers\03 video"
ProgramFilesDir="D:\Program_Files"
CommonProgramFilesDir="D:\Program_Files\My_Common_Files"
....
[GuiUnattended]
EncryptedAdminPassword="No"
AutoLogon="Yes"
AdminPassword=*
TimeZone=085
OEMSkipRegional=1
OemSkipWelcome=1
ProfilesDir="D:\Documents_Settings\"


setuplog.txt:
QUOTE
....
4/04/2009 23:49:53.389,d:\xpsp\base\ntsetup\syssetup\log.c,133,,U:\$WIN_NT$.~LS\i386\IEXPLORE.EX_ was copied to D:\Program_Files\Internet Explorer\IEXPLORE.EXE.

04/04/2009 23:49:53.405,d:\xpsp\base\ntsetup\syssetup\log.c,133,,U:\$WIN_NT$.~LS\i386\iedw.ex_ was copied to D:\Program_Files\Internet Explorer\iedw.exe.

04/04/2009 23:49:53.421,d:\xpsp\base\ntsetup\syssetup\log.c,133,,U:\$WIN_NT$.~LS\i386\HMMAPI.DL_ was copied to D:\Program_Files\Internet Explorer\HMMAPI.DLL.

04/04/2009 23:49:53.452,d:\xpsp\base\ntsetup\syssetup\log.c,133,,U:\$WIN_NT$.~LS\i386\html32.cn_ was copied to D:\Program_Files\My_Common_Files\Microsoft Shared\TextConv\html32.cnv.
....
04/04/2009 23:49:58.780,d:\xpsp\base\ntsetup\syssetup\log.c,133,,U:\$WIN_NT$.~LS\i386\bluehill.jp_ was copied to D:\Documents_Settings\All Users.WINDOWS\Documents\My Pictures\Sample Pictures\Blue hills.jpg.

04/04/2009 23:49:58.796,d:\xpsp\base\ntsetup\syssetup\log.c,133,,U:\$WIN_NT$.~LS\i386\sunset.jp_ was copied to D:\Documents_Settings\All Users.WINDOWS\Documents\My Pictures\Sample Pictures\Sunset.jpg.
....


setupapi.log:
QUOTE
...
#I022 Found "PCI\VEN_8086&DEV_4220&SUBSYS_27228086" in d:\drivers\01 wireless\w29n51.inf; Device: "Intel® PRO/Wireless 2200BG Network Connection"; Driver: "Intel® PRO/Wireless 2200BG Network Connection"; Provider: "Intel"; Mfg: "Intel Corporation"; Section name: "Install_DELLMPCI3A_BG_XP".
...

As far as I remember 0.1.1 should work fine with those entries as well.

In other words pretty much everything in winnt.sif has been covered newwink.gif
pipster
QUOTE (ilko_t @ Apr 4 2009, 10:39 PM) *
I have to correct myself- using WinSetupFromUSB 0.2, which will be published in a few days and custom directories, defined in winnt.sif DOES work. Seems the trick with merging back the unattended section to $winnt$.inf using presetup.cmd does the trick. The directories entries are parsed from $winnt$.inf after start of GUI mode, after presetup.cmd was launched and actually a few minutes after T-39, when the directories are created as well.
CUT
As far as I remember 0.1.1 should work fine with those entries as well.

In other words pretty much everything in winnt.sif has been covered newwink.gif


This is great! I'll try when you release it and when I complete my WinXPsp3 cd with nLite.
Anyway I have to find a workaround for the missing U:\ driveletter.. sad.gif
As soon as I can I'll make other test.
Thanks ilko_t for the advice newwink.gif
ilko_t
Can you test the same stick on another computer? This would be harmless- just get to the partitioning screen in Text mode and see drive letters, no need to continue with installation. Then you can shut down the PC or use F3 to abort Setup.
pipster
QUOTE (ilko_t @ Apr 5 2009, 09:58 AM) *
Can you test the same stick on another computer? This would be harmless- just get to the partitioning screen in Text mode and see drive letters, no need to continue with installation. Then you can shut down the PC or use F3 to abort Setup.


Hello and sorry for late... unsure.gif
I tested your GUI apps with my first usb key (Verbatim) but now I get just this line:
3892 disk [MBR]
C: Partition1 (XP_USB) [NTFS]

So all of my other partition are invisible and I can't continue with setup.
Unfortunately I don't have another USB boot compatible computer so I can't try...

Then I tried to use FAT for the USB_drive and at boot I have black screen with only this entry:
Second part XP professional setup from hd 0 part 1

In the boot.ini I have entry for the 2nd part only. Nothing for the first part so I can't start txtsetup.
ilko_t
You most likely do not have the appropriate mass storage (SATA) driver included, or in BIOS SATA mode was on IDE and now is in AHCI/SATA/RAID mode. Did you use the same windows source?

Don't use FAT on this large drive, try FAT32 instead, but be warned- file copy part in Text mode could be painfully slow. NTFS is much faster.
pipster
The windows source is the same with sata drivers nlited, working on cd.
Bios settings are the same.
I know FAT could really slow but I thought to make a try and see if there was some chance to get U letter for my usb stick.
Thanks for advice smile.gif
ilko_t
Can you attach your txtsetup.sif from USB disk root?
What computer is this, brand/model if is laptop? Motherboard model if desktop? Do you know by any chance the HardwareID of the SATA controller?
I see iastor used, can you try setting up SATA controller in IDE mode and try again?
pipster
QUOTE (ilko_t @ Apr 10 2009, 12:03 AM) *
Can you attach your txtsetup.sif from USB disk root?
What computer is this, brand/model if is laptop? Motherboard model if desktop? Do you know by any chance the HardwareID of the SATA controller?
I see iastor used, can you try setting up SATA controller in IDE mode and try again?

Yes, of course!
CPU: Intel i7 920
MotherBoard: Asus P6T

Sata controller is Intel ICH10R
HWID: PCI\VEN_8086&DEV_3A22&SUBSYS_82D41043&REV_00

Here's my txtsetup.sif
Click to view attachment

Let me make another test in NTFS to try in IDE mode because in FAT I got the same, just 2nd part in black screen...
pipster
Made other tests using NTFS format on the Imation Nano 4gb.
I tried:
1. BIOS AHCI mode both with original presetup.cmd or with some change in the beginning lines:
CODE
SET TAGFILE=\$WIN_NT$.~LS
FOR %%h IN (U M N O P Q R S T V W X Y) DO IF EXIST "%%h:%TAGFILE%" SET CDDRIVE=%%h:
if "%CDDRIVE%" == "" (
FOR %%h IN (C D E F G H I J K L) DO IF EXIST "%%h:%TAGFILE%" SET CDDRIVE=%%h:
)

I simply moved D from first group of letters to the 2nd.
I get the same entries as my other post 9

2. BIOS IDE mode with original and modded presetup.cmd and get the same

Anyway I think that change in presetup has no effect on anything...
I really don't know what I can do right now wacko.gif
ilko_t
You have no entries for iaStor, neither for PCI\VEN_8086&DEV_3A22 in the txtsetup.sif posted. blink.gif

What is broken? In your first post I see iaStor loaded. You are saying that you have used the same source. Where did iaStor driver come from in your first post and why it is not present in the posted txtsetup.sif? Something must have been changed meanwhile.

Presetup.cmd is loaded at start of GUI mode and does not play any role during Text mode where you problem is. No need to play with it at all.

I would advice you to start with clean, original, not modified in any way XP SP3. If you cannot find such source use for the tests the trial Server 2003, freely available from MS:
http://technet.microsoft.com/en-us/windows...r/bb430831.aspx

Since you will be testing Text mode only you won't need a serial number, just get the first English img file from here, extract it somewhere and use it as a source.
http://download.microsoft.com/download/5/1...F/X13-04874.img
http://www.microsoft.com/windowsserver2003...llinstruct.mspx

Use WinSetupFromUSB with Copy Setup boot/RC files only option checked. This will let you test Text mode only without copying the whole source. Files put on USB stick are 6-12MB total size and preparation takes seconds.

1. Try to prepare the USB stick in NTFS, and BIOS in IDE mode. If no luck go to 2. Do not touch anything with nLite yet.
2. Integrate BTS mass storage drivers, selecting Text mode drivers too. Format and rebuild the USB stick with the same option checked, put BIOS in AHCI/SATA mode. Do not touch anything with nLite yet.

Is your USB stick now U:? Do you see the internal hard disk(s) now?

Please follow the advices blindly, do NOT introduce any changes, which in your opinion may be irrelevant.

pipster
I'm sorry blushing.gif . That was not the correct version of txtsetup.sif.
Here's it:
Click to view attachment
With this sif sata driver load succesfully and setup goes right with the nlited cd.

I tried with my original XPsp2 cd source loading iaStor by F6 but is always the same, both in AHCI and IDE mode. USB gets partition D:
Now I'm downloading XP 2003 sp2 as you said me, because I don't have a not modified XP SP3. Thank you!
pipster
XP 2003 sp2 both AHCI (with F6) and IDE mode failed. I always get the same:
476938 SCSI disk, Id 0, bus 0, on iaStor [MBR] <--this change by IDE or SATA mode
C: Partition1 (XP) [NTFS]
E: Partition2 (XP_data) [NTFS]
F: Partition3 (Vista) [NTFS]
G: Partition4 (Share) [FAT32]

1962 disk [MBR]
D: Partition1 (XP_USB) [NTFS]

I'll try to integrate BTS mass storage. Do I have to use DP_base or nLite integration?
Now I'm trying with DP_base...

No news.. XP 2003 sp2 with BTS Mass Storage integrated with DP_base failed too. Both in IDE and AHCI.
So I think there's no chance for me to install via USB.
Maybe it's the Asus P6T BIOS (v.0403) or the USB controller... I don't know confused.gif
ilko_t
Ok, now missing SATA disk problem is resolved, you can use either source you have as it should not be the problem. USB stick getting D: might be something to do with BIOS or the USB stick unsure.gif

Try in BIOS-->Advanced-->USB configuration to change values of BIOS EHCI Hand off to Disabled and maybe Legacy USB support to Enabled if it is Auto. Just random ideas...

Another one- open up Regedit, go to HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices, right click on it and export it in a reg file.
Attach this file along with the latest migrate.inf in ~BT folder on the USB stick.
pipster
QUOTE (ilko_t @ Apr 10 2009, 06:28 PM) *
Try in BIOS-->Advanced-->USB configuration to change values of BIOS EHCI Hand off to Disabled and maybe Legacy USB support to Enabled if it is Auto. Just random ideas...

Tryed... again D:
Also I tried in "BIOS-->Advanced-->USB configuration--> USB Mass Storage Device Configuration" to force Emulation type to "CDROM" and to "Hard Disk" but nothing...

QUOTE (ilko_t @ Apr 10 2009, 06:28 PM) *
Another one- open up Regedit, go to HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices, right click on it and export it in a reg file.
Attach this file along with the latest migrate.inf in ~BT folder on the USB stick.


I'm sorry.. blushing.gif
Where do I have to export that key? Do I have to log in windows on the machine on which I'm trying to boot with USB U: and take that registry?
ilko_t
On the machine you used to prepare the USB stick. Please also mention what drive letter was the USB stick last time you prepared it with Windows setup. All this is on the same machine, where you run WinSetupFromUSB or USB_multiboot. Leaving the remote machine alone for a while.
pipster
QUOTE (ilko_t @ Apr 10 2009, 07:13 PM) *
On the machine you used to prepare the USB stick. Please also mention what drive letter was the USB stick last time you prepared it with Windows setup. All this is on the same machine, where you run WinSetupFromUSB or USB_multiboot. Leaving the remote machine alone for a while.


Both the sticks take letter H.
Here is the files you asked me:
Click to view attachment

Win 2003 is on the Verbatim 2gb
XP pro sp3 nlited with apps, driver, hotfixes and tweaks is on the Imation Nano 4gb

I'm sorry but now I have to leave because I have to take a 9 hours bus wacko.gif to go to my parents in the south of Italy for the Easter. I'll take all the sticks with me and I'll try with my father pc.
I will give you more feedback in the next days.

Thank you very much for your support. You are very kind. smile.gif
pipster
Hello, I tried both my usb sticks on other 2 computers: a brand new HP dv5 1120 laptop and a P4 3Ghz (MoBo = Gigabyte GA-8IPE775-G) but I get always and always letter D. It seems it's impossible to get U letter in any way.
Maybe are really the sticks...
Any news by reading at the files reg and migrate?
ilko_t
Hi, everything seems correct in the posted files. I am really clueless as of what maybe causing this behavior. It still could be the USB stick(s)...
jaclaz
I find improbable that the stick is the problem. unsure.gif

Try reading these:
http://www.msfn.org/board/index.php?showtopic=125945
http://www.msfn.org/board/profiles-directo...me-t125819.html

and use the MakeMigrateInf.exe:
http://www.msfn.org/board/index.php?act=at...st&id=23940

Run it TWO times, one with the stick inserted and mounted:

CODE
makemigrateinf.exe>with_stick.txt


and one without it:
CODE
makemigrateinf.exe>no_stick.txt


Attach the two resulting files, together with the output of mkmigrateinf.cmd.



jaclaz
pipster
Hi, sorry for late.
Ciao Jaclaz,
here's the files you requested.
migrate_inf.txt is the output of MkMigrateInf2.cmd (the only that I found in the USB_MultiBoot_10 pack)
Thanks for your support.
Click to view attachment
ilko_t
QUOTE (pipster @ Apr 14 2009, 08:23 AM) *
...migrate_inf.txt is the output of MkMigrateInf2.cmd
Did you run it with options?

To keep things together use MkMigrateInf2.cmd from WinSetupFromUSB folder\files\winsetup\.
Use in command line:

CODE
MkMigrateInf2.cmd H: c:\migrate_inf.txt


Where H: is drive letter of the USB stick. Re-attach c:\migrate_inf.txt.
jaclaz
Yep, right now the migrate.inf you produced with mkmigrateinf2.cmd is that of your Hard disk (normally C:\).

I'll check the output files of MakeMigrateInf.exe, anyway.

The only other (similar but not exactly the same) problem related with not working migrate.inf I can remember is on this thread:
http://www.911cd.net/forums//index.php?showtopic=21682

Though I don't think you are in ANY of the situations that caused the problem, have a look at it, and see if you can spot any similarities with your setup/harware/whatever.

jaclaz
pipster
QUOTE (ilko_t @ Apr 14 2009, 07:13 PM) *
QUOTE (pipster @ Apr 14 2009, 08:23 AM) *
...migrate_inf.txt is the output of MkMigrateInf2.cmd
Did you run it with options?

No, without options. Now I used your command to run it. Here it is:
Click to view attachment

QUOTE (jaclaz @ Apr 14 2009, 08:19 PM) *
Yep, right now the migrate.inf you produced with mkmigrateinf2.cmd is that of your Hard disk (normally C:\).

I'll check the output files of MakeMigrateInf.exe, anyway.

The only other (similar but not exactly the same) problem related with not working migrate.inf I can remember is on this thread:
http://www.911cd.net/forums//index.php?showtopic=21682

Though I don't think you are in ANY of the situations that caused the problem, have a look at it, and see if you can spot any similarities with your setup/harware/whatever.

jaclaz

Hi Jaclaz and grazie. I read the thread you linked but it's too much complicated for me to understand... I'm sorry blushing.gif
Anyway now I posted the migrate.inf produced by running the ilko_t's command.
Hope can be useful, but I think it's just the same as the previous I posted.. confused.gif
jaclaz
QUOTE (pipster @ Apr 18 2009, 11:55 PM) *
Anyway now I posted the migrate.inf produced by running the ilko_t's command.
Hope can be useful, but I think it's just the same as the previous I posted.. confused.gif


No, it's not the same.
This last one is "right". smile.gif

I see no reasons why it shouldn't work, unless something else prevents it to be working.

Are you using some "unattended" settings?

Your "complete" output from MakeMigrateInf.exe lists a great number of removable devices, do you have one of those multi-card readers?

Sometimes they can be a royal PITA.


However, I am attaching a "right" one for your "H:\" device, try using this one.

For the sake of experimenting, you should (momentarily) forget about "unattended" and ANY other "custom" setting you may have introduced, my guess is that you added/modify "something" which is simply escaping all of our current ideas/checks and that causes the migrate.inf not to be applied.

jaclaz

pipster
QUOTE (jaclaz @ Apr 20 2009, 10:19 AM) *
Are you using some "unattended" settings?

Your "complete" output from MakeMigrateInf.exe lists a great number of removable devices, do you have one of those multi-card readers?

However, I am attaching a "right" one for your "H:\" device, try using this one.

For the sake of experimenting, you should (momentarily) forget about "unattended" and ANY other "custom" setting you may have introduced, my guess is that you added/modify "something" which is simply escaping all of our current ideas/checks and that causes the migrate.inf not to be applied.

jaclaz


Yes, for both the questions.
I use unattended settings made with nLite and RunOnceEx. These are my nLite configs:
Click to view attachment

And Yes, I use a multi-card reader but only on the notebook on which I'm working to make the usb stick bootable.

Anyway these are the settings for my 4gb usb key (Imation Nano).
Ilko_t suggested me to try with a clean Windows with just BTS mass storage drivers slipstreamed. I tried that on another 2gb Verbatim drive but it didn't work too..

Same problem with your migrate.inf Jaclaz. I'm sorry, what can I try now?
jaclaz
QUOTE (pipster @ Apr 20 2009, 06:09 PM) *
Ilko_t suggested me to try with a clean Windows with just BTS mass storage drivers slipstreamed. I tried that on another 2gb Verbatim drive but it didn't work too..

Same problem with your migrate.inf Jaclaz. I'm sorry, what can I try now?


I am short of ideas. sad.gif

Clearly there must be a reason.

It is simply escaping us.

I mean, this feature worked for several thousands of people, thus it can be considered "fully tested".

If you used a "clean" UNMODIFIED source WITHOUT unattended, it cannot be anything connected with mods like nlite (which however was never reported as causing problems or other similar "source modifying" apps/scripts).

blink.gif

jaclaz
cdob
Does anyone have a fine MountedDevices explanation?
How does windows build RemovableMedia string?


Lets investigate:

MountedDevices value contains at XP machine RemovableMedia:
CODE
H: \??\STORAGE#RemovableMedia#8&141a0a73&0&RM#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
I: \??\STORAGE#RemovableMedia#9&1d9465bd&0&RM#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
J: \??\STORAGE#RemovableMedia#8&207c63a1&0&RM#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
K: \??\STORAGE#RemovableMedia#9&25791fbe&0&RM#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
L: \??\STORAGE#RemovableMedia#9&1fde2770&0&RM#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}

I'm used to RemovableMedia#7.
There is a example http://www.forensicswiki.org/wiki/USB_History_Viewing

RemovableMedia#8 and RemovableMedia#9 is strange.
Does a notebook multi-card cause this?

Another idea:
USB serial number may cause this.

Windows does use USB serial number. The USB hardware or a windows setting maybe involved.
Read section 'USB serial number' http://www.uwe-sieber.de/usbtrouble_e.html

@pipster
Does your hardware use a USB serial number?
USBDeview http://www.nirsoft.net/utils/usb_devices_view.html
UWe does offer a tool too.

What about your setting HKLM\SYSTEM\CurrentControlSet\Control\UsbFlags\GlobalDisableSerNumGen ?

Did you made a windows full install?
Which MountedDevices goes to USB stick at new installed windows?
ilko_t
Thanks cdob, quite interesting, as usual.

Reading http://www.uwe-sieber.de/usbtrouble_e.html it appears that if no serials are present upon change of USB port stick will be detected as a new one. This would explain why getting another USB stick helped the other user with the same problem- the second one had USB serial number.

Maybe OP had bad luck with the second stick he tried, not having serial number as the first one unsure.gif

Will be waiting for pipster's results from USBDeview, hopefully this will reveal the mystery.
jaclaz
QUOTE (cdob @ Apr 22 2009, 06:26 PM) *
I'm used to RemovableMedia#7.
....
Does a notebook multi-card cause this?
.....


Good catch! smile.gif

I have a Desktop with a multicard reader and everything is #7 type. wacko.gif

@pipster
You may want to try running this thingie:
http://sourceforge.net/projects/usbhistory/
as follows:
CODE
usbhistory.exe>C:\USB_rep.txt


and post the USB_rep.txt

jaclaz
pipster
QUOTE (cdob @ Apr 22 2009, 06:26 PM) *
...
@pipster
Does your hardware use a USB serial number?
USBDeview http://www.nirsoft.net/utils/usb_devices_view.html
UWe does offer a tool too.
Click to view attachment
What about your setting HKLM\SYSTEM\CurrentControlSet\Control\UsbFlags\GlobalDisableSerNumGen ?

Did you made a windows full install?
Which MountedDevices goes to USB stick at new installed windows?

Yes, I see serial number in USBDeview.
GlobalDisableSerNumGen doesn't exist in my registry.


QUOTE (ilko_t @ Apr 22 2009, 08:21 PM) *
Thanks cdob, quite interesting, as usual.
...
Will be waiting for pipster's results from USBDeview, hopefully this will reveal the mystery.

Here it is:
Click to view attachment

QUOTE (jaclaz @ Apr 22 2009, 08:27 PM) *
...
@pipster
You may want to try running this thingie:
http://sourceforge.net/projects/usbhistory/
as follows:
CODE
usbhistory.exe>C:\USB_rep.txt


and post the USB_rep.txt

jaclaz

Here it is:
Click to view attachment


Thank you all guys for your great support. Hope we can find the trick... smile.gif
jaclaz
I guess we could have saved a lot of bandwith if pipster just listed the only USB device available in a 2.43 Km radius from the PC he NEVER connected to it. whistling.gif

tongue.gif

23rd October 2008 must have been a busy day. newwink.gif

I would try to disconnect all USB devices and delete all keys under:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR\

Then try reconnecting one stick and see what happens.

Maybe something made the 7& being available and start with 8& and 9&....unsure.gif

jaclaz
cdob
At first glance USB serial stick dosn't cause the behaviour.
Maybe there is another windows setting?

Does windows install files contain a ignore USB serial setting.
Hence new installed windows ignore MountedDevices?


migrate_XPproSp3.inf
\??\STORAGE#RemovableMedia#8&141a0a73&0&RM#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}

migrate_Win2003.inf
\??\STORAGE#RemovableMedia#8&157ad62&0&RM#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}

RemovableMedia#8 is very seldom used.
Does this relate to hardware or windows?

If you boot windows at another machine, does windows use RemovableMedia#7 or RemovableMedia#8 for the USB stick?

@pipster
Can you install windows again?
Which MountedDevices goes to USB stick at new installed windows?

If new installed windows use RemovableMedia#7 then a adjusted migrate.inf should work.

@jaclaz
Uwe offers DriveCleanup to remove USB devices from registry.
http://www.uwe-sieber.de/drivetools_e.html
pipster
QUOTE (jaclaz @ Apr 23 2009, 09:10 PM) *
I guess we could have saved a lot of bandwith if pipster just listed the only USB device available in a 2.43 Km radius from the PC he NEVER connected to it.

tongue.gif

23rd October 2008 must have been a busy day.

I would try to disconnect all USB devices and delete all keys under:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR\

Then try reconnecting one stick and see what happens.

Maybe something made the 7& being available and start with 8& and 9&....

jaclaz

Eheheh! thumbup.gif
I have tested 3-4 mouses, and everyone coming here is plugging their usb stick.
I have 3 sticks, 1 external hd (dead some days ago with his 320gb of data sad.gif ), webcam, card reader, ... so many devices biggrin.gif
But is such a strange thing 95% of that have born on 23rd October 2008!! blink.gif

QUOTE (cdob @ Apr 23 2009, 10:10 PM) *
...
@pipster
Can you install windows again?
Which MountedDevices goes to USB stick at new installed windows?

If new installed windows use RemovableMedia#7 then a adjusted migrate.inf should work.

@jaclaz
Uwe offers DriveCleanup to remove USB devices from registry.
http://www.uwe-sieber.de/drivetools_e.html


no.gif No, please don't ask me to install windows again... I did it for about 10 times in a few days and I don't have my new pc fully working yet. I bought it 2 months ago... blushing.gif . Now I would just to use it.
Anyway I have Windows installed from just 2-3 days on that new pc so it has just few usb devices already mounted.
Here is the reports:
Click to view attachment
Click to view attachment

I'm sorry but I lost all of you in the technical details... Where do I can find the strings RemovableMedia#8, RemovableMedia#7, ....???

And... what devices I have to sweep with DriveCleanup?
CODE
Usage:
      DriveCleanup [-t] [-n] [-u] [-h] [-d] [-c] [-f] [-v]
      
      -t        test mode
      -n        no wait when finished
      -h        only USB hubs
      -u        only USB mass storage devices
      -d        only Disk devices
      -c        only CDROM devices
      -f        only Floppy devices
      -v        only Storage Volume devices


EDIT----------------------------------------------------------
Ok cdob, maybe you are in the right way. I think this can be useful:
On the notebook, where I prepare the stick:
CODE
USB History Dump
   by nabiy (c)2008
   (13) --- Imation Nano USB Device
  
           instanceID: 078B142D0BB2&0
           ParentIdPrefix: 8&141a0a73&0
           Driver:{4D36E967-E325-11CE-BFC1-08002BE10318}\0039
           Disk Stamp: 04/21/2009 13:08
           Volume Stamp: 04/21/2009 13:08
  
   (14) --- Kingston DataTraveler 2.0 USB Device
  
           instanceID: 2008012500000000000002E4&0
           ParentIdPrefix: 8&207c63a1&0
           Last Mounted As: \DosDevices\J:
           Driver:{4D36E967-E325-11CE-BFC1-08002BE10318}\0027
           Disk Stamp: 04/22/2009 20:47
           Volume Stamp: 04/22/2009 20:47

On the new PC, where I'm trying to use that stick:
CODE
USB History Dump
   by nabiy (c)2008
  
   (1) --- Imation Nano USB Device
  
           instanceID: 078B142D0BB2&0
           ParentIdPrefix: 7&141a0a73&0
           Last Mounted As: \DosDevices\H:
           Driver:{4D36E967-E325-11CE-BFC1-08002BE10318}\0002
           Disk Stamp: 04/24/2009 00:08
           Volume Stamp: 04/24/2009 00:08
  
   (2) --- Kingston DataTraveler 2.0 USB Device
  
           instanceID: 2008012500000000000002E4&0
           ParentIdPrefix: 7&207c63a1&0
           Driver:{4D36E967-E325-11CE-BFC1-08002BE10318}\0001
           Disk Stamp: 04/23/2009 03:12
           Volume Stamp: 04/23/2009 03:12
pipster
And finally it works! WOW!
I replaced the old migrate.inf: Click to view attachment
with this one: Click to view attachment
The second one cames from the new PC, exported \DosDevice\H: from the key HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
I just copied the value of that key \DosDevice\H: into the migrate.inf.

I want really to thanks all of you for your continuos support. I learned so many new things just reading your posts.
Thank you!
ilko_t
Quite interesting, thanks for all the reports.
So RemovableMedia#8 made the difference. In old windows it's 8, in the new install it's 7.
Reading this and cdob's link reveals the bolded part is ParentIdPrefix.
\??\STORAGE#RemovableMedia#8&141a0a73&0&RM#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}

Cdob raised the question:
QUOTE
I'm used to RemovableMedia#7.
There is a example http://www.forensicswiki.org/wiki/USB_History_Viewing

RemovableMedia#8 and RemovableMedia#9 is strange.
Does a notebook multi-card cause this?
Search at microsoft.com shows no clues for the changing number, a lot to be read from Google results.

Another interesting quite from the links above:
QUOTE
If the second character of the unique instance ID is a '&', then the ID was generated by the system, as the device did not have a serial number.


So by detecting the latter we may know that migrate.inf drive lettering may not be applied and by putting in it multiple entries for RemovableMedia#7 , 8 (any others used for USB mass storage devices?) we might get around similar issues.

@pipster
Does the new PC have any card readers?
As far as I remember you tried the USB stick on other computers, did any of them have USB card reader or any similar USB mass storage device- USB MP3 player, printer with card reader, phone connected via USB etc. etc. ?
Do you have on the old computer an USB hub or PCI USB card? Where do you connect the USB stick to?
jaclaz
QUOTE (ilko_t @ Apr 24 2009, 02:32 AM) *
Another interesting quite from the links above:
QUOTE
If the second character of the unique instance ID is a '&', then the ID was generated by the system, as the device did not have a serial number.


So by detecting the latter we may know that migrate.inf drive lettering may not be applied and by putting in it multiple entries for RemovableMedia#7 , 8 (any others used for USB mass storage devices?) we might get around similar issues.


Yep, but the "ID" is not the "ParentIDPrefix".

I would say that the issue at hand is not related to Serial (or lack of it) blink.gif or maybe by something connected to it but not really "it".

There are a number of entries in the USB_rep.txt that look suspicious, as they have no "ParentIDPrefix", some have "autogenerated-second-letter-&" ID's, some don't.


QUOTE (cdob @ Apr 23 2009, 10:10 PM) *
@jaclaz
Uwe offers DriveCleanup to remove USB devices from registry.
http://www.uwe-sieber.de/drivetools_e.html


Thanks for the reminder. smile.gif

QUOTE (pipster @ Apr 24 2009, 12:49 AM) *
And finally it works! WOW!
....
I want really to thanks all of you for your continuos support. I learned so many new things just reading your posts.
Thank you!


We also learned something new, so I guess we are even. smile.gif

jaclaz
pipster
QUOTE (ilko_t @ Apr 24 2009, 02:32 AM) *
@pipster
Does the new PC have any card readers?
As far as I remember you tried the USB stick on other computers, did any of them have USB card reader or any similar USB mass storage device- USB MP3 player, printer with card reader, phone connected via USB etc. etc. ?
Do you have on the old computer an USB hub or PCI USB card? Where do you connect the USB stick to?

The new pc has no card reader. Just the USB on top of the case, connected on the mb. As you can see here: http://techgage.com/article/cooler_master_cm_690/
But on the old notebook I connected an external Hama multi card reader, maybe it is the culprit.
On my father PC there's another external multi card reader but I didn't look at registry..


QUOTE (jaclaz @ Apr 24 2009, 10:26 AM) *
...
We also learned something new, so I guess we are even. smile.gif

jaclaz


Di questo non posso che essere contento yes.gif

So how do you think I can fix that usb entries on the notebook?
I have to use DriveCleanup?
What command I have to use?
-h only USB hubs
-u only USB mass storage devices
-d only Disk devices
-c only CDROM devices
-f only Floppy devices
-v only Storage Volume devices
Maybe -h -u -v ??
ilko_t
QUOTE (jaclaz @ Apr 24 2009, 01:26 AM) *
Yep, but the "ID" is not the "ParentIDPrefix".

I would say that the issue at hand is not related to Serial (or lack of it) blink.gif or maybe by something connected to it but not really "it".
Sorry, my bad, a lot of information after midnight...
jaclaz
QUOTE (pipster @ Apr 24 2009, 10:45 AM) *
So how do you think I can fix that usb entries on the notebook?
I have to use DriveCleanup?
What command I have to use?
-h only USB hubs
-u only USB mass storage devices
-d only Disk devices
-c only CDROM devices
-f only Floppy devices
-v only Storage Volume devices
Maybe -h -u -v ??


CODE
drivecleanup -t
(list all devices that will be "affected" by the command - just to be sure)
then
CODE
drivecleanup

(without parameters), that will get rid of:
QUOTE
- USB mass storage devices
- Disk devices
- CDROM devices
- Floppy devices
- Storage Volumes


welcome.gif

jaclaz
pipster
QUOTE (jaclaz @ Apr 24 2009, 12:34 PM) *
CODE
drivecleanup -t
(list all devices that will be "affected" by the command - just to be sure)
then
CODE
drivecleanup

(without parameters), that will get rid of:
QUOTE
- USB mass storage devices
- Disk devices
- CDROM devices
- Floppy devices
- Storage Volumes


welcome.gif

jaclaz

Thanks
Did it. It removed a lot of things..
Then I plugged the Nano stick and... it gets parentID similar to the previous one (8&141a0a73&0):
8&141a0a73&1

With 1 at the end but always starting with 8&
I have to format this notebook when I have some time... yes.gif
jaclaz
QUOTE (pipster @ Apr 24 2009, 12:58 PM) *
Thanks
Did it. It removed a lot of things..
Then I plugged the Nano stick and... it gets parentID similar to the previous one (8&141a0a73&0):
8&141a0a73&1

With 1 at the end but always starting with 8&
I have to format this notebook when I have some time... yes.gif


Which means obviously that the proggie did not remove the "something" that makes it get the "wrong" ParentID. sad.gif

Can you do a Regedit search on that machine Registry for string:
QUOTE
8&141a0a73&

And post results, or better yet, get Regfind.exe
http://www.petri.co.il/download_free_reskit_tools.htm

and run:
CODE
regfind "8&141a0a73&">foundreg.txt


You should get something similar to this (I used "7&2c889678&"):
CODE
\Registry
    Machine
        SYSTEM
            ControlSet001
                Control
                    DeviceClasses
                        {53f5630a-b6bf-11d0-94f2-00a0c91efb8b}
                            ##?#STORAGE#RemovableMedia#7&2c889678&0&RM#{53f5630a-b6bf-11d0-94f2-00a0c91efb8b}
                                DeviceInstance = STORAGE\RemovableMedia\7&2c889678&0&RM
                                #
                                    SymbolicLink = \\?\STORAGE#RemovableMedia#7&2c889678&0&RM#{53f5630a-b6bf-11d0-94f2-00a0c91efb8b}
                        {53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
                            ##?#STORAGE#RemovableMedia#7&2c889678&0&RM#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
                                DeviceInstance = STORAGE\RemovableMedia\7&2c889678&0&RM
                                #
                                    SymbolicLink = \\?\STORAGE#RemovableMedia#7&2c889678&0&RM#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
                Enum
                    USBSTOR
                        Disk&Ven_Generic&Prod_USB_CF_Reader&Rev_1.01
                            058F312D81B&1
                                ParentIdPrefix = 7&2c889678&0


It is possible that the tool only clears the \USBSTOR\? unsure.gif

jaclaz




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.