Home » How-To » How to Fix “This action can’t be completed because the file is open in Shell Infrastructure Host”

How to Fix “This action can’t be completed because the file is open in Shell Infrastructure Host”

Are you getting a “This action can’t be completed because the file is open in Shell Infrastructure Host” error?

The error message occurs when you try to delete a file, typically a video, from the File Explorer.

Specifically, it happens after you’ve recorded a video and when you try to delete it right after.

It’s usually caused by a bug from the latest Windows Update that interferes with the Media Player.

In this guide, you’ll learn how to fix the “This action can’t be completed because the file is open in Shell Infrastructure Host” error.

How to Fix “This action can’t be completed because the file is open in Shell Infrastructure Host”

This action can't be completed because the file is open in Shell Infrastructure Host

The “This action can’t be completed because the file is open in Shell Infrastructure Host” is a bug that’s most likely caused by a Windows update.

It causes the default video player (Media Player) to not function properly and prevents you from deleting a video.

Fix 1: Change your default video player

  1. Navigate to the file (video/photo) that you want to delete.
  2. Right-click it and select “Properties”.
  3. Select “Change” next to “Open with”.
  4. Set the default app to something else (e.g. Photos).

Fix 2: Update Windows to the latest version

  1. Search for “Check for updates” using Windows Search.
  2. Select “Check for updates”.
  3. Select “Download & Install” if there’s an update.

Further reading

How to Fix DeepSeek “The server is busy. Please try again later”

How to Fix Sorry, Capcut Isn’t Available Right Now

How to Fix OBS Game Capture Black Screen

About the author

Lim How Wei

Lim How Wei is the founder of followchain.org, with 10+ years of experience in Social Media Marketing and 5+ years of experience as an active investor in stocks and cryptocurrencies. He has researched, tested, and written thousands of articles ranging from social media platforms to messaging apps.

Lim has been quoted and referenced by major publications and media companies like WikiHow, Fast Company, HuffPost, Vice, New York Post, The Conversation, and many others. One of his articles about the gig economy was quoted by Joe Rogan, who hosts The Joe Rogan Experience (the most popular podcast in the world), in the This Past Weekend podcast (the third most popular podcast in the world as of 2026) by Theo Von.

In his free time, Lim uploads personal finance videos on his YouTube channel, Lim Finance, to guide others on their financial journey. He also creates gaming guides, walkthroughs, solutions, and tips for the games he plays, helping players with their progression.