menu LittleJake's Blog
color_lens
avatar
Jake Liu
Never Settle
creative commons by-nc-sa
hit
Category
keyboard_arrow_down

© 2024 LittleJake's Blog.

萌ICP备20223020号

开启BitLocker时,虚拟内存修改为非系统盘

前言

在日志管理界面发现虚拟内存不足的报警,引起了我的注意。

发现虚拟内存大小为 1,024 MB,且为系统盘。

当初设置为非系统盘 32,000 MB,非系统盘无创建pagefile.sys文件。

解决

查阅资料发现有人出现同样的状况,开启Bitlocker时,无法将虚拟内存设置为非系统盘。

Move pagefile to another disk? (Windows keeps using C: disk instead of disk set)

参考这位用户的解决方案,将注册表HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\下的键值PagefileOnOsVolume修改为0即可。

具体可以将以下代码保存为PagefileOnOsVolume.reg运行:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"PagefileOnOsVolume"=dword:00000000
Buy me a beer
Jake Liu
Never Settle

Title: 开启BitLocker时,虚拟内存修改为非系统盘

Author: Jake Liu

Origin:

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) For any re-post you must give appropriate credit.

文章遵循CC许可 署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0) 转载请注明出处

Tag:win11, pagefile, 虚拟内存, bitlocker, win10

评论区

Add a new comment.

Theme