How To Make a Windows XP RAM Disk Drive (for free)
Need to make Windows think part of your memory is a hard drive? Try making a RAMDrive (or RAM Disk some people call it). This will dedicate a section of your computer's memory to the temporary storage of folders and files. Why would you want to do such a thing? Accessing time for files on a RAM Drive are about 1,000 times quicker than a conventional drive. Also, if you have a situation where you're access the same files over and over again, a ram disk will help reduce wear and tear on your real hard drive. Of course the down side of all this is that files on a RAM Drive are gone when the computer is shut down (or crashes).I use a RAM Drive on my "Jason's Fishcam" system. One of my webcams is behind a proxy/firewall that I don't control. I order to get images from that camera, I FTP the image files to a server sitting outside the firewall and restream them from there. Since I didn't want my hard drive continuously writing and overwriting the same file, I save the image file onto the RAM Drive. Not only does this let my save the image over and over again without the hard drive, but it allows me to do it quite a bit faster as well.
There are some software packages out there that will configure a RAM Disk Drive automatically. If you need more bells and whistles, check those out. This method is free and allows a RAM Disk of up to 32MB.
1. Download ramdisk.inf and ramdisk.sys file and save them in the same folder (somewhere convenient).
2. Go to the Control Panel and click Add Hardware
3. Click Next and wait for the search to complete.
4. Choose "Yes, I have already connected the hardware" and click Next
5. Scroll to the very bottom and highlight "Add a new hardware device" and click Next
6. Choose "Install the hardware that I manually select from a list" and click Next
7. Wait for the search to complete and click Next
8. Highlight "Show All Devices" and click Next (warning: this part may take a few minutes)
9. Click Have Disk... (Important! Be sure not to click on anything else or scroll through the lists before you click Have Disk. Doing so will screw up this process.)
10. Click Browse and locate the folder you saved the ramdisk.inf file in, select ramdisk.inf and click Open
11. Click OK, then Next and Next again.
12. Click Continue Anyway if a warning pops up and then Finish
Now for the fun part!
13. Under the Start menu, click Run, type in regedit and click OK
14. Open the following: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ramdisk\Parameters
To set the size of the Ram Disk Drive, right click on DiskSize and choose Modify. Type in the new size under Value data. The maximum is 3,200,000 (in hexadecimal) which equals 32MB
15. If you need to, modify the DriveLetter enrty too. (the default is "Z")
16. Now navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Fastfat
change the value of Start from 4 to 1
17. Exit the Registry Editor and Reboot


15 Comments:
Thanks for the Ram Drive info. It works great and what's more, I also like fish!
By
Anonymous, at 10:25 PM
hey do you have the project files that go with your ramdisk.sys files i would like to see it as i have an interest in writing a file system interface driver and have found very little example code
By
fndxsoftwareatgmail, at 8:05 PM
32 MB... uuuuuh this is cooool.....
By
Anonymous, at 1:15 PM
Once I get to this step
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ramdisk\Parameters
There is no entry named Ramdisk on my computer. Anyone know why that would be?
By
Anonymous, at 3:27 PM
no Ramdisk in Registry
By
Anonymous, at 10:24 PM
This driver doesn't work anymore. Windows says device is not intended for this platform! :-(
By
sumod, at 2:01 AM
I must agree with SUMOD had the same problem...
By
Martin de Jong, at 9:08 AM
If this project is based on the Microsoft Windows 2000 sample code there is a warning on that page that it isn't safe for windows XP and may break the system restore feature. A shame really, it would be a really useful feature for MS to have built-in to XP/Vista.
By
Simon, at 8:08 AM
I have tried to use the ramdisk for Internet Explorer 6 cache. This makes sense on a laptop with slow hard drive. But I had to drop it again because I experienced problems when downloading large files. Maybe it would help to increase ramdisk size up to 200MB+?
By
Anonymous, at 8:37 AM
Based on your screenshot, wherein clearly displayed "Type: RAM Disk", that it is some people who call it a "RAM Drive".
"Disk" makes more sense, because a "drive" generally refers to a drive unit which is a complete unit incorporating platters, motors, spindles, heads, power and drive mechanisms, whereas a "disk" is the general term for the component of storage medium housed within a drive unit.
By
Anonymous, at 5:50 PM
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ramdisk\Parameters
there's no Ramdisk
By
Anonymous, at 3:39 PM
Same here... no ramdrive in registry.. :-(
I was really hoping to run FireFox on a ramdrive. I've got the standalone version of FireFox. If the 'test' would work ok, I wanted to automate it...
By
Aaargh, at 3:49 PM
Disable the system backup for this drive in XP and it should work...
There is a version for xp/2000/Vista that you can manage as any other device from Device manager without hacking the registry. Just google Qsoft Ramdisk and you should be able to find it.
By
Anonymous, at 11:46 AM
http://www.cenatek.com/
This sight has a working ramdisk program for WinXP.
By
Anonymous, at 12:30 AM
http://www.cenatek.com/
requires 'purchase' of said ramdisk!
Go elsewhere
By
Anonymous, at 6:53 PM
Post a Comment
Links to this post:
Create a Link
<< Home