Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

March 27, 2001 12:00 AM

JSI Tip 3515. A great RAM disk and more.

Windows IT Pro
InstantDoc ID #74833
Rating: (0)


In tip 0020, I introduced Microsoft's RAMDISK driver for Windows NT 4.0.

Microsoft has released a Windows 2000 RAMDISK.

To install the driver:

01. Unzip RAMDISK.EXE to a temporary folder.

02. Start / Settings / Control Panel.

03. Double-click the Add/Remove Hardware applet.

04. Select Add/Troubleshoot a device.

05. Select Add a new device.

06. Select No, I want to select the hardware from a list.

07. Select Other devices.

08. Press Next.

09. Press Have Disk.

10. Browse to the folder (from step 01) that contains the Ramdisk.inf file.

11. The system will copy Ramdisk.sys to %Systemroot%\System32\Drivers and load the driver.

12. When Prompted to restart, reply NO.

13. Copy/paste the following entries into a RAMDISK.REG file:

NOTE: See The RAM disk enhanced.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ramdisk\Parameters]
"BreakOnEntry"=dword:00000000
"DebugLevel"=dword:00000000
"DebugComp"=dword:ffffffff
"DiskSize"=dword:01f00000
"DriveLetter"="R:"
"RootDirEntries"=dword:00000200
"SectorsPerCluster"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
"TEMP"="R:\\"
"TMP"="R:\\"

[HKEY_CURRENT_USER\Environment]
"TEMP"="R:\\"
"TMP"="R:\\"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Cache"="R:\\"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Cache"="R:\\"

[HKEY_USERS\.DEFAULT\Environment]
"TEMP"="R:\\"
"TMP"="R:\\"

[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Cache"="R:\\"

[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Cache"="R:\\"
14. Double-click the RAMDISK.REG file. The keys in the RAMDISK.REG file provide the following functionality:
Parameters                    -  Sets the RAMDISK to drive R: as a 30.9MB partition.
Session Manager\Environment   -  Sets the System TEMP and TMP environment variables to drive R:.
HKEY_CURRENT_USER\Environment -  Sets the current user TEMP and TMP environment variables to drive R:.
Both HKCU Shell Folders       -  Sets the current user Temporary Internet Files to drive R:. 
HKU\.DEFAULT keys             -  Sets the default user TEMP, TMP and Temporary Internet Files to drive R:.
15. Shutdown and restart Windows 2000.




Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.