Subscribe to Windows IT Pro
June 24, 2004 12:00 AM

JSI Tip 8186. The RAM disk enhanced.

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


In tip 3515, we configured a RAM disk.

Thanks to Warren C. E. Austin, here is a new RAMdisk.reg file that provide the ability to select an appropriate Icon.

Warren has chosen the old MS-DOS "IC" EEPROM icon, which was the default when using a RAM drive under W9x.

The new RAMdisk.reg file contains:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class{78A1C341-4539-11D3-B88D-00C04FAD5171}]
@="RAMDrive"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class{78A1C341-4539-11D3-B88D-00C04FAD5171}\0000]
"DriverDesc"="RAMDrive Driver"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Class{78A1C341-4539-11D3-B88D-00C04FAD5171}]
@="RAMDisk"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Class{78A1C341-4539-11D3-B88D-00C04FAD5171}\0000]
"DriverDesc"="RAMDrive Driver"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ramdisk\Parameters]
"BreakOnEntry"=dword:00000000
"DebugLevel"=dword:00000000
"DebugComp"=dword:ffffffff
"DiskSize"=dword:01f40000
"DriveLetter"="R:"
"RootDirEntries"=dword:0x00000200
"SectorsPerCluster"=dword:00000004

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
"TEMP"="%ALLUSERSPROFILE%\\Temporary Files"
"TMP"="%ALLUSERSPROFILE%\\Temporary Files"

[HKEY_CURRENT_USER\Environment]
"TEMP"="%ALLUSERSPROFILE%\\Temporary Files"
"TMP"="%ALLUSERSPROFILE%\\Temporary Files"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\R]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\R\DefaultIcon]
@="%SystemRoot%\\system32\\SHELL32.dll,12"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\R\DefaultLabel]
@="MS-RAMDrive"

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

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

[HKEY_USERS\.DEFAULT\Environment]
"TEMP"="%ALLUSERSPROFILE%\\Temporary Files"
"TMP"="%ALLUSERSPROFILE%\\Temporary Files"

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

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



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

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