Povedlo se mi to podle tohoto od jjj https://pc.poradna.net/questions/3256651-nevite-co-mi-sabotuje-asociace-pripon-windows-11?from=2024-03-20#r3256702
spusti v powershelli ako admin: Get-AppxPackage Microsoft.Windows.Photos -AllUsers | Reset-AppxPackage
ak by pisalo ze nieje nainstalovana, nainstaluj spustenim: Get-AppxPackage Microsoft.Windows.Photos -AllUsers