Does XPfildrvr1224.zip can be used to mask USB as fixed?

D

Dietmar

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
 
D

Dietmar

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
 
D

Dietmar

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top