7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

Microsoft Photos is the default image viewing application in Windows 11. It usually works well, but occasionally you may encounter a ‘Class not registered’ error when viewing pictures in the Photos app. This error is typically caused by misconfigured DLL files, corrupt system files, or other system-related issues. Regardless of the reason, troubleshooting the Class not registered error on Windows 11 is straightforward. Here are some effective solutions to help you resolve the problem permanently.

1. Restart Windows Explorer

Whenever you encounter the Class not registered error, your first step should be to restart Windows Explorer. The error message can appear due to a temporary glitch. The best way to get rid of such a glitch is to restart Windows Explorer.

Here’s how to restart Windows Explorer on Windows 11:

Step 1: Press the Windows + X key to open the Power User Menu and choose Task Manager.

Step 2: Right-click on Windows Explorer and choose Restart.

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

2. Choose Photos As the Default Image Viewer

The error message may appear if Photos app is not set as the default image viewer. To set Photos app as the default viewer on your computer, follow these steps:

See also  8 Ways to Fix Install Error 0x80070103 on Windows 11

– Press Windows + I keys to open Settings app.

– Choose Apps from the left panel.

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

Step 3: Select Default apps.

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

Step 4: Locate and select the Photos app.

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

Step 5: Click on commonly used image extensions like JPG, PNG, and GIF. Choose Photos from the menu and click Set default.

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

3. Reset the Photos App

If configuring the Photos app as the default image viewer didn’t help, you can try resetting the app to its default settings. This will be useful if the problem is caused by corruption in the Photos app.

Here are the steps to reset the Photos app on Windows 11:

1. Open Settings.

2. Choose Apps, then select Installed apps.

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

Step 2: Locate and click on three dots next to Microsoft Photos and choose Advanced options.

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

Step 3: Click Reset button.

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

Step 4: Click Reset for confirmation.

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

After resetting the Photos app, restart your computer and check for the problem.

4. Re-Register Windows DLL Files

DLL (Dynamic Link Library) files contain codes and data that other programs use for tasks. However, if an essential DLL file is missing or corrupted, the app won’t function properly, and even basic features won’t work.

One way to solve this issue is by re-registering the DLL files. Here’s how:

Step 1: Press the Windows key to open the Start Menu.

Step 2: Type “Command Prompt” in the Windows Search bar and choose “Run as administrator” from the right pane.

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

Step 3: In the Command Prompt window, type the command and press Enter:

See also  Can’t Type in CMD? Here Are 5 Ways to Solve It

FOR /R C:\ %G IN (*.dll) DO “%systemroot%\system32

egsvr32.exe” /s “%G” regsvr32 ExplorerFrame.dll

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

5. Repair Microsoft Visual C++ Programs

The Microsoft Visual C++ library is crucial for the Windows operating system to ensure proper functioning of all applications. If the package becomes corrupted, errors like “Class not registered” may occur due to sudden system shutdown, virus attack, or other causes. Fortunately, you can resolve this issue by using the built-in repair option. Follow the instructions below:

Step 1: Open the Start Menu and type “Control Panel.” Press Enter.

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

Step 2: Choose Uninstall a program.

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

Step 3: Right-click on the latest Microsoft Visual C++ package installed on the device and choose Change.

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

Step 4: Choose Repair from the prompt.

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

After the repair, restart your computer to apply the changes.

6. Reinstall Microsoft Store

Another reason for the error message may be corruption in the Microsoft Store. You can fix this by reinstalling the Microsoft Store. Open Command Prompt as an administrator and enter the following commands: Get-AppXPackage Foreach

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

7. Run SFC and DISM Scan

Are you still facing the Class not registered error in the Photos app? If so, perform an SFC scan. It’s a built-in utility that detects and eliminates corrupt files from your computer. To do this, open an elevated Command Prompt window, type “sfc /scannow”, and press Enter.

7 Best Fixes for ‘Class Not Registered’ Error When Opening Photos on Windows 11

After scanning, restart your device and check if the problem persists. If it does, run a DISM scan. The DISM scan fixes damaged and corrupt system images and files. To run the DISM scan, execute the following commands in the elevated Command Prompt window:

See also  How to Fix Media License Error on Apple Music

DISM /Online /Cleanup-Image /CheckHealth

DISM /Online /Cleanup-Image /ScanHealth

DISM /Online /Cleanup-Image /RestoreHealth

The Class not registered error can be irritating. Especially when you want to view your favorite photos on your computer. Fortunately, it’s a common system issue and can be cured. Just try the solutions above to fix the issue permanently.

Leave a Comment