1
4

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.

ロックされているファイル・フォルダの解除

Last updated at Posted at 2019-10-02

操作対象は操作不能になった

image.png

共有ファイルや共有フォルダで発生しやすいですが、時々、操作できない場合があります。
(他のメッセージを見たこともあります)

ファイルやフォルダとの接続を検索

下記のコマンドをPowerShell(管理者権限)で実行すれば、開いてファイルの検索結果をCSVフォーマットで表示できます。

# すべての接続を表示。他のコマンドとの組み合わせは可能
openfiles /query /fo CSV

実行例

image.png

接続を切断

検索結果のIDを用いて、下記コマンドを実行すれば、該当ファイルに対する、他の接続を切断することは可能で、自分の操作はできるようになります。

# 番号を指定して接続を切断
openfiles /disconnect /id [ID番号]

実行例

image.png

参考

1
4
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
1
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?