Kiến Thức Chung

Tutorial For Using Hiren boot CD 15.1 ISO on USB or HDD – Hiren’s Boot CD

Posted 14 March 2012 – 07:51 AM

Some people really need using Hiren boot CD 15.1 ISO on USB or HDD, but with one file ISO (500Mb) it too large and get some bug. I make this tutorial for using hiren iso on USB or HDD with grub4dos.
Hiren boot cd have some apps:
-for dos
-for mini windows xp
-linux: can use parted magic with only iso file.

I. Dos version: Only using apps from dos:
It has two methods.
Method 1: Boot to DOS version from file iso (like dos.iso)
-Open Open file hiren boot cd 15 iso with UltraISO, double click to open HBCD folder.
-Delete some folders:
+Folder: Programs, XP, pmagic (HBCDBootPmagic)
-Save as file name Dos.iso

 Image.png   

83.09KB

  

121 downloads

Method 2: Boot to DOS version from file IMA (like disk image, dos.ima)
-Extract file dos.gz (HBCDDosdos.gz)
-Using 7zip extract file dos.gz, get file dos.img
-Using WinImage open file dos.img
+Image – boot sector properties, click “Save” with any file name (ex. Dos.bin)
-Using 7zip extract file dos.img in folder (Ex: Hiren)
-Open folder Hiren (you make), create a folder name HBCD.
-Using 7zip extract 2 folders: Boot and Dos into folder HBCD
-Open Boot folder (HirenHBCDBoot), delete pmagic folder (you can boot pmagic from ISO file, do not need it), keyboard.bat, pmagic.lst
-Now you get Hiren folder with size 52MB.
-Using WinImage create new disk image with size 53MB
+File – New file – Format Selection – Imported – Select custom image format
+Get dialog: Edit FAT image size, Change image size (Total number of sectors) with 109456
+Click OK, save file with any name (dos.ima)
-Open Hiren folder, drag and drop all file and folder into new file create with WinImage. Select Yes for dialog
-Image – boot sector properties – open – Select file boot sector you saved (dos.bin) – click open – Click OK – Click Save image.

II. Using Mini Windows XP with small size:

I have two methods

Method 1: Get all information from an ISO file at startup.
-Using 7zip extract file XP.wim into folder (call XP, I place it partition E, path E:XP)
-Open file startup.cmd (E:XPI386System32startup.cmd) with notepad. Change some information
Original:

@echo off

title Startup

set HBCD=HBCD

:a

For %%I IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z A B) DO (dir %%I: 1>nul 2>nul && if /i exist %%I:HBCDHBCDMenu.exe set HBCD=%%I:&goto k)

Change to

@echo off

title Startup

set HBCD=HBCD

:a

For %%I IN (C D E F G H I J K L M N O P Q R S T U V W Y Z) DO (If /i Exist "%%I:Hiren15.iso" set HBCD=%%I:)

imdisk -a -f %HBCD%Hiren15.iso -m Y:

set HBCD=Y:

goto k

Save file.

-Using Gimagex capture file wim.
+Soure: Folder path E:XP (when extract file xp.wim)
+Destination: any where (but file name must be XP.WIM)
+Compression: maximium
+Options: check Boot
Select create

-Create file ISO: Open Open file hiren boot cd 15 iso with UltraISO, delete all file and folder except 3 files: X, XP.BIN, XP.wim
+Replace file XP.wim (original) with file XP.wim (rebuild)
+Save as file name minixp.iso (45MB)
-Prepare file iso for startup:
+File ISO must name hiren15.iso, place into root directory (for this tutorial). If you want place it into another folder, please chang code for startup.cmd with path to find file iso. If you want change name file iso (hiren15.iso) to another name, please change name in startup.cmd
Ex: Change path, and name: place file iso into folder name ISO, change file name to hbcd.iso. Need change code
“%%I:Hiren15.iso” to “%%I:ISOhbcd.iso”
+Open file hiren boot cd 15 iso with UltraISO, delete all file and folder, except Folder Programs, XP (only keep XpCustomize.cmd, XpDrvLAN.7z, XpDrvWLAN.7z), file HBCDMenu.cmd.
+Save as with name hiren15.iso
Note: You can not unplug USB when using Minixp

Xem thêm:   Cách tạo bảng, kẻ bảng trong Word, PowerPoint

Xem thêm :  Cô gái thái lan bị tấn công tình dục ở mỹ

Method 2: Fast startup, but need more change (test with hard disk has corrupt a partition)
Like step 1. But need more change
Using 7zip open hiren boot cd iso
-Extract 7z.dll, 7z.exe, EasyUHA.exe, uharc.exe (HBCDPrograms) into E:XPI386System32
-Extract 7zip.7z, dll.7z, teracopy.7z, Notepad.7z, XpFiles.7z (HBCDProgramsFiles) (open it and extract) into E:XPI386System32
Rename Notepad++.exe to Notepad.exe
-Extract IrfanView.7z (HBCDProgramsFiles) into E:XPI386
-Extract processxp.exe (HBCDPrograms) into E:XPI386System32, rename taskmgr.exe
-Open folder XP (E:XP), create new folder name HBCD and open this folder, create 3 folder name XP, Programs, Boot. Open folder Programs and create new folder name Files
-Extract files:
+XpCustomize.cmd (HBCDXP) into E:XPHBCDXP
+ Keyboard.bat (HBCDBoot) into E:XPHBCDBoot
+ HBCDMenu.csv,, AutoMountDrives.cmd into E:XPHBCDPrograms
+ AutoMountDrives.7z (HBCDProgramsFiles) into E:XPHBCDProgramsFiles
+ HBCDMenu.exe into E:XPHBCD

-Change code startup.cmd:
Delete all, and add this code

@echo off

title Startup

set HBCD=HBCD

:a

For %%I IN (X) DO (If /i Exist "%%I:HBCDHBCDMenu.exe" set HBCD=%%I:&goto k)

if exist %Temp%HWPnP.log goto s

call pnpbatch all

nircmd wait 2000

goto a

:s

if not %showdh%!==! goto z

showdrive /all

nircmd wait 2000

set showdh=1

goto a

:k

call %HBCD%HBCDBootKeyboard.bat i

if exist %HBCD%HBCDXPWallpaper.bmp REG ADD "HKCUControl PanelDesktop" /v Wallpaper /f /d %HBCD%HBCDXPWallpaper.bmp &RUNDLL32 user32.dll,UpdatePerUserSystemParameters

ren %SystemRoot%System32prep Startup2.cmd

mkdir "%ALLUSERSPROFILE%Start MenuProgramsAdministrative Tools"

call keyboard %keyboard%>nul

for %%z in ("%USERPROFILE%Start MenuPrograms" "%USERPROFILE%Start Menu") do copy /y "%USERPROFILE%DesktopHBCD Menu.lnk" %%z

for %%z in ("%USERPROFILE%Start MenuProgramsDisk Management.lnk" "%USERPROFILE%Start MenuProgramsDevicesDevice Manager.lnk") do copy /y %%z "%ALLUSERSPROFILE%Start MenuProgramsAdministrative Tools"

(echo @echo off&echo set HBCD=%HBCD%&echo :s&echo setx HBCD %HBCD% -m&echo if not %%1!==! start /D%HBCD%HBCDPrograms %%*&echo If /i Not Exist "%HBCD%HBCDHBCDMenu.exe" For %%%%I IN ^(C D E F G H I J K L M N O P Q R S T U V W X Y Z^) DO ^(If /i Exist "%%%%I:HBCDHBCDMenu.exe" set HBCD=%%%%I:^&goto s^))>%SystemRoot%System32HBCDPX.cmd

start "" /MIN cmd.exe /c Startup2.cmd

