How to Issues & Fixes

How To Fix Package Could Not Be Registered Error

Do you want to fix ‘Package Could Not Be Registered’ error? For Windows 10 Microsoft Photos app is the best application that is available on the Windows 10 OS. But it might generate errors at times. One such error is Package could not be registered. 

Many users getting the error “Package could not be registered” error they try to open an image file such as: .JPG or .PNG. For some users who face this error, this problem occurs with every image they try to open while others claim that the problem is only triggered by some files. We also confirm that the problem is occurring for Windows 10, 8.1, and 7.

What is the reason for the “Package could not be registered” error?

We examine this specific error message after looking at different user reports and the repair scenarios that were used to mitigate the issue. These are many different potential reasons that trigger this issue:

ktna hua

  • The error occurred by System file corruption: When the problem occurs by a set of corrupted system files. Many users claimed that the problem was fixed when they performed DISM and SFC scans.
  • Broken Photos app – In some situation, the problem occurs if the photos app create a mess after an update or contains some corrupted files. If this becomes the case, you can then fix the issue after fixing or resetting the Photos app.
  • Core photo files are corrupted – Windows installer can’t touch the core files of the huge majority of Store apps. If you have several corrupted core files of the app, the only method you’ll be able to fix the issue is by reinstalling the app via PowerShell.
  • Corrupted windows installation – Many users claimed that they only fix the problem after performing a repair install. This recommends that the problem can also be caused by the Windows files.

Issues & Fixes

The following solution might help in fixing this bug on the Windows 10 Photos app:

  • System File Checker and DISM.
  • Resetting Microsoft Photos App.
  • Reinstall the Microsoft Photos app via Windows PowerShell.
  • Use the Windows Store Apps troubleshooter.
  • Repair Corrupt Files
  • Return back to Classic Windows Photo viewer

Use System File Checker and DISM

To resolve any file corruption issue, we suggested using  System File Checker (sfc /scannow) and DISM. Both tools replace PC files with fresh copies.

When these commands run in a specific order, then restart your PC and try again.

Reset Photos App

Some users claimed that they finally fix the issue after following the instructions appropriate to reset the Photos app.

Come let’s take a look at resetting the Photos app:

Step 1:

Hit Windows key + R to open a Run dialog box. Then, input “ms-settings:appsfeatures” and hit Enter to open the Apps & Features screen of the Settings app.

Step 2:

In the Apps & Features menu, move down to the list of apps and take off through them until you place Microsoft Photos. Once you view it, tap on it, and select Advanced options.

Step 3:

In the advanced choices screen of the Photos app, move down to the Reset tab, and tap on Repair. When the process completes, head over to an image that was earlier triggering the “Package could not be registered” error and view if the problem has been fixed.

Step 4:

If the issue is still there, tap the Reset button (below Repair) and tap Reset once again to confirm.

Step 5:

When the app has been reset. Then create the process that was earlier triggering the error message and view if the issue has been fixed.

If the “Package could not be registered” error is still encountering, scroll down to the other method below.

Reinstall the Microsoft Photos app via Windows PowerShell.

Several users claimed that the “Package could not be registered” error stopped occurring after they use a series of instructions to uninstall and then again install the default Photos app via Powershell. This method will erase all files linked with this program, besides refreshing the cache and the files that are likely to be affected by corruption.

Here’s an article on reinstalling the Photos app using the Powershell window:

Step 1:

Hit Windows key + R to open a Run dialog box. Then, input “Powershell” and hit Ctrl + Shift + Enter to open up raised Powershell window.

Step 2:

In the raised Powershell window, input the following command and hit Enter to uninstall the Photos app:

get-appxpackage Microsoft.ZuneVideo | remove-appxpackage

Step 3:

When the process completes and the Photos app is successfully uninstalled. Then use the following command and hit Enter to again install the app:

Get-AppxPackage -allusers Microsoft.ZuneVideo | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

Step 4:

When the process completes, restart your PC and view if the problem is fixed at the other system startup.

If you’re still facing the “Package could not be registered” error, scroll down to the other method below.

Executing Windows Store Apps troubleshooter

