Risultati da 1 a 1 di 1

Discussione: Free Ramdisk for Windows Vista, XP, 2000 and 2003 Server

  1. #1

    Lightbulb Free Ramdisk for Windows Vista, XP, 2000 and 2003 Server

    Source: http://www.mydigitallife.info/2007/05/27/free-ramdisk-for-windows-vista-xp-2000-and-2003-server/

    Ramdisk or RAM-Disk is a virtual hard drive based on software abstraction that treats a segment of random access memory (RAM) as secondary storage which is similar to hard disks, except with advantage that ramdisk is a lot faster and access time is greatly improved. As there is no mechanical moving parts involved, there won’t be question of wear and tear too. Ramdisk has one obvious downside, that it’s volatile and not solid state. Contents in Ramdisk is stored in computer RAM, which will be lost when the power of computer is switched off.

    With these benefits and limit, ramdisk can be used to store frequently accessed yet less important temporary data to speed up the system performance, such as swap space for virtual memory, temporary files used for programs such as Internet Explorer, BT client, P2P eMule, compression utility, translation software and etc, frequently accessed data from a database or used to hold uncompressed programs for short periods. From privacy point of view, Ramdisk is also a working drive for decrypted version of encrypted document, as all trace of the data will be wiped and deleted once power off.

    There are plenty of Ramdisk driver and software available, such as RamDisk9xME, RAMDiskXP, RAMDiskSE and RAMDiskVE from Cenatek, RamDisk and RamDisk Plus from SuperSpeed, RAMDisk Enterprise Lite and Full version plus 64 MB limited free RAMDiskbased on Microsoft Ramdisk below from QSoft, and Ramdisk.sys driver for Windows 2000 from Microsoft published under KB257405. However, most of these Ramdisk drivers either is not free, or limit in its functionality especially on the size on RAM-disk. Some not even support Windows Vista.

    The following freeware RRamdisk.sys, originally written by Gavotte based on Microsoft’s Ramdisk.sys, and later being added a GUI interface by lyh728 is not only free to use, it also stable, doesn’t have size limitation, supports popular FAT16,FAT32, NTFS filesystems, and supports Windows 2000 operating system and above including Vista.

    Download Gavotte Ramdisk with GUI (ramdisk.zip).
    Alternative download link.

    To use Ramdisk, the most important requirement is that the system has a lot of memory, much a lot than the size of Ramdisk that you intends to create. It works on system with minimum 256 MB RAM, where you’re recommended not to set Ramdisk with size more than 64 MB.
    Installation and setup of Ramdisk is pretty simple. Unpack the zip archive to a folder, and run ramdisk.exe. In Windows Vista, you need to right click on it and select “Run as Administrator”, if not you will get a Failed error message. Click on Install Ramdisk to install RRamdisk.sys driver. Answer Yes or Allow if prompted with driver not signed with valid digital signature or can’t verify the publisher of this driver software warning message. Once Ramdisk is installed, all buttons that previously grayed out inactive are now activated.
    Now you can set the disk size in Bytes, configure the drive letter for the Ramdisk. You can also specify which media type is the drive - RAM Drive, Fixed Media or Removable Media (for simulating a floppy drive). The default choice, Fixed Media indicates that the Ramdisk is simulating a hard disk drive should work in most case. Click on OK when done with configuration. Note that if you modify the settings of the Ramdisk during the time when system process is accessing the Ramdisk, you will require to reboot the system. Caveat is that, if you put IE Temporary Internet files into the Ramdisk, you will always need to restart computer even though you’re not running IE.

    A additional drive, the Ramdisk with default drive letter R: (assuming you’re not changing it) will be created, and immediately accessible for usage.

    Other buttons in the Ramdisk GUI are pretty obvious in usage. Use “Remove Ramdisk” to uninstall Ramdisk, or more specifically RRamdisk.sys driver from the system. Save Image… and Load Image… allows users to save or open an image file for the whole contents of Ramdisk, useful if you want to store data in Ramdisk in unaltered state to be open up later.

    Ramdisk.exe accepts a image file as its argument so that the image file can be loaded automatically into the Ramdisk from command line. Potential usage include adding of “ramdisk imgfilename” to system boot up script such as autoexec.bat to load the data into memory disk.

    There are more customization and other potential usage for Gavotte Ramdisk not included in the GUI. However, you need to manually edit the registry. These additional functions are maintained by addswap.exe and rdutil.exe which explained pretty well by the Readme (included in Page 2). In most case, you won’t need to come to this extent.

    1. Parameters registry is HKLM\System\CurrentControlSet\Services\RRamdisk\Pa rameters\
      Why RRamdisk? Because XP SP1 contain a Ramdisk driver for XP Embeded.
    2. Parameter: DiskSizeM, DiskSizeK Your desired disk size, the unit is M bytes or K bytes. The DiskSizeK has higher priority.
    3. Parameter: MediaType The reported drive type:
      1 — RAM Drive
      2 — Fixed Media (default)
      3 — Removable Media
      4 — Floppy Diskette
    4. Parameter: DriveLetter Name say it is, default is R:
    5. Parameter: SectorsPerCluster Your desired cluster size, zero for driver pickup:
      <= 2M FAT12, cluster=512
      <= 32M FAT16, cluster=512
      <= 64M FAT16, cluster=1k
      <= 128M FAT16, cluster=2k
      <= 256M FAT16, cluster=4k
      <= 512M FAT32, cluster=2k
      <= 16G FAT32, cluster=4k
      and more...
      You can specify smaller cluster size, force pre-format as FAT32.
    6. Parameter: Image Maintained by rdutil utlilty, mainly for preload NTFS image. Eg:
      1. Load ramdisk, don’t write anything.
      2. Format the ramdisk FORMAT /FS:NTFS /Q /V:RamDisk /A:512 R:
      3. Adjust logfile to minimum size CHKDSK /L:2048 R:
      4. Reset access rights CACLS R:\ /G: BUILTIN\Adminstrators:F
      5. Create necessary structure MKDIR R:\TEMP
      6. Pack the disk image and save to registry rdutil R: registry
      Notes:
      1. You should leave RamDisk as clean as possible before packing, the max packed image size is 64K.
      2. The disk image only valid to same RamDisk size, you should re-create disk image when size changed.
      3. The driver internal formater will disable if this registry present, corrupt/size-mismatch value leave an un-formated disk.
      rdutil Utlility Usage:
      1. Backup registry image rdutil save filename
      2. Restore registry image rdutil load filename
      3. Report packed image size rdutil R:
        rdutil registry
        rdutil unpacked_file
        Second command reading DriveLetter from registry, while the third is packing an unpacked image file.
      4. Packing image & save to registry rdutil R: registry
      5. Packing image & save to file rdutil R: packed_file
      6. Unpacking image rdutil unpack packed_file unpacked_file
      7. Link NTFS junction to Ramdisk rdutil link temp \
    7. You can re-format RamDisk except RAMDrive media type. Eg: FixedMedia type:
      FORMAT /FS:NTFS /FORCE /Q /V:RamDisk /A:512 R:
      RemovableMedia type:
      ECHO Y | FORMAT /FS:NTFS /FORCE /Q /V:RamDisk /A:512 R:
      You can place your format command to startup script. I don’t recommend re-format to FAT, the pre-formated RamDisk is more efficient than other format utililty.
    8. Pagefile support - You can set pagefile to FixMedia type disk w/ pre-formated system. If you need other MediaType or re-format, use the addswap.exe utility: addswap r:\pagefile.sys 16 32
      Create pagefile r:\pagefile.sys with min=16M max=32M.
    9. TEMP directory - You should set TEMP/TMP directory to TEMP sub-directory, don’t use the root directory.
    10. NTFS junction point to RAMDrive - You can’t create NTFS junction point to RAMDrive media type, Fixed & Removable Media type should work.
    11. Connectix VirtualPC compatibility - Someone report problem with VirtualPC+physical volume/disk. Please set MediaType to RAMDrive/Removable.
    12. Mountpoint without DriveLetter Clear DriveLetter registry value will not create Drive Letter for Ramdisk.
      Attn. Don’t delete the DriveLetter registry, which fall to default R:. You can setup mountpoint/junction linking to this unnamed Ramdisk. Eg:
      rdutil link C:\ramdisk
      link C:\ramdisk to root of Ramdisk
      rdutil link C:\TEMP TEMP
      link C:\TEMP to \TEMP at Ramdisk
      rmdir C:\ramdisk
      rmdir can remove the link without clear target content
      NoDriveLetter configuration isn’t recommended, because most Antivirus software cannot realtime scan Volume w/o Drive Letter.
    File Allegati File Allegati

Discussioni Simili

  1. Risposte: 10
    Ultimo Messaggio: 07-07-2010, 17:56
  2. Risposte: 0
    Ultimo Messaggio: 24-03-2009, 13:48
  3. VB6 & Windows VISTA
    Di Aragon nel forum Visual Basic
    Risposte: 2
    Ultimo Messaggio: 17-03-2007, 15:27
  4. PD: Lock the Windows 2000 or XP desktop
    Di Admin nel forum Assembly
    Risposte: 0
    Ultimo Messaggio: 29-07-2004, 21:14

Tag per Questa Discussione

Segnalibri

Permessi di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  •