Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

This article is a Private article. Only a writer and users who know the URL can access it.
Please change open range to public in publish setting if you want to share this article with other users.

Windows 11 ファイルのブロックをまとめて解除する方法

0
Posted at

はじめに

ダウンロードしてきたファイルに付いているブロックを一括解除する備忘録です。

改訂履歴

  • 2026/08/05 : 初版公開。

本文

1. 環境

  • Windows 11 Home

2. 手順

カレントフォルダ内のファイルを、サブフォルダも含めて解除します。

PowerShell
Get-ChildItem -Recurse -File | Unblock-File

ダウンロードしたファイルがブロックされる主な原因は Windows が付与する Zone.Identifier にあります。これはファイルがインターネットなどの外部から取得されたことを示す情報で ZoneId に取得元のセキュリティゾーンが記録されます。Zone.Identifier を削除(ブロックの解除)を行うと、これらに関する警告や制限が適用されなくなります。

おわりに

たまに使うのですが、自分の脳では暗記できません。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?