10
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Windowsのディスク容量を回復する方法

Last updated at Posted at 2015-08-13

クリーンアップ

Windowsの標準機能として、クリーンアップが使えます。

コンピュータ(ローカルディスクC)をプロパティで開き、全般から「ディスクのクリーンアップ」から回復できます。

Windows Update

以下のディレクトリに移動し、そこにあるファイルを削除します。Windows Updateでダウンロードされたファイルですが、基本的に不要です。

C:\WINDOWS\SoftwareDistribution\Download

sdelete.ext

VirtualBoxでは可変ストレージでイメージを作ると、どんどんとディスク領域を侵害します。したがって、本来的に使用している容量に近づけるため、ゼロスペースで埋める必要があります。

sdelete.exeをダウンロードしてきて、ローカルディスクCのルートディレクトリに置きます。

cd /

sdelete.ext -z

Host:

$ vboxmanage modifyhd ~/VirtualBox\ VMs/windows7/windows7.vdi --compact
10
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?