如何准备 SSD 驱动器以在 Windows 中缩小分区?

tin*_*lyx 8 windows defragment ssd disk-management

我试图缩小分区(Windows 10)。对于传统硬盘,我可以使用该Optimize工具对硬盘进行碎片整理,以释放接近 HD 末尾的磁盘扇区并尽可能缩小体积。

但是,我读到OptimizeWindows的工具不会对 SSD 驱动器进行碎片整理。因此,它没有多大用处,因为它对于机械硬盘驱动器(用于缩小)。

是否有 Windows 工具可以“从概念上”将扇区移动到 SSD 的开头以帮助缩小?

理想情况下,我正在寻找来自 Windows 或 Microsoft 的东西。

注意:我在超级用户和相关帖子中环顾四周,例如如何使用不可移动文件缩小 Windows 7 启动分区都是关于为机械 HD 移动不可移动文件。他们似乎没有解决 SSD 的问题。

Tom*_*Tom 9

你想要的命令是defrag /PrintProgress /FreespaceConsolidate.

Defrag <Volumes> <Operations> [<Options>]

  /U | /PrintProgress   Print the progress of the operation on the screen.
  /V | /Verbose         Print verbose output containing the fragmentation statistics.
  /X | /FreespaceConsolidate
                        Perform free space consolidation, moves free space towards
                        the end of the volume (even on thin provisioned volumes). On
                        tiered volumes consolidation is performed only on the Capacity
                        tier.
Run Code Online (Sandbox Code Playgroud)


dav*_*dgo 8

在 Windows 下缩小驱动器可能会导致直肠疼痛。您需要删除任何不可移动的文件,然后对其进行碎片整理,然后才能缩小它。

删除文件 -

  • 禁用系统还原(右键单击计算机 -> 属性 -> 系统保护 -> 系统还原)
  • 禁用虚拟内存/分页文件(右键单击计算机-> 属性-> 高级系统设置-> 性能(设置)=> 高级选项卡-> 虚拟内存(更改)-> 删除分页文件

对驱动器进行碎片整理(Auslogics Disk Defrag 是免费的并且可以做到这一点)

  • 不要忘记禁用休眠,powercfg -h off (3认同)