:z

del %SystemRoot%System32nt*krnl*.exe

del %SystemDrive%boot.sdi

del /a %SystemDrive%$wimdesc[/i]

[i]

Change code file prep (startup2.cmd): open it with notepad
Delete all, add this code

@echo off

title Startup

call HBCDPX

mkdir "%CommonProgramFiles%" "%USERPROFILE%My DocumentsMy Pictures"

nircmd shortcut 7zfm.exe "~$folder.desktop$" "File Manager"

copy /y %SystemRoot%System32icmp.dll %SystemRoot%System32dsound.dll

copy /y %SystemRoot%System32winspool.exe %SystemRoot%System32grpconv.exe>%SystemRoot%System32wfwnet.drv

nircmd shortcut regedit.exe "~$folder.programs$" "Registry Editor"

nircmd shortcut notepad.exe "~$folder.programs$" "Notepad"

nircmd shortcut sol.exe "~$folder.programs$Games" "Solitaire"

nircmd shortcut fiverow.exe "~$folder.programs$Games" "Five in a Row"

nircmd shortcut imdisk.cpl "~$folder.programs$" "RamDrive Config" "" shell32.dll "13"

nircmd shortcut "%SystemRoot%i_view32.exe" "~$folder.programs$" "IrfanView Image Editor"

nircmd shortcut Shutdown.exe "~$folder.programs$" "Shutdown Timer" "/i"

nircmd shortcut nircmd.exe "~$folder.programs$" "Restart Explorer" "killprocess explorer.exe" "%SystemRoot%explorer.exe" "101"

nircmd shortcut explorer.exe "~$folder.desktop$" "Windows Explorer" "/e," "%SystemRoot%explorer.exe" "101"

nircmd shortcut nircmd.exe "~$folder.desktop$" "1024x768" "setdisplay 1024 768 32" "%SystemRoot%System32shell32.dll" "181"

nircmd shortcut cmd.exe "~$folder.desktop$" "Temp Folder Cleanup" "/c rmdir /s /q %%Temp%%&mkdir %%Temp%%" shell32.dll 191

nircmd shortcut SetTempDrive.cmd "~$folder.desktop$" "Set Temp Drive" "" "xpsp2res.dll" "800"

if exist %HBCD%HBCDXPDriversnul penetwork /drvcopy %HBCD%HBCDXPDrivers %SystemRoot% /allclass

nircmd shortcut hiderun.exe "~$folder.desktop$" "Internet" "opera.cmd" shell32.dll 512

nircmd shortcut cmd.exe "~$folder.desktop$" "Wireless Setup" "/c wireless.cmd" xpsp2res.dll 2026

nircmd shortcut hbcd.cmd "~$folder.desktop$" "Call Hiren ISO" "" shell32.dll "21"

nircmd shortcut penetwork.exe "~$folder.desktop$" "Network Setup"

for %%z in (internet wireless network File windows) do copy /y "%USERPROFILE%Desktop%%z*.lnk" "%USERPROFILE%Start MenuPrograms"

if exist %HBCD%HBCDProgramsFilesERD.7z nircmd shortcut "%HBCD%HBCDProgramsERDComputerManagement.cmd" "~$folder.programs$ERD Commander" "Computer Management" "" "%SystemRoot%System32devmgr.dll" "201"&nircmd shortcut "%HBCD%HBCDProgramsERDExplorer.cmd" "~$folder.programs$ERD Commander" "Explorer" "" "%SystemRoot%explorer.exe" "101"

nircmd shortcut 24hrLimit.cmd "~$folder.programs$" "Remove 24 Hour Limit of Mini Xp" "" shell32.dll "21"

nircmd sysrefresh environment

nircmd shellrefresh

for %%x in (Open Save) do (echo [%%x]&echo %%xDir=%USERPROFILE%Desktop)>>%SystemRoot%i_view32.ini

