rem setup environment C: cd \ md C:\CustomNRD cd C:\CustomNRD rem copy original NRD disc from dive D: rem !!! Update drive letter if original CD is not in drive D: !!! robocopy.exe D:\ C:\CustomNRD\NewNRD /mir attrib -r C:\CustomNRD\NewNRD\SOURCES\BOOT.WIM pause rem mount the WIM file md C:\CustomNRD\Mount imagex.exe /mountrw C:\CustomNRD\NewNRD\SOURCES\BOOT.WIM 1 C:\CustomNRD\Mount pause rem update the defs del /q C:\CustomNRD\Mount\Symantec_NSS\virusdef\*.* DefUpdate.exe /q /extract C:\CustomNRD\Mount\Symantec_NSS\virusdef del /q C:\CustomNRD\Mount\Symantec_NSS\virusdef\*.vxd pause rem add the network drivers, change the path to match your drivers rem !!! Update the path to the INF files of your drivers, and uncomment the next line !!! rem peimg.exe /inf=C:\CustomNRD\PROVISTA32_v13_1_2\PRO1000\Win32\*.inf C:\CustomNRD\Mount\Windows pause rem add the storage driver, change the path to match your drivers rem !!! Update the path to the INF files of your drivers, and uncomment the next line !!! rem peimg.exe /inf=C:\CustomNRD\f6flpy32_85\*.inf C:\CustomNRD\Mount\Windows pause rem unmount the WIM file imagex.exe /unmount /commit C:\CustomNRD\Mount pause rem create a NRD ISO file del /q C:\CustomNRD\NewNRD.iso oscdimg.exe -o -u1 -m -bC:\CustomNRD\NewNRD\BOOT\ETFSBOOT.COM -lNRD C:\CustomNRD\NewNRD C:\CustomNRD\NewNRD.iso pause