Windows 10: Open file in UWP app e.g. Microsoft Photos via command line

Discus and support Open file in UWP app e.g. Microsoft Photos via command line in Windows 10 Gaming to solve the problem; Hello,I would like to open a file programmatically with an UWP app. To give a concrete example, I would like to open the image "hello.png" with... Discussion in 'Windows 10 Gaming' started by FunkeArmband688, Feb 5, 2024.

  1. Open file in UWP app e.g. Microsoft Photos via command line


    Hello,I would like to open a file programmatically with an UWP app. To give a concrete example, I would like to open the image "hello.png" with Microsoft Photos or the Snip & Sketch tool.The AppUserModelID for Photos for me is Microsoft.Windows.Photos_8wekyb3d8bbwe!App.How do I do that? Running the app directly does not work:> start "" shell:appsfolder\Microsoft.Windows.Photos_8wekyb3d8bbwe!App "hello.png"I also considered changing the default app for .png files in the registry, but the UserChoice-key is protected by a hash.Thank you in advancePhilip

    :)
     
    FunkeArmband688, Feb 5, 2024
    #1
  2. Naki Win User

    GPU-Z what command line parameter ?

    Suggestion: /? (-?) and /help (-help) command-line arguments to show a list of all possible arguments in a small window. *Smile Open file in UWP app e.g. Microsoft Photos via command line :)
     
    Naki, Feb 5, 2024
    #2
  3. Does Microsoft Photos UWP app not support colour management?

    I have noticed that when viewing a set of JPEGs in Photos UWP app that they appear overly saturated and with extra contrast. I saved the JPEGs from RAW files as 8 bits per channel in the sRGB colour space (with colour space embedded) with either Adobe Camera Raw or Photoshop.

    When I look at the saved JPEGs in Adobe Bridge or open them up again in Photoshop they look correct.

    Interestingly, when I view the original RAW files in Photoshop and then turn on Soft Proofing with the Soft Proof Setup targeting the Monitor RGB profile the image in Photoshop now appears the same as the JPEG does in Photos UWP app. It's stated in the Photoshop documentation that the Monitor RGB profile simulates display of the document on the monitor as it would appear without colour management. So this leads me to conclude that Photos UWP app is not colour managing my photos.

    Why is Photos UWP app not respecting the colour profiles of my photos? Does Photos UWP app not support colour management?

    Interestingly the JPEGs seem to appear to have relatively accurate colours in the Photos UWP app on other devices namely laptop and phone.

    The machine I am experiencing the problem on is a colour managed machine, calibrated and profiled with a Spyder Pro 4. I'm wondering if the profile created by the Spyder Pro 4 is not being accepted by the Photos UWP app...

    UPDATE:

    Viewing the photograph in Microsoft Edge, Internet Explorer or setting it as the desktop background the photograph appears overly saturated and with excess contrast just as it does in Microsoft Photos UWP app. However viewing the photograph in Chrome or the legacy Windows Photo Viewer it looks natural and the same as it does in Adobe software. Are Microsoft apps/OS using one Colour Engine, Adobe using a different Colour Engine and Chrome using yet another Colour Engine?
     
    Duncan Gravill, Feb 5, 2024
    #3
  4. Open file in UWP app e.g. Microsoft Photos via command line

    WINDOWS 10 MICROSOFT PHOTO APP

    Hello,

    Welcome to Microsoft Community.

    The Photos app brings together pictures from all your devices using OneDrive, so that you can browse them by date, album or folder. It also automatically enhances photos, and creates albums for you, to showcase your best shots.

    I suggest you to follow the methods below and check if it helps:

    Method 1:

    I suggest you to change the Default apps in the setting app and verify the result. You may follow the steps in the below:

    • Go to settings and system.
    • Click on Default Apps and select the appropriately.

    Method 2:

    I suggest you to reinstall Photo app using the PowerShell command
    and reinstall using the Windows store. Follow the below steps.

    • Open the Start menu, type Windows PowerShell in the search bar.
    • Right click on the Windows PowerShell and select Run as administrator.
    • Enter the below command to uninstall the Photo app.

    •   get-appxpackage  *Microsoft.Windows.Photos* | remove-appxpackage

    More reference:

    Photos help - Microsoft Support

    Hope this helps. If the issue remains unresolved, please get back to us and we would be happy to help.


     
    Anju Thekkethil, Feb 5, 2024
    #4
Thema:

Open file in UWP app e.g. Microsoft Photos via command line

Loading...
  1. Open file in UWP app e.g. Microsoft Photos via command line - Similar Threads - Open file UWP

  2. Open a program and it's data file with command line command

    in Windows 10 Gaming
    Open a program and it's data file with command line command: Been a long time since I used MSDOS-style syntax to create a batch file or edit a shortcut path. Could use some help.Would like to edit the path of a shortcut .lnk create a batch file don't know which one is best to run Microsoft Money Plus C:\Program Files x86\Microsoft...
  3. Open a program and it's data file with command line command

    in Windows 10 Software and Apps
    Open a program and it's data file with command line command: Been a long time since I used MSDOS-style syntax to create a batch file or edit a shortcut path. Could use some help.Would like to edit the path of a shortcut .lnk create a batch file don't know which one is best to run Microsoft Money Plus C:\Program Files x86\Microsoft...
  4. UWP apps not opening.

    in Windows 10 Gaming
    UWP apps not opening.: In place upgrade is not an option since I am on a higher build. Tried SFC and DISM. https://answers.microsoft.com/en-us/windows/forum/all/uwp-apps-not-opening/feb842b3-788b-4966-b27f-ed8800076188
  5. UWP apps not opening.

    in Windows 10 Software and Apps
    UWP apps not opening.: In place upgrade is not an option since I am on a higher build. Tried SFC and DISM. https://answers.microsoft.com/en-us/windows/forum/all/uwp-apps-not-opening/feb842b3-788b-4966-b27f-ed8800076188
  6. Open file in UWP app e.g. Microsoft Photos via command line

    in Windows 10 Software and Apps
    Open file in UWP app e.g. Microsoft Photos via command line: Hello,I would like to open a file programmatically with an UWP app. To give a concrete example, I would like to open the image "hello.png" with Microsoft Photos or the Snip & Sketch tool.The AppUserModelID for Photos for me is Microsoft.Windows.Photos_8wekyb3d8bbwe!App.How do...
  7. Speed test via command line

    in Windows 10 Network and Sharing
    Speed test via command line: I need to test the speed of an Internet connection.I can test it by connecting to sites line fast.com or speedtest.net, but I want to perform a continuous test and to save the results on a file.I created a PowerShell script to run ping every 30 seconds and it works fine, but...
  8. uwp apps not opening

    in Microsoft Windows 10 Store
    uwp apps not opening: most of the universal windows platform apps windows store apps won't open on my pc for some reason, though system apps such as quick assist, windows defender, settings, and windows sandbox do open. is there a reason this happens and a fix for this issue? video demonstration:...
  9. UWP Apps not opening

    in Windows 10 Software and Apps
    UWP Apps not opening: Hello, I changed the permissions of the WindowsApps folder, as i was trying to edit some of the files, however now the apps will not open. I am sure that this is not due to me modifying any files. Is there a way to restore the permissions, or what permissions need to be...
  10. Run a scheduled task via command line via command line

    in Windows 10 Support
    Run a scheduled task via command line via command line: i want start a Run a scheduled task via command line like this: Code: %SystemRoot%\system32\taskschd.msc /Run /TN "RegIdleBackup" when i run the cmd in the prompt as admin the shedular task GUI pop up but the task not start. Is there a solution? Is the...