REG ADD HKLMSystemSetup /v SystemSetupInProgress /t REG_DWORD /d 0 /f

for %%x in (C D E F G H I J K) do fltmc attach AccessGainDriver %%x:>nul

for %%x in (7-zip teracopy msvbvm60 msi) do regsvr32 /s %%x.dll

msiexec /regserver

hiderun net.exe start msiserver

start "" /MIN /D"%HBCD%HBCDXP" XpCustomize.cmd i

nircmd shortcut SetPageFile.exe "~$folder.programs$" "Set PageFile (For Low RAM)" "" shell32.dll "154"

start nircmd cmdwait 5000 shortcut taskmgr.exe "~$folder.programs$" "Task Manager" "" "" "" "" "" "ctrl+alt+del"

start keybtray.exe

hiderun net.exe start spooler

del %SystemRoot%System32Startup*.cmd&call HBCDPX

Change code RestartShell.cmd to

set ramsize=30

set rammax=300

for /f %%i in ('FreeRam.exe') do set /a ramsize=%%i*%ramsize%/100

if %ramsize% gtr %rammax% set size=%rammax%

imdisk.exe -a -t vm -m B: -s %ramsize%M -p "/fs:NTFS /q /y /v:RamDrive /c"

set ramsize=&set rammax=

sc create dummy type= kernel start= boot binpath= "system32driversdummy.sys"

sc start dummy

md B:Temp

set Temp=B:Temp

setx Temp B:Temp

showdrive

start /min /wait cmd.exe /c Startup.cmd

call HBCDPX.cmd

:r

start /wait %1

for %%x in (keybtray automountdrives hbcdmenu) do nircmd closeprocess %%x.exe

hiderun nircmd cmdwait 5000 exec min keybtray.exe

hiderun nircmd cmdwait 5000 sysrefresh environment

goto r

Create new file HBCDP.cmd and place it into E:XPI386System32
With code

@set HBCD=Y:

@setx HBCD Y: -m

@if not %1!==! start /DY:HBCDPrograms %*

Create new file hbcd.cmd and place it into E:XPI386System32
With code

@echo off

set HBCD=HBCD

:a

set HBCD=HBCD

For %%I IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (If /i Exist "%%I:Hiren15.iso" set HBCD=%%I:&goto s)

Exit

:s

imdisk -a -f %HBCD%Hiren15.iso -m Y:

set HBCD=Y:

Start %HBCD%HBCDHBCDMenu.exe

exit

Change code opera.cmd with new code:

@echo off

7z x Y:HBCDXPXpDrvLAN.7z -y -o"%SystemRoot%"

if exist %TEMP%PENMDebug.txt goto s

reg add HKLMSoftwarePENetwork /v CloseAfterStartnet /d 1 /f

penetwork

nircmd waitprocess penetwork.exe

reg delete HKLMSoftwarePENetwork /v CloseAfterStartnet /f

:s

if exist B:TempHBCDOperaOpera.exe start /DB:TempHBCDOpera Opera.exe %1

if not exist B:TempHBCDOperaOpera.exe start /D"Y:HBCDPrograms" OperaWebBrowser.cmd %*

-Using Gimagex capture file wim, with information like Method 1
-Create file ISO: Like Method 1. But you can using file Minixp.iso (create in method 1), replace file xp.wim (old – create in method 1) with xp.wim (new – create in method 2) and save as file name xp.iso (53Mb)
-Prepare file ISO like method 1, must name hiren15.iso (for this tutorial) but can change file name and path (like method 1)
Note: with method 2
-You can unplug USB after logon to minixp
-For use apps on minixp, need run Call Hiren ISO. After extract apps, you can unmount hiren15.iso and unplug USB
Now: You can copy files to USB (hiren15.iso; xp.iso, minxp.iso, dos.ima, dos.iso) or HDD

Xem thêm:   10 Free Proxy Servers for Anonymous Web Browsing

