5

清理windows空间

 11 months ago
source link: https://titron.github.io/2023/09/07/clean_memory/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

清理windows空间



1. 清除 ccmcache文件夹

控制面板 - Configuration Manager -选择“缓存”–>点击“配置设置”,

可以更改文件夹路径,可以删除文件

2. 清除 休眠文件 Hiberfil.sys

终端cmd,

# 不使用休眠功能
powercfg -h off

# 使用休眠功能
powercfg -h on

3. 清除 pagefile.sys

设置: 我的电脑 右键属性,然后高级系统设置 -> 系统属性 -> 高级 -> 设置(性能)

点击C盘,选择“无分页文件”,

点击D盘,选择“无分页文件”,

禁用页面文件: 方法是:依次进入注册表编辑器“HKEY_LOCAL_MACHINE/System/CurrentControlSet/Control/SessionManager/MemoryManagement”下,在“DisablePa-ging Executive”(禁用页面文件)选项中将其值设为“1”即可

清空页面文件: 在同一位置上有一个“ClearPageFileAtShutdown(关机时清除页面文件)”,将该值设为“1”(如图1)。这里所说的“清除”页面文件并非是指从硬盘上完全删除pagefile.sys文件,而是对其进行“清洗”和整理,从而为下次启动Windows XP时更好地利用虚拟内存做好准备。


Similar Posts

Comments


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK