Download the registry file via the link attached below:

Once downloaded you should be able to right click on the registry file and run it as administrator. Windows will prompt you with a warning, go ahead and click Yes.

After you click yes, windows will show you the following success prompt.

You will now have to open Default Programs via the start menu.

Go to the Photo viewer section and change the default viewer to Windows Photo Viewer.