HomeGuidesFix This File Does Not Have an App Associated With It

Fix This File Does Not Have an App Associated With It

-

Key Takeaways
  • Different file types require specific apps to open them, but Windows may not recognize some files, leading to the error "This file does not have an app associated with it."
  • To fix this issue, users can run SFC and DISM scans to repair corrupted files, make changes to the Registry, add the user account to the administrator group, run a PowerShell command, or disable autoplay for devices.
  • If the problem persists, performing a system restore may revert the PC to a point before the issue occurred, resolving the error.

Every different file type requires a different app/program to open it. For instance, video files can be opened through a video player, text files and documents can be opened through a text/document editor, etc. Windows have a lot of default software that opens most of the file type on your system. However, this is impossible for all the file types you try to run on Windows. Windows may not recognize some files, and you may encounter the โ€˜This file does not have an app associated with itโ€™ error.

Users have reported facing this error with file types previously recognized on Windows. This is a standard error many people face in Windows 10 and now in Windows 11. So what to do to fix this issue?

Fix This File Does Not Have an App Associated With It

Fix This File Does Not Have An App Associated With It For Performing This Action

This article will discuss various troubleshooting steps to help fix this file that does not have an app associated with it for performing this actionย error.

Run SFC and DISM Scan

The first thing you should try doing is running the SFC and DISM scan. This issue is caused due to corrupted files and can be fixed by running the SFC and DISM scans. We would recommend you first run the SFC scan and see if that fixes the error or not. To run the SFC scan, follow the steps given below-

  • Press theย Windowsย key to open theย Start Menu.ย In theย Start Menu, search forย CMD.ย 
  • From the search result, right-click onย Command Promptย and then onย Run as Administrator.ย 
  • Now in theย Command Prompt, type the following command and hitย Enterย to execute it-
    • sfc /scannow

SFC Scannow

  • The process will start running. Wait until the process is complete, and then restart your PC.ย 

That should most probably fix the issue. However, you should run the DISM scan if you still encounter the issue. To do so, follow the steps given below-

  • Runย Command Promptย with administrative privileges.ย 
  • Here, type and execute the following command-
    • DISM /Online /Cleanup-Image /RestoreHealth

  • Once done, close the Command Prompt window and restart your PC.ย 

Make Changes To The Registry

Making specific changes to the Registry can also help fix the issue. It is advised that you keep a backup of your Registry settings before you make any changes to it. Follow the steps given below to make changes to the Registry and fix the โ€˜This file does not have an app associated with itโ€™ error-

  • Openย Start Menuย by pressing theย Windowsย key. Here, search forย Registry Editorย and open it.ย 
  • Head to the following address in the Registry Editor-
    • Computer\HKEY_CLASSES_ROOT\lnkfile
  • Here, check ifย the IsShortcutย value available or not. If it is available, then move to the next troubleshooting step in this, else follow the next step.

Fix: This File Does Not Have an App Associated With It

  • Right-click on the empty space on the right pane, click onย New,ย and then onย String Value.ย 
  • Now, rename the new key you created toย IsShortcut.ย 
  • Now, head to the following path-
    • HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Manage\command
  • Here, double-click onย Defaultย to edit it.

Fix: This File Does Not Have an App Associated With It

  • Ensure theย Value Dataย is set to-
    • %SystemRoot%\system32\CompMgmtLauncher.exe

Fix: This File Does Not Have an App Associated With It

  • If the value data is not the same, then you can change it.
  • Once done, restart your PC and see if you are still facing this issue or not.ย 

Add User Account To The Administrator Group

The next troubleshooting step is adding the user account to the administrator group. When you do not have administrative privileges, you may not be able to open specific files on your PC. You can follow the steps below to do so-

  • Pressย Windows + Rย key combo, typeย lusrmgr.mscย and click on theย OKย button.ย 
  • Here, double-click on the Groups folder on the left sidebar to open it.ย 
  • Now on the right side, double-click onย Administratorsย to open its properties.ย 
  • Click onย Addย button here.ย 
  • Here, in theย Enter the object names to selectย field, enter your name and click onย Check Names.ย 
  • Now, click onย OK. Check if the user account is added to the administrator or not.ย 
  • Once done, click onย Applyย and then onย OK.ย 
  • Now, sign out of your PC and sign in again.ย 

Note- This method does not work with Windows 11 home edition.

Run PowerShell Command

You can run the PowerShell command to reinstall all the universal apps, which should probably fix the issue you have been facing. To do so, follow the steps given below-

  • Press theย Windowsย key on your keyboard, and typeย PowerShellย in theย Start Menu.ย Now, right-click on the PowerShell from the search result andย click onย Run as administrator.ย 
  • This will run the PowerShell with administrative privileges. Now, run the following command in the PowerShell-
    • Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like โ€œ*SystemApps*โ€} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register โ€œ$($_.InstallLocation)AppXManifest.xmlโ€}

Fix: This File Does Not Have an App Associated With It

  • Once done, check if the issue is resolved or not.ย 

Disable Autoplay

The next thing you can try doing is disabling the autoplay for all the devices. You can do so by following the steps given below-

  • Pressย Windows + Iย key to open the Settingsย app on your PC.
  • On the left sidebar of the Settings app, click onย Bluetooth & other devices.ย 
  • Now, on the right side, click onย AutoPlay.ย 

BlueTooth and Devices

  • Turn off the toggle forย AutoPlay.ย 
  • Setย Removable driveย andย Memory cardย toย Take no action.ย 

Autoplay

  • Once done, the issue should be fixed.ย 

Perform System Restore

If you are facing this issue after performing an update, installing an app, updating the driver, or reinstalling the driver, then we would recommend you to perform the system restore. This will revert your PC to the point when the changes were made to it. You will need a restore point to perform a system restore. If you donโ€™t know how to do so, then you can follow our guide to perform System Restore.ย 

Final Words

This is how you can fix the โ€˜This file does not have an app associated with itโ€˜ error. If you are facing this issue while trying to open a file then you can follow the steps in this article, and you will be able to fix this issue.ย 

RELATED ARTICLES:

Anurag Jain
Anurag Jainhttps://itechhacks.com
Anurag is a Senior content analyst with 4 years of experience in the industry. Based in India, He is extremely skilled at Windows related to How to Troubleshooting matters. His favorite topics are Windows 11, Android, and How To's.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

LATEST