The most popular solution of “Package could not be registered” error is to run the Windows Store Apps troubleshooter. Some users facing the same issue that upon running the troubleshooter.

Make sure that the Windows Store Apps troubleshooter holds a collection of techniques for common Store apps issues like this one. If a repair technique is applicable, the utility will automatically suggest the right solution for the issue. Here’s how to:

Step 1:

Hit Windows key + R to open a Run dialog box. Then, input “ms-settings:troubleshoot” inside the latest appeared Run box.

Step 2:

In the Troubleshooting tab, move down to the Find and Fix other problems section and place Windows Store Apps. Once you view it, tap on it and then choose Run the troubleshooter.

Step 3:

When the utility is launched, wait a while until the scanning period ends. Once the diagnostic ends, tap on Apply this fix.

Step 4:

When the fix is applied, restart your PC and view if the problem is fixed at the other PC startup.

Repair Corrupt Files

One of the most common solutions is to repair corrupted system files. Many users have claimed that the problem was fixed after they used Command Prompt to perform lots of scans capable of repairing the system files of corruption.

Step 1:

Hit Windows key + R to open a Run dialog box. Then, input “cmd” and hit Ctrl + Shift + Enter to open a Command Prompt. When prompt appear by the UAC (User Account Control), tap on Yes to allow administrative rights.

Step 2:

In the elevated Command Prompt, input the following commands in this order and hit Enter after each one:

Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth
Step 3:

Once the methods completed, restart your PC and view if the problem has been fixed after attempts to open the same file that was earlier triggering the error.

Step 4:

If the problem is still occurring, follow again step 1 to open another Command prompt. This time, input the following command to start a System File Checker (SFC) scan:

sfc/scannow
Step 5:

When the procedure is completed, restart your PC and view if the issue is fixed at the other PC startup.

Return back to Classic Windows Photo viewer

Many users claimed that the problem was fixed after they replaced the Photo Viewer app with the old Windows Photo Viewer application. Now, this technique is quite difficult considering that Windows 10 can’t officially support this app. Here’s how to:

Step 1:

Hit Windows key + R to open a Run dialog box. Then, in the text box, input “notepad” and hit Enter to open the default Windows text editor.

Step 2:

In the newly opened notepad Window, Ctrl+C and Ctrl+V the following code:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll]

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell]

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open]
"MuiVerb"="@photoviewer.dll,-3043"

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\
6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,\
25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,\
00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,\
6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,\
00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,\
5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,\
00,31,00,00,00

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\open\DropTarget]
"Clsid"="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}"

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print]

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,72,00,75,00,\
6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,00,73,00,\
25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,50,00,68,00,6f,\
00,74,00,6f,00,20,00,56,00,69,00,65,00,77,00,65,00,72,00,5c,00,50,00,68,00,\
6f,00,74,00,6f,00,56,00,69,00,65,00,77,00,65,00,72,00,2e,00,64,00,6c,00,6c,\
00,22,00,2c,00,20,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,\
5f,00,46,00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,\
00,31,00,00,00

[HKEY_CLASSES_ROOT\Applications\photoviewer.dll\shell\print\DropTarget]
"Clsid"="{60fd46de-f830-4894-a628-6fa81bc0190d}"
Step 3:

When you insert the code. Head over to File > Save as and select a location where you like to save it. But before tapping on Save, remember that you modify the extension from .txt to .reg. Then you can press Save.

Step 4:

Double-tap on the latest .reg file to move back the old Windows Photo Editor.

Step 5:

When the Registry keys are included, restart your PC to stick the modification.

Step 6:

Hit Windows key + R to open another Run box. Then, input “ms-settings:defaultapps” and hit Enter to open the Default Apps window of the Settings app.

Step 7:

In the list of Default apps, tap on the icon at the bottom of Photo Viewer, and choose Windows Photo Viewer from the list.

Conclusion:

Here’s all about “Package Could Not Be Registered Error”. If you are facing any issue then let us know. If you think that it is helpful then do let us know your suggestions in the comment section below. Do you know any other alternative method that you think we can’t cover in this guide?

Till then! Keep Smiling ?

Also Read:

About the author

Alex Joshua

Leave a Reply