1; 2; Copyright (c) Microsoft Corporation. All rights reserved. 3; 4 5[Version] 6Signature = "$WINDOWS NT$" 7LayoutFile = layout.inf 8Class = DiskDrive 9ClassGUID = {4D36E967-E325-11CE-BFC1-08002BE10318} 10Provider = %MSFT% 11; Git commit 3428c5f @ https://github.com/microsoft/Windows-driver-samples 12DriverVer = 08/29/2018, 1.0 13 14;[SourceDisksNames] 15;3426=windows cd 16 17;[SourceDisksFiles] 18;disk.sys = 3426 19 20;; 21;; The AutoRunAlwaysDisable key is only for use when the hardware cannot 22;; accepts TEST_UNIT_READY commands. Disabling 'AutoRun' or including 23;; devices in this list will prevent removable media services from being 24;; able to properly handle these devices. 25;; 26 27[autorun_addreg] 28HKLM,"System\CurrentControlSet\Services\disk","AutoRunAlwaysDisable", 0x00010008, "Brother RemovableDisk(U)" 29 30[disk_copyfiles] 31disk.sys,,,0x100 32 33[DestinationDirs] 34disk_copyfiles=12 35storprop_CopyFiles.NT = 11 36 37[ClassInstall32.NT] 38AddReg = DiskClass.NT.AddReg 39Copyfiles = storprop_CopyFiles.NT 40 41[DiskClass.NT.AddReg] 42HKR, , , 0, %DiskClassName% 43HKR, , Icon, 0, "-53" 44HKR, , Installer32, 0, "storprop.dll,DiskClassInstaller" 45HKR, , NoInstallClass, 0, 1 46HKR, , SilentInstall, 0, 1 47 48[ControlFlags] 49BasicDriverOk=* 50 51[Manufacturer] 52%GenManufacturer%=disk_device,NT 53%Compaq%=compaq,NT 54%Mylex%=mylex,NT 55;%GenManufacturer%=disk_device,NT$ARCH$ 56;%Compaq%=compaq,NT$ARCH$ 57;%Mylex%=mylex,NT$ARCH$ 58 59;[disk_device.NT$ARCH$] 60[disk_device.NT] 61%disk_devdesc% = disk_install, GenDisk 62%opticaldisk_devdesc% = disk_install, GenOptical 63%disk_devdesc% = disk_install, USBSTOR\DiskSony____MSC-U01_________ 64%disk_devdesc% = disk_install, USBSTOR\DiskSony____MSC-U01N________ 65%disk_devdesc% = media_unlockable_disk_install, IDE\DiskIOMEGA_ZIP_100__________________________ 66%disk_devdesc% = media_unlockable_disk_install, SCSI\DiskIOMEGA__ZIP_100_________ 67%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\FUJITSU&DynaMO-FE_OPTICAL_DRIVE&CmdSetId104d8&GenDisk 68%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\&SYM13FW500-DISK_DRIVE&CmdSetId104d8&GenDisk 69%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\&WDxxxA001RTL-Disk_Drive&CmdSetId104d8&GenDisk 70%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\MAC_TECHNOLOGIESINC.&MAC_THIN_FIREWIRE_DRIVE&CmdSetId104d8&GenDisk 71%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\VST_TECHNOLOGIESINC.&VST_THIN_FIREWIRE_DRIVE&CmdSetId104d8&GenDisk 72%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\Sony&PCVA-HD04&CmdSetId104d8&GenDisk 73%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\LSI_Logic&SYM13FW500-DISK_DRIVE&CmdSetId104d8&GenDisk 74%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\MELCO_INC&1394MEL-HD_DRIVE_&CmdSetId104d8&GenDisk 75%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\MELCO_INC&1394MEL-HD_DRIVE&CmdSetId104d8&GenDisk 76%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\MELCO_INC&1394MEL-MO_DRIVE_&CmdSetId104d8&GenDisk 77%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\LOGITEC&LMO-PFU&CmdSetId104d8&GenDisk 78%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\LOGITEC&LMO-AF&CmdSetId104d8&GenDisk 79%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\OXFW900_&LHD-SF__&CmdSetId104d8&GenDisk 80%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\LOGITEC&LHD-PFU&CmdSetId104d8&GenDisk 81%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\LOGITEC&LHD_AF&CmdSetId104d8&GenDisk 82%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\I-O_DATA_DEVICE_INC.&1394_Converter__&CmdSetId104d8&GenDisk 83%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\API-903-95__&1394_Storage_+_Repeater_&CmdSetId104d8&GenDisk 84%disk_devdesc% = expect_orderly_removal_disk_install, SBP2\Sony&PCVA-HD08A&CmdSetId104d8&GenDisk 85%disk_devdesc% = expect_surprise_removal_disk_install, LEXARUSB\GenDisk 86%disk_devdesc% = expect_surprise_removal_disk_install, SCSI\DiskToshiba_SD_Mem_Driver___ 87%disk_devdesc% = disk_install_VHD_drive, SCSI\DiskMsft____Virtual_Disk____ 88 89;[compaq.NT$ARCH$] 90[compaq.NT] 91%compaq_array.DeviceDesc% = disk_install, SCSI\DiskCompaq__Disk_Array______ 92 93;[mylex.NT$ARCH$] 94[mylex.NT] 95%mylex_array.DeviceDesc% = disk_install, SCSI\DiskMYLEX___ 96 97[media_unlockable_disk_install.NT] 98CopyFiles=disk_copyfiles 99 100[media_unlockable_disk_install.NT.Services] 101AddService=disk,2,disk_ServiceInstallSection,disk_EventLog_InstallSection 102 103[media_unlockable_disk_install.NT.HW] 104AddReg=media_unlockable_disk_install_HW.AddReg 105 106[media_unlockable_disk_install_HW.AddReg] 107HKR,"Classpnp","HackMask",0x00010001,0x1 ; Device cannot lock media 108 109[expect_orderly_removal_disk_install.NT] 110CopyFiles=disk_copyfiles 111 112[expect_orderly_removal_disk_install.NT.Services] 113AddService=disk,2,disk_ServiceInstallSection,disk_EventLog_InstallSection 114 115[expect_orderly_removal_disk_install.NT.HW] 116AddReg=expect_orderly_removal_disk_install_HW.AddReg 117 118[expect_orderly_removal_disk_install_HW.AddReg] 119HKR,,"RemovalPolicy",0x00010001,0x2 ; ExpectOrderlyRemoval 120 121[expect_surprise_removal_disk_install.NT] 122CopyFiles=disk_copyfiles 123 124[expect_surprise_removal_disk_install.NT.Services] 125AddService=disk,2,disk_ServiceInstallSection,disk_EventLog_InstallSection 126 127[expect_surprise_removal_disk_install.NT.HW] 128AddReg=expect_surprise_removal_disk_install_HW.AddReg 129 130[expect_surprise_removal_disk_install_HW.AddReg] 131HKR,,"RemovalPolicy",0x00010001,0x3 ; ExpectSurpriseRemoval 132 133[disk_install_VHD_drive.NT] 134CopyFiles=disk_copyfiles 135 136[disk_install_VHD_drive.NT.Services] 137AddService=disk,2,disk_ServiceInstallSection,disk_EventLog_InstallSection 138 139[disk_install_VHD_drive.NT.HW] 140AddReg=disk_install_VHD_drive.AddReg 141 142[disk_install_VHD_drive.AddReg] 143HKR,,"FriendlyName",,%VHD_Generic_FriendlyName% ; Give VHD drives a more friendly name 144 145[disk_install.NT] 146CopyFiles=disk_copyfiles 147ExcludeId=GenSFloppy,SCSI\DiskMATSHITALS-120_COSM___04,SCSI\DiskCOMPAQ__LS-120_VER5___AB 148ExcludeId=SCSI\DiskCOMPAQ__LS-120_HIMA___01,SCSI\DiskMATSHITALS-120_VER5___00 149ExcludeId=SCSI\DiskMATSHITALS-120/240____00 150DiskCiPrivateData=4 151 152[disk_install.NT.Services] 153AddService=disk,2,disk_ServiceInstallSection,disk_EventLog_InstallSection 154 155[disk_ServiceInstallSection] 156DisplayName=%disk_ServiceDesc% 157ServiceType=1 158StartType=0 159ErrorControl=1 160ServiceBinary = %12%\disk.sys 161AddReg=autorun_addreg 162 163[disk_EventLog_InstallSection] 164;AddReg=disk_EventLog_AddReg 165 166[disk_EventLog_AddReg] 167HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll" 168HKR,,TypesSupported,0x00010001,7 169 170[storprop_CopyFiles.NT] 171storprop.dll 172 173 174[Strings] 175MSFT="Microsoft" 176DiskClassName="Disk drives" 177GenManufacturer="(Standard disk drives)" 178Compaq="Compaq" 179Mylex="Mylex" 180 181disk_devdesc="Disk drive" 182opticaldisk_devdesc="Optical disk drive" 183 184disk_ServiceDesc="Disk Driver" 185compaq_array.DeviceDesc = "Compaq SCSI Drive Array" 186mylex_array.DeviceDesc = "Mylex RAID Disk Device" 187 188VHD_Generic_FriendlyName = "Microsoft Virtual Disk" 189 190[Strings.0415] 191DiskClassName="Stacje dysków" 192GenManufacturer="(Standardowe stacje dysków)" 193 194disk_devdesc="Stacja dysków" 195opticaldisk_devdesc="Stacja dysków optycznych" 196 197disk_ServiceDesc="Sterownik dysku" 198compaq_array.DeviceDesc = "Zestaw dysków SCSI Compaq" 199mylex_array.DeviceDesc = "Urządzenie dyskowe Mylex RAID" 200 201VHD_Generic_FriendlyName = "Dysk wirtualny firmy Microsoft" 202 203[Strings.0419] 204DiskClassName="Дисковые устройства" 205GenManufacturer="(Стандартные дисковые накопители)" 206 207disk_devdesc="Дисковый накопитель" 208opticaldisk_devdesc="Привод оптических дисков" 209 210disk_ServiceDesc="Драйвер дисковых накопителей" 211compaq_array.DeviceDesc = "Compaq SCSI дисковый массив" 212mylex_array.DeviceDesc = "Mylex RAID дисковое устройство" 213 214VHD_Generic_FriendlyName = "Microsoft виртуальный диск" 215 216;Chinese(Taiwan) 217[Strings.0404] 218MSFT="Microsoft" 219DiskClassName="磁碟機" 220GenManufacturer="(標準磁碟機)" 221Compaq="Compaq" 222Mylex="Mylex" 223 224disk_devdesc="磁碟機" 225opticaldisk_devdesc="光碟機" 226 227disk_ServiceDesc="磁碟驅動程式" 228compaq_array.DeviceDesc = "Compaq SCSI 磁碟機陣列" 229mylex_array.DeviceDesc = "Mylex RAID 磁碟機裝置" 230 231VHD_Generic_FriendlyName = "Microsoft 虛擬磁碟" 232 233;Chinese(PRC) 234[Strings.0804] 235MSFT="Microsoft" 236DiskClassName="磁盘驱动器" 237GenManufacturer="(标准磁盘驱动器)" 238Compaq="Compaq" 239Mylex="Mylex" 240 241disk_devdesc="磁盘驱动器" 242opticaldisk_devdesc="光盘驱动器" 243 244disk_ServiceDesc="磁盘驱动程序" 245compaq_array.DeviceDesc = "Compaq SCSI 磁盘驱动器阵列" 246mylex_array.DeviceDesc = "Mylex RAID 磁盘设备" 247 248VHD_Generic_FriendlyName = "Microsoft 虚拟磁盘" 249 250[Strings.0a] 251DiskClassName="Unidades de discos" 252GenManufacturer="(Unidades de disco estándar)" 253 254disk_devdesc="Unidades de discos" 255opticaldisk_devdesc="Unidades de disco ópticas" 256 257disk_ServiceDesc="Unidad de disco" 258compaq_array.DeviceDesc = "Disco Compaq SCSI Array" 259mylex_array.DeviceDesc = "Dispositivo de Disco Mylex RAID" 260 261VHD_Generic_FriendlyName = "Disco Virtual de Microsoft" 262 263;Chinese(Hong Kong) 264[Strings.0c04] 265MSFT="Microsoft" 266DiskClassName="磁碟機" 267GenManufacturer="(標準磁碟機)" 268Compaq="Compaq" 269Mylex="Mylex" 270 271disk_devdesc="磁碟機" 272opticaldisk_devdesc="光碟機" 273 274disk_ServiceDesc="磁碟驅動程式" 275compaq_array.DeviceDesc = "Compaq SCSI 磁碟機陣列" 276mylex_array.DeviceDesc = "Mylex RAID 磁碟機裝置" 277 278VHD_Generic_FriendlyName = "Microsoft 虛擬磁碟" 279