Resolved: `This file does not have a program associated with it for performing this action`

If you are using the Windows 10 operating system, you may encounter a strange problem when launching a game or third-party program or opening a file. An error message is displayed below:

“There is no program associated with this file to perform this action. Please install the program or, if it is already installed, create a shortcut in the “Default Programs” control panel.”

This problem may occur with the following applications: Explorer, Excel, Adobe Reader, or OneDrive. The error message may also appear when opening a USB drive due to autorun settings.

If you encounter this problem, what should you do? You are in the right place, and we will show you how to easily solve this problem.

What causes the “This file does not contain the associated program to perform this action” error message?

  • The cause of the “This file does not contain the associated program to perform this action” error message is usually a problem where Windows cannot find a program in the system to open the associated file type. However, there may be other reasons, such as an outdated operating system or problems with the Windows registry.
  • Spora ransomware is known to sometimes cause a “No program associated with this file that can perform this action” error. It causes UAC messages, asking the user for permission to run the file encryption threat. These commands masquerade as Microsoft processes so that unsuspecting users enable them.

Because of the different causes of the problem, the solution to the “This file does not have a program associated with it to perform this action” error varies from computer to computer, as every Windows configuration is different.

Here are some methods that might help you fix the “This file does not have a program associated with it to perform this action” error, although you should be careful.

How to solve the “This file does not have a program associated with it for performing this action” error?

Launch DISM and SFC scan

Sometimes you get the message This file is not associated with any program because your system files are corrupted.

This can happen for various reasons and to solve this problem, it is recommended to run an SFC scan and DISM scan. To do this, follow these simple steps:

  1. Press the Windows + X keys to open the Win + X menu, and select Command Prompt (Admin) or PowerShell (Admin).
  2. When the command prompt opens, type sfc /scannow and press Enter.
  3. The SFC scan will now begin. The scan may take about 15 minutes, so do not interrupt it.

After the SFC scan is complete, check to see if the problem persists. If the problem persists, a DISM scan must be performed. To do this, follow these steps:

  1. Run the command line as an administrator.
  2. Execute the command DISM /Online /Cleanup-Image /RestoreHealth.
  3. The DISM scan will now begin. The scan may take about 20 minutes, so do not interrupt it.

After the DISM scan is complete, check if the problem persists. If you were unable to run the SFC scan earlier, try running it now and see if that solves the problem.

Creating a new Windows user account

According to users, one of the easiest ways to solve this problem is to create a new Windows user account. To do this, follow these steps:

  1. Open the Settings app and go to Accounts.
  2. Go to the Family and Other Users tab and click Add another user to this PC.
  3. Click, I don’t have an ID for this person.
  4. Select Add a user without a Microsoft account.
  5. Enter the username and password for the new account, then click Next.

Performing System Restore

According to users, sometimes the best way to fix This file has no associated program error is to restore the system. To perform a system restore, simply follow these steps:

  1. Press the Windows + S key and type System Restore.
  2. In the list of results, select Create a restore point.
  3. When the System Properties window opens, click System Restore.
  4. The System Restore window appears. Click Next to continue.
  5. If necessary, check the option Show other restore points.
  6. Select the restore point you want to return to and click Next.
  7. Follow the instructions on the screen to complete the recovery process.

Disabling autoplay for all devices

  1. Open the Settings app and go to Devices.
  2. Select Auto Play from the left-hand menu.
  3. In the right pane, clear the Use autoplay for all media devices checkbox.
  4. Set the removable disk and memory card to Do Nothing.

If you get the message This file is not associated with any program, the problem may be related to AutoPlay.

However, you can easily solve this problem by completely disabling AutoPlay. After that, AutoPlay should be completely disabled and the problem should be solved.

Adding your user account to Administrators group

Another solution to this problem is to add the user account to the Administrators group. Users have reported that the problem has been resolved after adding the user account to the Administrators group. To add a user account to the Administrators group, follow these steps:

  1. Press Windows + R and type lusrmgr.MSC. Press Enter or click OK.
  2. Click the Groups folder in the left pane and double-click the Administrators group in the right pane.
  3. When the Properties window opens, click Add.
  4. In the Enter object names to select field, enter the user name and click Check Names. If everything is correct, click OK.
  5. Alternatively, you can click Advanced and Search Now to manually find the username.
  6. Your user account should then be added to the Administrators group.
  7. Click Apply and OK to save your changes.

As you can see, adding a user account to the Administrators group is pretty easy. Some users also suggest logging out of Windows 10 and logging back in for the changes to take effect.

Frequently Asked Questions

  1. Create a new Windows user account.
  2. Add your user account to the Administrators group.
  3. Edit the registry.
  4. Remove some keys from the registry.
  5. Perform SFC and DISM scans.

Using Cortana, search for Default Programs on the taskbar. Click on the Install Default Programs option. Select the desired program, and then click the Select Default Settings for that program option. Click the Save button when prompted to install program associations.

  1. Right-click on Start and select Settings.
  2. Go to the Updates and Security section.
  3. On the right side of the window, click Check for updates.
  4. Wait for Windows to download new updates and install Update Windows.
  5. Reboot your computer and see if the problem persists.

From the Start menu, choose Settings -> Applications -> Default Apps. Select the default that you want to install, and then select an app. You can also get new applications from the Microsoft Store.