0
0

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 1 year has passed since last update.

WindowsUpdate の為のディスク容量をあらかじめ確保する方法

Posted at

WindowsUpdate の為のディスク容量をあらかじめ確保する方法

Windows Update の度に容量不足の解消に手間取っている。
あらかじめ Windows Update に必要なディスク容量を確保しておけば,より容易にWindows Updateできる。

巨大Dummyファイルを作成する

Create-DummyFile.bat
@echo off
if not exist c:\usr Mkdir C:\usr
fsutil file createnew C:\usr\DumFile.txt 10000000000
attrib +h C:\usr\DumFile.txt

参考:巨大サイズのファイルを fsutil コマンドで簡単に作る

巨大Dummyファイルを削除する

Delete-DummyFile.bat
del /Q C:\usr\DumFile.txt
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?