Table of Contents
This article shows how to fix ‘Class Not Registered’ Error When Opening Photos problem message that shows up when you try to open a picture or photo on a Windows 11/10 computer. Users say that this error message makes it impossible for them to open pictures on their computers, no matter what the file extension is (JPG, PNG, etc.). A lot of Windows users are getting an error message that says “Class Not Registered.”
This error normally happens when a program or app has DLL files that haven’t been registered, or when you try to open a certain program and get the message ‘Class Not Registered’ Error When Opening Photos on Windows 11/10.” So, if you have the same problem when you try to open apps like Internet Explorer, the Start menu, Windows Media Explorer, etc., you are in the right place.
The “Class not registered” mistake is a Windows problem that most people see after upgrading to Windows 10. Because of this error on your Windows PC, you might not be able to see your pictures. But this mistake can be fixed by trying to figure out what is wrong. Read this post to find out the best ways to fix the ‘Class Not Registered’ Error When Opening Photos that shows up when you try to open a picture.
Re-Register the Windows Store Apps
If some of your Windows apps are broken or corrupted, you may get the ‘Class Not Registered’ Error When Opening Photos problem. In this case, you could fix the problem by reregistering all of your Windows apps. Here’s how to sign up for Windows Store apps again:
- Press Win + X to open the Quick Access Menu.
- Select Windows PowerShell (Admin) from the options.
- Type the following command and press Enter:
- Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
- Reboot your device when the process is complete.
Check the Status of Your Hard Drive
If your hard drive is having trouble, the “class not registered” error may show up. But you’d have to check the hard drive’s state to be sure that it’s really the problem. So, here’s an easy way to find out what’s going on with your hard drive:
- Press Win + R to open the Run command dialog box.
- Type CMD and press Ctrl + Shift + Enter to open an elevated Command Prompt.
- Type the following command and press Enter:
- wmic diskdrive get status
- If your hard drive is in a good condition, the result should read, “Status: OK.” Meanwhile, your hard drive is corrupted if you get results like “Caution,” “Bad,” or “Unknown.” And in case your hard drive is in a bad condition, the best solution would be to replace it.
Reset Default Apps
You could also try resetting the default apps on your device to see if that helps. This is because this process puts your apps back to their original settings and gets rid of bugs. Here’s how to change the apps that come with Windows:
- Type Default Apps in the Windows search bar and select the Best match.
- Scroll down and click the Reset button. From there, follow the on-screen instructions to finalize the process.
Repair or Update the Microsoft Visual C++ Programs
“Class not registered Windows 10” or “Class not registered Windows 11” could be fixed by fixing or updating the Microsoft Visual C++ apps. The Microsoft Visual C++ runtime library packages help make sure that your device works right. So, when these packages are broken, you’re likely to run into different system problems. Here’s what you need to do to fix Microsoft Visual C++ programs:
- Press Win + R to open the Run command dialog box.
- Type appwiz.cpl and press Enter to open the Programs and Features window.
- Right-click each Microsoft Visual C++ program and select Change from the options.
- Next, click the Repair button in the pop-up window. Finally, follow the on-screen instructions and restart your PC to save these changes.
If the “class not registered” error still pops up, then reinstall the Microsoft Visual C++ programs. If you want to know more information about this Visit Official Microsoft Support site. Here are the steps you need to follow:
- Open the Run command dialog box and the Programs and Features window as per the previous steps.
- Right-click each Microsoft Visual C++ program and click Uninstall.
- From there, reinstall the Microsoft Visual C++ programs on the Microsoft website and then follow the on-screen instructions.
Re-Register the Windows DLL Files
Most of the time, bad DLL (.dll) files cause the “class not registered” problem. To fix this problem, you would need to re-register all of your device’s DLL files. Here’s how to re-register the DLL files on your PC:
- Press Win + R to open the Run command dialog box.
- Type CMD and press Ctrl + Shift + Enter to open an elevated Command Prompt.
- Type the following command and press Enter:
- FOR /R C:\ %G IN (*.dll) DO “%systemroot%\system32\regsvr32.exe” /s “%G” regsvr32 ExplorerFrame.dll
- Wait for the process to complete, and then reboot your device. This should get rid of the class not registered error in Windows 11 or Windows 10.
Restart Windows Explorer
In many cases, it can be helpful to restart the Windows File Explorer. It might help you fix the “class not registered” error in this case. So, let’s look at how to restart File Explorer to fix this problem:
- Press Win + X to open the Quick Access Menu.
- Select Task Manager from the options.
- In the next window, right-click on Windows Explorer and select Restart.
If the issue persists, close the Windows Explorer via the Task Manager and then reopen it manually. Here are the steps you need to follow:
- Open the Quick Access Menu and Task Manager as per the previous steps.
- Right-click on Windows Explorer and select End task.
- Finally, open Windows Explorer directly by clicking its icon on the taskbar. Alternatively, type File Explorer in the Windows search bar and select the Best match.
What Does Class Not Registered Mean on Windows 11/10?
The details of the “class not registered” mistake are usually found in the message that comes up when the process is interrupted, such as “file explorer class not registered” or other characters that show a process is broken or not available. It just means that your Windows operating system can’t link to the file you want to use with the app you’re trying to run. For example, if you get the “class not registered” error when you try to open pictures, it means that the photo app can’t get to the file because it’s missing a part or object, which is usually mentioned in the description.