FILE %&CurDir%\%&SysBit%\ext2fsd.SYS=>%SystemROOT%\System32\DRIVERS\ REGI $HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_EXT2FSD\0000\Class=LegacyDriver REGI $HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_EXT2FSD\0000\ClassGUID={8ECC055D-047F-11D1-A537-0000F8753ED1} REGI #HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_EXT2FSD\0000\ConfigFlags=0 REGI #HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_EXT2FSD\0000\Control\*NewlyCreated*=0 REGI $HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_EXT2FSD\0000\Control\ActiveService=EXT2FSD REGI $HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_EXT2FSD\0000\DeviceDesc=Linux ext2 file system driver REGI #HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_EXT2FSD\0000\Legacy=1 REGI $HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_EXT2FSD\0000\Service=EXT2FSD REGI #HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_EXT2FSD\NextInstance=1 REGI $HKLM\SYSTEM\CurrentControlSet\Services\EXT2FSD\Description=Linux ext2 file system driver REGI $HKLM\SYSTEM\CurrentControlSet\Services\EXT2FSD\DisplayName=Linux ext2 file system driver REGI $HKLM\SYSTEM\CurrentControlSet\Services\EXT2FSD\Enum\0=Root\LEGACY_EXT2FSD\0000 REGI #HKLM\SYSTEM\CurrentControlSet\Services\EXT2FSD\Enum\Count=1 REGI #HKLM\SYSTEM\CurrentControlSet\Services\EXT2FSD\Enum\NextInstance=1 REGI #HKLM\SYSTEM\CurrentControlSet\Services\EXT2FSD\ErrorControl=1 REGI $HKLM\SYSTEM\CurrentControlSet\Services\EXT2FSD\Group=File System REGI ~HKLM\SYSTEM\CurrentControlSet\Services\EXT2FSD\ImagePath=System32\DRIVERS\EXT2FSD.sys REGI #HKLM\SYSTEM\CurrentControlSet\Services\EXT2FSD\Parameters\CheckingBitmap=0 REGI $HKLM\SYSTEM\CurrentControlSet\Services\EXT2FSD\Parameters\CodePage=utf8 REGI #HKLM\SYSTEM\CurrentControlSet\Services\EXT2FSD\Parameters\Ext3ForceWriting=1 REGI #HKLM\SYSTEM\CurrentControlSet\Services\EXT2FSD\Parameters\WritingSupport=1 REGI @HKLM\SYSTEM\CurrentControlSet\Services\EXT2FSD\Security\Security=01001480b8000000c4000000140000003000000002001c000100000002801400ff010f00010100000000000100000000020088000600000000001400fd01020001010000000000051200000000001800ff010f0001020000000000052000000020020000000014008d010200010100000000000504000000000014008d010200010100000000000506000000000014000001000001010000000000050b00000000001800fd01020001020000000000052000000023020000010100000000000512000000010100000000000512000000 REGI #HKLM\SYSTEM\CurrentControlSet\Services\EXT2FSD\Start=2 REGI #HKLM\SYSTEM\CurrentControlSet\Services\EXT2FSD\Tag=1 REGI #HKLM\SYSTEM\CurrentControlSet\Services\EXT2FSD\Type=2 SERV-create EXT2FSD,%SystemROOT%\System32\DRIVERS\EXT2FSD.SYS,1,-boot SERV -wait EXT2FSD
FILE %&CurDir%\%&SysBit%\APPLEHFS.SYS=>%SystemROOT%\System32\DRIVERS\ REGI $HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_APPLEHFS\0000\Class=LegacyDriver REGI $HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_APPLEHFS\0000\ClassGUID={8ECC055D-047F-11D1-A537-0000F8753ED1} REGI #HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_APPLEHFS\0000\ConfigFlags=0 REGI #HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_APPLEHFS\0000\Control\*NewlyCreated*=0 REGI $HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_APPLEHFS\0000\Control\ActiveService=APPLEHFS REGI $HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_APPLEHFS\0000\DeviceDesc=AppleHFS File System Driver REGI #HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_APPLEHFS\0000\Legacy=1 REGI $HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_APPLEHFS\0000\Service=APPLEHFS REGI #HKLM\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_APPLEHFS\NextInstance=1 REGI $HKLM\SYSTEM\CurrentControlSet\Services\APPLEHFS\Description=AppleHFS File System Driver REGI $HKLM\SYSTEM\CurrentControlSet\Services\APPLEHFS\DisplayName=AppleHFS File System Driver REGI $HKLM\SYSTEM\CurrentControlSet\Services\APPLEHFS\Enum\0=Root\LEGACY_APPLEHFS\0000 REGI #HKLM\SYSTEM\CurrentControlSet\Services\APPLEHFS\Enum\Count=1 REGI #HKLM\SYSTEM\CurrentControlSet\Services\APPLEHFS\Enum\NextInstance=1 REGI #HKLM\SYSTEM\CurrentControlSet\Services\APPLEHFS\ErrorControl=1 REGI $HKLM\SYSTEM\CurrentControlSet\Services\APPLEHFS\Group=Boot File System REGI ~HKLM\SYSTEM\CurrentControlSet\Services\APPLEHFS\ImagePath=System32\DRIVERS\APPLEHFS.sys REGI @HKLM\SYSTEM\CurrentControlSet\Services\APPLEHFS\Security\Security=01001480b8000000c4000000140000003000000002001c000100000002801400ff010f00010100000000000100000000020088000600000000001400fd01020001010000000000051200000000001800ff010f0001020000000000052000000020020000000014008d010200010100000000000504000000000014008d010200010100000000000506000000000014000001000001010000000000050b00000000001800fd01020001020000000000052000000023020000010100000000000512000000010100000000000512000000 REGI #HKLM\SYSTEM\CurrentControlSet\Services\APPLEHFS\Start=2 REGI #HKLM\SYSTEM\CurrentControlSet\Services\APPLEHFS\Tag=1 REGI #HKLM\SYSTEM\CurrentControlSet\Services\APPLEHFS\Type=2 SERV-create APPLEHFS,%SystemROOT%\System32\DRIVERS\APPLEHFS.SYS,1,-boot SERV -wait APPLEHFS
挂载ESP分区
1
EXEC -wait -hide %&CurDir%\%&SysBit%\MountESP.exe
显示所有分区(包含隐藏分区)
1
SHOW -1:-1
理顺盘符(victor888批处理,处理所有分区)
1
EXEC -wait -hide %&CurDir%\orderdrv.cmd
理顺盘符(PECMD2012函数,只处理已有盘符)
1 2 3 4
REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\! SHOW -1:-1 DISK ,,,1,,0x10 DISK ,,,3,U:,2