Does XPfildrvr1224.zip can be used to mask USB as fixed?
WinXPTalk.com Forum Index WinXPTalk.com
Forums for Windows XP users.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winxptalk.com
Does XPfildrvr1224.zip can be used to mask USB as fixed?

 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Embedded System
Author Message
Dietmar
Guest





Posted: Sun Oct 30, 2005 12:27 am    Post subject: Does XPfildrvr1224.zip can be used to mask USB as fixed? Reply with quote

Hi all,
is it possible to use the Hitachi Microdrive filter, which masks the
removable Bit, for USB (USBSTOR)?
Because the service of an USB drive (even USB Stick) is disk, which I
means give reference to disk.sys it must be possible?

Thank you all
Dietmar
Back to top
Dietmar
Guest





Posted: Sun Oct 30, 2005 12:27 am    Post subject: Re: Does XPfildrvr1224.zip can be used to mask USB as fixed? Reply with quote

Hi all,
will this work also for ANY USB drive?

[Version]
Signature="$Windows NT$"
Class=DiskDrive
ClassGuid={4D36E967-E325-11CE-BFC1-08002BE10318}
Provider=%HGST%
LayoutFile=layout.inf
DriverVer=12/14/2002,1.00.0000.1

[Manufacturer]
%HGST% = cfadisk_device

[DestinationDirs]
cfadisk_copyfiles=12 ; %SystemRoot%\system32\drivers
gendisk_copyfiles=12 ; %SystemRoot%\system32\drivers

[cfadisk_copyfiles]
cfadisk.sys

[gendisk_copyfiles]
disk.sys

; ---------------------

[cfadisk_device]
%Microdrive_devdesc% = cfadisk_install,GenDisk


[cfadisk_addreg]
HKR,,"LowerFilters",0x00010008,"cfadisk"

[cfadisk_install]
CopyFiles=cfadisk_copyfiles,gendisk_copyfiles

[cfadisk_install.HW]
AddReg=cfadisk_addreg

[cfadisk_install.Services]
AddService=disk,2,gendisk_ServiceInstallSection
AddService=cfadisk,,cfadisk_ServiceInstallSection

[gendisk_ServiceInstallSection]
DisplayName = "Disk Driver"
ServiceType = 1
StartType = 0
ErrorControl = 1
ServiceBinary = %12%\disk.sys
LoadOrderGroup = SCSI Class

[cfadisk_ServiceInstallSection]
DisplayName = "CompactFlash Filter Driver"
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\cfadisk.sys
LoadOrderGroup = Pnp Filter

; -----------------------

[Strings]
HGST = "Hitachi Global Storage Technologies"
Microdrive_devdesc = "Hitachi Microdrive"

Thanks
Dietmar
Back to top
Dietmar
Guest





Posted: Sun Oct 30, 2005 12:27 am    Post subject: Re: Does XPfildrvr1224.zip can be used to mask USB as fixed? Reply with quote

HI all,

Waaaohh it works, my USB Stick is shown as HARDDRIVE!!!

hihihihih

Dietmar
Back to top
Dietmar
Guest





Posted: Sun Oct 30, 2005 12:27 am    Post subject: Re: Does XPfildrvr1224.zip can be used to mask USB as fixed? Reply with quote

Hi all,

I masked the removable Bit with the filterdriver for Hitachi Microdrive.

After that, your USB Stick is shown as USB harddrive.

This filter can be downloaded from www.xpefiles.com .
Look there for Hardware/Drivers Hitachi Microdrive and load
xpfildrvr1224_320
down. The only thing you have to change is in cfadisk.inf .


Here is the copy of my CHANGED cfadisk.inf





[Version]
Signature="$Windows NT$"
Class=DiskDrive
ClassGuid={4D36E967-E325-11CE-BFC1-08002BE10318}
Provider=%HGST%
LayoutFile=layout.inf
DriverVer=12/14/2002,1.00.0000.1

[Manufacturer]
%HGST% = cfadisk_device

[DestinationDirs]
cfadisk_copyfiles=12 ; %SystemRoot%\system32\drivers
gendisk_copyfiles=12 ; %SystemRoot%\system32\drivers

[cfadisk_copyfiles]
cfadisk.sys

[gendisk_copyfiles]
disk.sys

; ---------------------

[cfadisk_device]
%Microdrive_devdesc% =
cfadisk_install,USBSTOR\DiskBUFFALO_USB_Flash_Disk__2.00


[cfadisk_addreg]
HKR,,"LowerFilters",0x00010008,"cfadisk"

[cfadisk_install]
CopyFiles=cfadisk_copyfiles,gendisk_copyfiles

[cfadisk_install.HW]
AddReg=cfadisk_addreg

[cfadisk_install.Services]
AddService=disk,2,gendisk_ServiceInstallSection
AddService=cfadisk,,cfadisk_ServiceInstallSection

[gendisk_ServiceInstallSection]
DisplayName = "Disk Driver"
ServiceType = 1
StartType = 0
ErrorControl = 1
ServiceBinary = %12%\disk.sys
LoadOrderGroup = SCSI Class

[cfadisk_ServiceInstallSection]
DisplayName = "CompactFlash Filter Driver"
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\cfadisk.sys
LoadOrderGroup = Pnp Filter

; -----------------------

[Strings]
HGST = "Hitachi Global Storage Technologies"
Microdrive_devdesc = "Hitachi Microdrive"





There is ONE line with USBSTOR\DiskBUFFALO_USB_Flash_Disk__2.00
this is exakt the HardwareID from my Buffalo USB Stick, can be found in

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR

is exakt the first entry right in HardwareID string.

Copy this HardwareID for YOUR USB Stick
and put it in cfadisk.inf exakt where until now here by me

USBSTOR\DiskBUFFALO_USB_Flash_Disk__2.00 is standing.


After that go to devicemanager, search for your IDE drive and there also
is your USB Stick listened (NOT in USB!!!). Klick "Search for new drivers"
for your USB stick and give the directory, where your changed cfadisk.inf
is, together with cfadisk.sys.
Klick install. Reboot your Computer and voila, your USB Stick is shown as
USB harddrive, you can put 4 partitions on it .

Nice to hear from you
Dietmar
Back to top
 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Embedded System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Office Forums Access Forums Windows Server Exchange Server Help
New Topics Powered by phpBB