Xem thêm :  Where to Sell CPS Coin? (Coinpayments Coin)

Note:
-Using minixp.iso or xp.iso
-Using dos.ima or dos.iso
-Using code map / or map –mem /
Code menu.lst

title Start MiniXP (Using Hiren15.iso for startup)

find --set-root --ignore-floppies --ignore-cd /Minixp.iso

map /Minixp.iso (0xff)

map --hook

chainloader (0xff)/HBCD/XP/XP.BIN

title Start MiniXP (Do not use Hiren15.iso for startup)

find --set-root --ignore-floppies --ignore-cd /xp.iso

map /xp.iso (0xff)

map --hook

chainloader (0xff)/HBCD/XP/XP.BIN

title Hirens BootCD 15.1 for DOS (ISO)

find --set-root /dos.iso

map /dos.iso (0xff)

map --hook

root (0xff)

chainloader (0xff)

title Hirens BootCD 15.1 for DOS (IMA)

find --set-root /dos.ima

map --mem /dos.ima (fd0)

map --hook

chainloader (fd0)+1

rootnoverify (fd0)

map --floppies=1

I think:
-For DOS: 50MB very small and easy for boot iso or ima
-For Windows Mini XP: 45Mb or 53Mb very small (if one hiren 15 iso like 500mb)
-For applications working on MiniXP: can not boot and do not need add it to Minixp ISO or Dos ISO.
-WinImage, UltraISO: using trial version

I make some clips for this tutorial, you can view it. I test it with VMware, boot with grub4dos and all file place into HDD of VMware

http://www.youtube.com/watch?v=59VamzvXQRs
http://www.youtube.com/watch?v=-HXg89J3BPY

Dos

http://www.youtube.com/watch?v=p3RUjb4XRqo

http://www.youtube.com/watch?v=59VamzvXQRs

MiniXP (Using Hiren15.iso for startup)

http://www.youtube.com/watch?v=-HXg89J3BPY

MiniXP (Do not use Hiren15.iso for startup)

http://www.youtube.com/watch?v=aih1AgAz_qk

All picture, code for tutorial

http://www.mediafire.com/download.php?8nolu85qitdrqja

http://www.mediafire.com/?y11sowe238n42zw

