Hi I'm Peter an independent advisor, this error can occur when you are installing or updating Windows or when your copying files from a hard drive/ SD card, etc. To resolve this issue, we suggest following the methods below:
Method 1. Startup Repair
Right-click the Start button, select Shut down or Sign out, then choose Restart while holding the Shift button.
Go to Troubleshoot > Advanced Options > Startup Repair.
Enter the administrator password when you're asked.
The Startup Repair will try fixing the device. In the end, you'll see a report if repairing fixed the issue or not.
Method 2. Disable Antivirus
Method 3. Check hard drive/ SD card errors
Go to This PC, right-click the name of the SD card to scan.
Select Properties, go to the Tools tab, then click Check.
Kindly check Automatically fix system errors, click Start.
Windows will scan the SD card, wait for a few seconds. Once done, perform a scan on the other drives of your PC.
Also try formatting the sd card from My PC.... Right click the sd card drive and select format.
For the second question, press Start then Settings, go to default apps, scroll down to photos and make sure you add a program which will open as default ie paint, photo viewer or the photos app
Have a great day