storage device recognition.
#1
Posted 29 August 2012 - 04:17 PM
#2
Posted 30 August 2012 - 01:59 AM
You mean that (set apart the drive letters that may be not assigned for other reasons) you cannot see any hard disk in disk management (or in diskpart)?
jaclaz
#3
Posted 30 August 2012 - 04:10 AM
this is full windows boot to ram. winpeshell.exe not executed. autologins as user.

this is winpe. winpeshell.exe executed. autologins as system user or admin winpe4

they are complately same system with all files and drivers. only registries modified. their system\controlset1\services brach complately same.
This post has been edited by Kullenen_Ask: 30 August 2012 - 04:26 AM
#4
Posted 30 August 2012 - 05:06 AM
Kullenen_Ask, on 30 August 2012 - 04:10 AM, said:
Well, so the issue is probably *something* connected to the MountManager or with the File System Recognizer... the "Free 0 B" in diskpart doesn't look "right".
Without knowing which are the changes in the Registry it is hard to help you pin down the culprit.
Can you try - out of curiosity - to run in the build TESTDISK?
If - as I expect - it will be able to see all partitions it is definitely something at a "higher" level then basic disk related matters/services.
Another few things to check, what does Mountvol output looks like?
What does dd --list (see here):
http://reboot.pro/8219/
show?
And dosdev?
http://reboot.pro/6492/#entry52470
http://blogs.msdn.co.../04/477164.aspx
jaclaz
#5
Posted 30 August 2012 - 05:45 AM
But the winpe option in BCD store is set to true and creates the MININT key, so you be able to boot from read-only wim files?
If both true than I had similar situation few years ago. Only solution to avoid "drive disappearance" was disable automatic driver search.
Maybe if helps to play with SystmSetupInProgress and MININT key.
#6
Posted 30 August 2012 - 07:42 AM
JFX, on 30 August 2012 - 05:45 AM, said:
at first one yes.
JFX, on 30 August 2012 - 05:45 AM, said:
bcd store same both of them. default of setup dvd.
JFX, on 30 August 2012 - 05:45 AM, said:
Maybe if helps to play with SystmSetupInProgress and MININT key.
if you explain how to set disable automatic driver search offline i will be glad. i can also search from net but i can miss somethings.
What do you advice for "SystemSetupInProgress" to set to solve the problem. maybe it can be changed to something else as soon as boot with a command or loader isn't?
MININT key by default not exist in system hiv. i think it is created after boot under winpe by winpeshl.exe. but winpeshl.exe is never executed. should i create a minint at system hiv to make it think it is winpe.
And jaclaz i will try to run the solutions after boot and write the results. When i run "ddlist.cmd" it says "& undefined".
This post has been edited by Kullenen_Ask: 30 August 2012 - 07:54 AM
#7
Posted 30 August 2012 - 07:59 AM
Kullenen_Ask, on 30 August 2012 - 07:42 AM, said:
Sorry I was not clear,
ddlist.cmd is just a "wrap around" the dd for windows by John Newbigin:
http://www.chrysocome.net/dd
what you should attempt running would be:
dd.exe --list
as it lists several among the ways a device is (normally) named under Windows NT and could give us a hint about what is "missing":
Quote
Windows provides a number of ways to name a device. The --list will output the preferred names. Under NT4, only the \\?\Device\Harddisk<n>\Partition<n> method is available. Partition0 is the entire disk. Under Windows XP, some partitions may not have a Volume device. In this case you can still use the Harddisk<n>\Partition<n> name.
Windows 2000 and later have Volume devices which are unique GUIDs which identify a disk or partition (what MS call a Volume). These are listed along with any mount point that they may be mounted on. Most of the time this is a drive letter but it may be a path on another filesystem. If you want to read the underlying device, do not include the trailing \ character. If the volume is not mounted there is no easy way to identify it so be careful. Under XP SP2, many partitions can not be read directly, even if they are not in use. There is a work around which I call reading partitions via the back door.
jaclaz
This post has been edited by jaclaz: 30 August 2012 - 07:59 AM
#8
Posted 30 August 2012 - 08:56 AM
Kullenen_Ask, on 30 August 2012 - 07:42 AM, said:
Kullenen_Ask, on 30 August 2012 - 07:42 AM, said:
What do you advice for "SystemSetupInProgress" to set to solve the problem. maybe it can be changed to something else as soon as boot with a command or loader isn't?
Hmm, there was some registry settings to disable it, but can't remember what. Maybe disable the Plug n play service.
But properly MS has removed that option, as options don't fit into the windows 8 concept.
Let's assume the the SystemSetupInProgress set to "0" is causing the hardware seach.
- maybe you could just remove trouble some infs from the \Windows\Inf folder
(disk.inf, volume.inf, volsnap.inf)
- or setting a SystemSetupInProgrest value to 1 and change the UNICODE strings SystemSetupInProgress to SystemSetupInProgrest
inside some modules that start the hardware detection
(umpnpmgr.dll, services.exe)
This post has been edited by JFX: 30 August 2012 - 08:57 AM
#9
Posted 30 August 2012 - 09:06 AM
JFX, on 30 August 2012 - 08:56 AM, said:
i set SystemSetupInProgress to "2" nothing changed. will try "1" and other hexing solutions.
JFX, on 30 August 2012 - 08:56 AM, said:
(disk.inf, volume.inf, volsnap.inf)
this can be a solution because i think i solved this issue previously when i was working with Windows 7 by deleting some inf files. will try them too.
And jaclaz
X:\>dd.exe --list > x:\as.txt
rawwrite dd for windows version 0.6beta3.
Written by John Newbigin <jn@it.swin.edu.au>
This program is covered by terms of the GPL Version 2.
Win32 Available Volume Information
\\.\Volume{d9b257fc-684e-4dcb-ab79-03cfa2f6b750}\
link to \\?\Device\Ramdisk{d9b257fc-684e-4dcb-ab79-03cfa2f6b750}
fixed media
Mounted on \\.\x:
NT Block Device Objects
\\?\Device\Harddisk0\Partition0
link to \\?\Device\Harddisk0\DR0
Fixed hard disk media. Block size = 512
size is 120033041920 bytes
\\?\Device\Harddisk1\Partition0
link to \\?\Device\Harddisk1\DR1
Fixed hard disk media. Block size = 512
size is 320071851520 bytes
\\?\Device\Harddisk2\Partition0
link to \\?\Device\Harddisk2\DR2
Fixed hard disk media. Block size = 512
size is 250058268160 bytes
\\?\Device\Harddisk3\Partition0
link to \\?\Device\Harddisk3\DR3
Fixed hard disk media. Block size = 512
size is 80025280000 bytes
Virtual input devices
/dev/zero (null data)
/dev/random (pseudo-random data)
- (standard input)
Virtual output devices
- (standard output)
/dev/null (discard the data)
X:\>
do not know what you mean with testdisk but the software i found from Google is this
TestDisk 6.13, Data Recovery Utility, November 2011 Christophe GRENIER <grenier@cgsecurity.org> http://www.cgsecurity.org TestDisk is free software, and comes with ABSOLUTELY NO WARRANTY. Select a media (use Arrow keys, then press Enter): >Disk /dev/sda - 120 GB / 111 GiB - ST3120026A Disk /dev/sdb - 320 GB / 298 GiB - ST3320620A Disk /dev/sdc - 250 GB / 232 GiB - SAMSUNG HD251HJ Disk /dev/sdd - 80 GB / 74 GiB - ST380215AS Drive X: - 3162 KB / 3088 KiB - Microsoft Corporation RamDisk >[Proceed ] [ Quit ] Note: Disk capacity must be correctly detected for a successful recovery. If a disk listed above has incorrect size, check HD jumper settings, BIOS detection, and install the latest OS patches and disk drivers.
For the best solution i need to keep autoinstalling of all drivers but need to keep hard drives visable.
Also i made changes at IDConfigDB key. because it should have connection with hardware profiles and autoloading them. winpe and normal Windows install is different but nothing changed after test.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\IDConfigDB]
"UserWaitInterval"=dword:0000001e
"CurrentConfig"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\IDConfigDB\AcpiAlias]
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\IDConfigDB\AcpiAlias\0001]
"DockingState"=dword:00000001
"AcpiSerialNumber"=hex:00,00
"ProfileNumber"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\IDConfigDB\Hardware Profiles]
"Unknown"=dword:00000001
"Undocked"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\IDConfigDB\Hardware Profiles\0000]
"FriendlyName"="New Hardware Profile"
"Aliasable"=dword:00000000
"PreferenceOrder"=dword:ffffffff
"Pristine"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\IDConfigDB\Hardware Profiles\0001]
"PreferenceOrder"=dword:00000000
"FriendlyName"="Undocked Profile"
"Aliasable"=dword:00000000
"Cloned"=dword:00000001
"HwProfileGuid"="{847e48a5-d6ef-11e1-af98-806e6f6e6963}"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\IDConfigDB\CurrentDockInfo]
"DockingState"=dword:00000001
"Capabilities"=dword:00000000
"DockID"=dword:00000000
"SerialNumber"=dword:00000000
"AcpiSerialNumber"=hex:00,00
Most good part is this works will be, i will try to get metro ui work under ram booting. If Microsoft put a winpe check for people not get metro work under winpe we should have metro working under user login full Windows ram booting. Until now "unknown hard error" contiues also with user login, without winpeshl.exe.
This post has been edited by Kullenen_Ask: 30 August 2012 - 09:23 AM
#10
Posted 30 August 2012 - 09:24 AM
Kullenen_Ask, on 30 August 2012 - 09:06 AM, said:
Yep
http://www.cgsecurit...sk_Step_By_Step
you should get for each disk the appropriate partition sizes/offsets/etc.
The dd.exe --list output confirms that *somehow* the actual disks are seen but are seen as UNpartitioned media (a single partition on each), and that they are not "linked" to any "volume".
They are "strange" results.
Can you try running MountStorePE and Showdrive?
http://reboot.pro/10169/
(though I think they operate at a somewhat "higher" level than the one you are having the issue at)
jaclaz
#11
Posted 30 August 2012 - 11:26 AM
[HKEY_LOCAL_MACHINE\SYSTEM_01\ControlSet001\Control\Class\{71a27cdd-812a-11d0-bec7-08002be2092f}]
LowerFilters=fvevol rdyboost
at winpe there is
[HKEY_LOCAL_MACHINE\SYSTEM_01\ControlSet001\Control\Class\{71a27cdd-812a-11d0-bec7-08002be2092f}]
LowerFilters=fvevol
Until windows 8 it was safe to remove rdyboost from first. Now if i remove it, it gives bsod. If i keep it not crash.
If i delete rdyboost from services (device manager)-(storage)-(general device)-properties says registry corrupted.
Normally after removing rdyboost from lowerfilters and its service, storage devices should be successfully loaded because it will not understand there is one more driver needs to be loaded. there is no more mention in inf files. After microsoft made lots of improvements at rdyboost somethings should be changed. There should be some registry keys i miss.
removing inf files did not solve the problem.
This post has been edited by Kullenen_Ask: 30 August 2012 - 11:28 AM
#12
Posted 31 August 2012 - 04:00 AM
Can you try using a tool like (I have no idea if it could run in your environments) like serviwin:
http://www.nirsoft.n...s/serviwin.html
save the lists and compare them?
Particularly what about Partmgr.sys?
http://www.davewolf....ailing-to-start
jaclaz
#13
Posted 31 August 2012 - 05:02 AM
#14
Posted 31 August 2012 - 07:40 AM
Kullenen_Ask, on 31 August 2012 - 05:02 AM, said:
Yes, besides your "negative" effect
http://reboot.pro/forum/109/
which right now is "blocking" the mount manager, while it seems to me like by accident you managed to block at a "lower" level than that, see also this:
http://reboot.pro/15883/#entry142971
there is a reference to "volmgrx"
jaclaz



Help

Back to top









