Jump to content

Jaque

Member
  • Posts

    7
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Netherlands

About Jaque

Jaque's Achievements

0

Reputation

  1. Maybe this plugin can help you in the right direction... http://www.911cd.net/forums//index.php?sho...rowse&st=14
  2. I think you just need to do actions below: 1) Load the local system hive reg load HKLM\X_System c:\Windows\System32\config\system 2) Read registry key HKLM\X_System\ControlSet001\Control\Class\{4D36E966-E325-11CE-BFC1-08002BE10318}\0000\DriverDesc 3) Unload the local system hive reg unload HKLM\X_System Good luck! Jaque
  3. I noticed there is a small "bug" in Windows PE 2005. I had the same problem when using both the /WMI and /PNP with mkimg.cmd. I noticed oemmint.exe in mkimg.cmd failed to copy one file which results in an error (ERRORLEVEL 1), because of this the "Copy the WMI repositery" is skipped. Change the following code in mkimg.cmd REM REM Copy the WMI repository REM if NOT ERRORLEVEL 1 ( if /i "%WMISUPPORT%"=="yes" ( To REM REM Copy the WMI repository REM SET ERRORLEVEL=0 if NOT ERRORLEVEL 1 ( if /i "%WMISUPPORT%"=="yes" (
  4. FYI I just copied the original manual, but if I am not mistaken this is the new correct link http://users.compaqnet.be/cn181612/RAMDisk/ramdiskfree.htm But remember you better use the ramdrv.sys driver from Bart PE v3.0.32/v3.1.3 or the updated Microsoft ramdrv.sys from the WSSRA deployment kit.
  5. How to add a Ramdrive (Ramdisk) to Windows PE (WinPE) Written by Johan Arwidmark - jaw@lutteman.se Microsoft MVP - Setup / Deployment If you find any errors or have suggestions for improvement, please send me an email and I will update the article. / Johan Step by step procedure 1. Download the free version of Christiaan Ghijselinck's RAMDisk (almost identical with the Microsoft sample driver, KB 257405) from http://www.8ung.at/ramdisk/RAMDisk/RAMDisk_Free.htm 2. Copy the WINPE folder from the Windows PE CDROM to C:\ 3. Create a textfile named WINPE_RAMDISK.INF in the C:\WINPE folder using the following info. [Version] Signature="$WINDOWS NT$" [AddReg] ; ; Begin - Ramdisk [ QSoft ] Free Version ; ; DriveLetter is set to Z: ; ; Ramdisk size, (DiskSize value) ; ; 4 MB 0x00400000 ; 8 MB 0x00800000 ; 16 MB: 0x01000000 ; 32 MB: 0x02000000 (maximum in free version) HKLM,"ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}","Class",0000000000,"RamDisk" HKLM,"ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}","",0000000000,"RAMDisk" HKLM,"ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001","ProviderName",0000000000,"QSoft" HKLM,"ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001","MatchingDeviceId",0000000000,"ramdriv" HKLM,"ControlSet001\Control\Class\{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001","DriverDesc",0000000000,"Ramdisk [ QSoft ]" HKLM,"ControlSet001\Enum\Root\UNKNOWN\9999","ClassGUID",0000000000,"{FFA1C341-4539-11D3-B88D-00C04FAD5172}" HKLM,"ControlSet001\Enum\Root\UNKNOWN\9999","Class",0000000000,"RamDisk" HKLM,"ControlSet001\Enum\Root\UNKNOWN\9999","ConfigFlags",0x00010001,0x4 HKLM,"ControlSet001\Enum\Root\UNKNOWN\9999","Mfg",0000000000,"QSoft" HKLM,"ControlSet001\Enum\Root\UNKNOWN\9999","HardwareID",0000000000,"ramdriv" HKLM,"ControlSet001\Enum\Root\UNKNOWN\9999","Service",0000000000,"Ramdriv" HKLM,"ControlSet001\Enum\Root\UNKNOWN\9999","DeviceDesc",0000000000,"Ramdisk [ QSoft ]" HKLM,"ControlSet001\Enum\Root\UNKNOWN\9999","Capabilities",0x00000000 HKLM,"ControlSet001\Enum\Root\UNKNOWN\9999","Driver",0000000000,"{FFA1C341-4539-11D3-B88D-00C04FAD5172}\0001" HKLM,"ControlSet001\Enum\Root\UNKNOWN\9999\Control","DisableCount",0x00010001,0x0 HKLM,"ControlSet001\Enum\Root\UNKNOWN\9999\Control",0000000000,"ActiveService","Ramdriv" HKLM,"ControlSet001\Services\Ramdriv","Type",0x00010001,0x1 HKLM,"ControlSet001\Services\Ramdriv","Start",0x00010001,0x3 HKLM,"ControlSet001\Services\Ramdriv","ErrorControl",0x00010001,0x1 HKLM,"ControlSet001\Services\Ramdriv","DisplayName",0000000000,"Ramdisk [ QSoft ]" HKLM,"ControlSet001\Services\Ramdriv","ImagePath",0x00020000,"system32\drivers\ramdrv.sys" HKLM,"ControlSet001\Services\Ramdriv\Parameters","BreakOnEntry",0x00010001,0x0 HKLM,"ControlSet001\Services\Ramdriv\Parameters","DebugLevel",0x00010001,0x5 HKLM,"ControlSet001\Services\Ramdriv\Parameters","DebugComp",0x00010001,0xffffffff HKLM,"ControlSet001\Services\Ramdriv\Parameters","DiskSize",0x00010001,0x02000000 HKLM,"ControlSet001\Services\Ramdriv\Parameters","DriveLetter",0000000000,"Z:" HKLM,"ControlSet001\Services\Ramdriv\Parameters","RootDirEntries",0x00010001,0x200 HKLM,"ControlSet001\Services\Ramdriv\Parameters","SectorsPerCluster",0x00010001,0x2 HKLM,"ControlSet001\Services\Ramdriv\Enum","0",0000000000,"Root\UNKNOWN\9999" HKLM,"ControlSet001\Services\Ramdriv\Enum","Count",0x00010001,0x1 HKLM,"ControlSet001\Services\Ramdriv\Enum","NextInstance",0x00010001,0x1 ; ; End - Ramdisk [ QSoft ] Free Version ; 4. Modify CONFIG.INF using the following info Change setupreg.hiv = .\winpesys.inf,AddReg - to - setupreg.hiv = .\winpesys.inf,AddReg,.\WINPE_RAMDISK.INF,AddReg 5. Insert the Windows XP SP2 CD-ROM (F: in this example). Start a command prompt and type this. cd c:\winpe mkimg.cmd F: c:\mywinpe 6. Extract the downloaded Ramdisk (installfiles.zip). Rename RAMDisk.inf to ramdrv.inf and rename RAMDisk.sys to ramdrv.sys 7. Edit ramdrv.inf, do a search and replace of ramdisk.sys with ramdrv.sys 8. Copy the ramdrv.inf file to c:\mywinpe\i386\inf 9. Copy the ramdrv.sys file to c:\mywinpe\i386\system32\drivers 10. Create a Bootable CD by starting a command prompt and type this. cd c:\winpe oscdimg -h -n -betfsboot.com c:\mywinpe c:\mywinpe.iso 11. Burn the .iso to a CD using Nero or other cdr burning software Reference FILE: Ramdisk.sys Sample Driver for Windows 2000 http://support.microsoft.com/?id=257405 Christiaan Ghijselinck's RAMDisk http://www.8ung.at/ramdisk/RAMDisk/RAMDisk_Free.htm
  6. @n00dles Thanks, I just tested the updated Microsoft ramdrv.sys from the WSSRA deployment kit and it works great.
  7. Hi, I just did some testing with Windows PE 2005 and I had the same problem when using the /WMI and /PNP parameter. When I only used the /WMI parameter everything went OK. On my system one file call amdk8.sys could not be copied during the call of oemmint.exe in the file mkimg.cmd resulting in an ERRORLEVEL 1. Because of this ERRORLEVEL 1 the part "Copy the WMI repository" was skipped. This made WMI fail!!! I now changed the lines below in the file mkimg.cmd if NOT ERRORLEVEL 1 ( if /i "%WMISUPPORT%"=="yes" ( to SET ERRORLEVEL=0 if NOT ERRORLEVEL 1 ( if /i "%WMISUPPORT%"=="yes" ( I think it might be the same with Windows PE 2004.
×
×
  • Create New...