消失的1g給RamDisk + 關機自動備份(沒gpedit.msc) - Windows

Table of Contents

此為大略版本


for 32-bit Windows:

ref: http://www.jensscheffler.de/using-gavotte-ramdisk-in-windows-7

1. 開啟PAE

*註: 32bit XP請參考這網頁的Q&A http://slv922.pixnet.net/blog/post/13316825

以下for 32bit Vista&7

以系統管理員權限執行cmd, 輸入:

BCDEDIT /SET PAE ForceEnable

2. 重開機

3. 執行gavotte ramdisk裡面的ram4g.reg


for all windows:

4. 使用gavotte建造ramdisk, 假設放在R:\

*註: 如果本來32-bit Windows少顯示1g, 那麼上述步驟完成後

把R:\設成小於等於1GB, 都不會影響系統可用的總記憶體

5. 開始進行關機前備份, 開機時回存的動作(以下6-7)

ref: http://pcsoft00.blogspot.com/2009/02/backup-ramdisk.html

6. 首先要寫兩個批次檔(.bat), 裡頭是dos的複製指令(詳見網頁)


for all windows other than Home Edition:

7. 執行gpedit.msc, 裡面可以設定開機和關機要自動執行的工作(詳見網頁)

設成那兩個批次檔。

結束


for all windows including Home Edition

很可能無用

ref: http://en.kioskea.net/faq/3358-execute-a-script-a-startup-and-shutdown

7. Home版本沒有gpedit。可改輸入登錄檔(registry), 詳見網頁。

其中Script的地方請記得輸入成那兩個批次檔。

此法無用者 我建議使用Windows排程器, 每天固定時間備份ramdisk, 開機回存


結束 這是我找到最簡單的解法


---
再看看需不需要解釋細節... 不過通常會玩ramdisk的人應該本來就懂不少

有需要的話也可以寫信問我...

--

All Comments