Locate JPG and JPEG, click on the links and in the pop up set Windows Photo Viewer as the default. In Windows 10, open the Settings app, then select System > Default apps > Photo Viewer > Photos.