Hi all!!Some people really need using Hiren boot CD 15.1 ISO on USB or HDD, but with one file ISO (500Mb) it too large and get some bug. I make this tutorial for using hiren iso on USB or HDD with grub4dos.Hiren boot cd have some apps:-for dos-for mini windows xp-linux: can use parted magic with only iso file.It has two methods.-Open Open file hiren boot cd 15 iso with UltraISO, double click to open HBCD folder.-Delete some folders:+Folder: Programs, XP, pmagic (HBCDBootPmagic)-Save as file name Dos.iso-Extract file dos.gz (HBCDDosdos.gz)-Using 7zip extract file dos.gz, get file dos.img-Using WinImage open file dos.img+Image – boot sector properties, click “Save” with any file name (ex. Dos.bin)-Using 7zip extract file dos.img in folder (Ex: Hiren)-Open folder Hiren (you make), create a folder name HBCD.-Using 7zip extract 2 folders: Boot and Dos into folder HBCD-Open Boot folder (HirenHBCDBoot), delete pmagic folder (you can boot pmagic from ISO file, do not need it), keyboard.bat, pmagic.lst-Now you get Hiren folder with size 52MB.-Using WinImage create new disk image with size 53MB+File – New file – Format Selection – Imported – Select custom image format+Get dialog: Edit FAT image size, Change image size (Total number of sectors) with 109456+Click OK, save file with any name (dos.ima)-Open Hiren folder, drag and drop all file and folder into new file create with WinImage. Select Yes for dialog-Image – boot sector properties – open – Select file boot sector you saved (dos.bin) – click open – Click OK – Click Save image.I have two methods-Using 7zip extract file XP.wim into folder (call XP, I place it partition E, path E:XP)-Open file startup.cmd (E:XPI386System32startup.cmd) with notepad. Change some informationSave file.+Soure: Folder path E:XP (when extract file xp.wim)+Destination: any where (but file name must be XP.WIM)+Compression: maximium+Options: check BootSelect createOpen Open file hiren boot cd 15 iso with UltraISO, delete all file and folder except 3 files:+Replace filewith file+Save as file name45MB)+File ISO must name hiren15.iso, place into root directory (for this tutorial). If you want place it into another folder, please chang code for startup.cmd with path to find file iso. If you want change name file iso (hiren15.iso) to another name, please change name in startup.cmdChange path, and name: place file iso into folder name ISO, change file name to hbcd.iso. Need change code”%%I:Hiren15.iso” to “%%I:ISOhbcd.iso”+Open file hiren boot cd 15 iso with UltraISO, delete all file and folder, except Folder Programs, XP (only keep XpCustomize.cmd, XpDrvLAN.7z, XpDrvWLAN.7z), file HBCDMenu.cmd.with nameYou can not unplug USB when using Minixp-Extract 7z.dll, 7z.exe, EasyUHA.exe, uharc.exe (HBCDPrograms) into E:XPI386System32 -Extract 7zip.7z, dll.7z, teracopy.7z, Notepad.7z, XpFiles.7z (HBCDProgramsFiles) (open it and extract) into E:XPI386System32Rename Notepad++.exe to Notepad.exe-Extract IrfanView.7z (HBCDProgramsFiles) into E:XPI386-Extract processxp.exe (HBCDPrograms) into E:XPI386System32, rename taskmgr.exe-Open folder(E:XP), create new folder nameand open this folder, create 3 folder name. Open folderand create new folder name+XpCustomize.cmd (HBCDXP) into E:XPHBCDXP+ Keyboard.bat (HBCDBoot) into E:XPHBCDBoot+ HBCDMenu.csv,, AutoMountDrives.cmd into E:XPHBCDPrograms+ AutoMountDrives.7z (HBCDProgramsFiles) into E:XPHBCDProgramsFiles+ HBCDMenu.exe into E:XPHBCD(startup2.cmd): open it with notepadDelete all, add this codetonew fileand place it into E:XPI386System32With codenew fileand place it into E:XPI386System32With codewith information like Method 1Like Method 1. But you can using file Minixp.iso (create in method 1), replace file xp.wim (old – create in method 1) with xp.wim (new – create in method 2) and save as file name xp.iso (53Mb)like method 1, must name hiren15.iso (for this tutorial) but can change file name and path (like method 1)with method 2-You can unplug USB after logon to minixp-For use apps on minixp, need runAfter extract apps, you can unmount hiren15.iso and unplug USB(hiren15.iso; xp.iso, minxp.iso, dos.ima, dos.iso)-Using minixp.iso or xp.iso-Using dos.ima or dos.iso-Using code map / or map –mem /Code menu.lst-For DOS: 50MB very small and easy for boot iso or ima-For Windows Mini XP: 45Mb or 53Mb very small (if one hiren 15 iso like 500mb)-For applications working on MiniXP: can not boot and do not need add it to Minixp ISO or Dos ISO.-WinImage, UltraISO: using trial versionhttp://www.youtube.com/watch?v=59VamzvXQRshttp://www.youtube.com/watch?v=-HXg89J3BPY

Xem thêm:   Cách cài font chữ cho win 10, photoshop, autocad khi bị lỗi font

Xem thêm :  [Top 10] Dota 2 Best Offlane Heroes for Kills

http://reboot.pro/public/style_images/metro/meta_image.pnghttp://reboot.pro/index.php?showtopic=16528

Xem thêm bài viết thuộc chuyên mục: Thủ Thuật Máy Tính

Xem thêm bài viết thuộc chuyên mục: Kiến Thức Chung

Related Articles

Back to top button