Good Day SHRESTHGUPTA1,
My name is Carlo, I am also using Windows 10 pc and community member like you. Let us work together to sort this out.
Here's the steps you can try.
- Press the Windows key + R
- Type wsreset.exe and hit enter.
Wait for few seconds while it is resetting the Store cache.
-Press Windows key + X
-Go to Settings
-Click Update and Security
-Click Troubleshooter then Additional troubleshooter.
-Look for Windows Store Apps and run the troubleshooter.
Re-register the Store App
-Press Windows key + X
-Click Windows Powershell Admin
Copy and paste each of the command below and hit enter.
PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *Photos*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
Wait for few seconds while it is reregistering the Store app.
Restart your computer and try to install the app again.
If issue persist check for updates and download and install them.
-Press Windows key + X
-Go to Settings
-Click Update and Security
-Check for Updates and install all available updates available.
Please let me know how it goes.
Have a wonderful day ahead and stay safe.
Sincerely,
Carlo T.