Startup.cmd
---------------------------------------------------------------------
imdisk -a -t vm -f D:\CustomTools\RAMDISK\Ramdisk.img -m R:
---------------------------------------------------------------------
Shutdown.cmd
---------------------------------------------------------------------
D:\CustomTools\RAMDISK\rawcopy.exe -mld \\.\R: D:\CustomTools\RAMDISK\RamDisk.img
imdisk -D -m R:
---------------------------------------------------------------------
gpedit.msc
[本機原則]→[電腦設定]→[Windows 設定]→[指令碼 - (啟動/關機)]


X.I want a RAM disk that uses memory above 4 GB in 32 bit Windows. Can ImDisk do that?

Well, not natively. If your 32 bit Windows version supports memory access above 4 GB through address window extension (AWE) and with physical address extension (PAE) turned on, it could be done through an additional memory allocation driver called awealloc.

Modify awealloc to auto-load at system startup:
sc config awealloc start= system
This will take effect at next reboot. Meanwhile you can load it manually:
net start awealloc

Then, create the RAM disk (schedule this command with Windows Scheduler if you want it to happen automatically at system startup):
imdisk -a -f \\.\awealloc -s 400M -m R: -p "/fs:ntfs /q /y"

This will ask awealloc driver to allocate 400 MB and then create a RAM disk drive R: within that memory and format it with NTFS. The 400 MB will primarily be allocated from as high memory addresses as possible, but parts of it could be allocated at lower addresses if not enough memory is free or otherwise accessible at high ranges. Check Windows Event Log to see error messages during memory allocation.

http://www.mobile01.com/topicdetail.php?f=300&t=2058548&p=1

arrow
arrow
    文章標籤
    RAMDISK ImDisk WinXp memory
    全站熱搜

    abort 發表在 痞客邦 留言(0) 人氣()