An error named “TWINUI” is being shown. Some Windows 10 users are whining about a particular problem they are suffering in Photo application. In the questionable computers, upon double-clicking on a photo, instead of displaying the image.
If you are in the same location, go for these fixes, and the difficulty will be fixed pretty regularly. You should also try these workarounds to attempt out some workarounds and check if they offer any more direct aid to this difficulty.
Primary Workarounds–
- Reboot the computer. After rebooting try to open any picture on the computer.
- Mark if any Windows Update is pending or not. If any update is pending, connect it to the computer.
- Refresh all the applications from Microsoft Store. If however, the difficulty is there, follow the fixes.

Fix-1 Use Powershell
- Hold Windows key+X.
- Then, you require to tap on “Windows PowerShell (Admin)” to initiate PowerShell screen with administrative rights.
- Repeat this command and paste it into the PowerShell window and hit Enter.
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”} - Once you have executed the command on the computer, shut the Powershell window.
- Double-tap on any image to open it. Indicate if you are still facing the failure or not.
Fix-2 Empty Local State folder-
Emptying the Local State folder has solved the difficulty for many users. Follow these measures to do the same on the computer-
- By pressing Windows key+R, you can begin the Run window.
- To start the folder location, copy-paste in the Run window and hit Enter.
%appdata%..\Local\Packages\Microsoft.Windows.Photos_8wekyb3d8bbwe\LocalState
The local state folder will be opened. - In the LocalState folder, press Ctrl+A to choose all the items.
- Hold the ‘Delete‘ key from the keyboard to delete all those contents.
Reboot the computer to execute the changes, take effect.
After rebooting, you should be ready to open images on your computer without any further issues. TWINUI problem should be solved.