2

I know how to use RegEdit to change Windows 10 File Explorer "Edit" context menu action for images to any image editors like Paint.net. But I have no idea about how to change it to Windows Store version of Paint.net. I have already tried the value like

"explorer.exe" "shell:appsFolder\dotPDNLLC.paint.net_h55e3w7q8jbva!dotPDNLLC.paint.net %1"

But it is not working.

2
  • research how to start a Windows Store app (WUA) from the command line, there are ways to do it with PowerShell. Commented Feb 20, 2018 at 2:47
  • I can use explorer.exe shell:appsFolder\dotPDNLLC.paint.net_h55e3w7q8jbva!dotPDNLLC.paint.net to open Windows Store version of Paint.net, but when I add another arguments after it, it will open explorer.exe but not Windows Store version of Paint.net. Commented Feb 20, 2018 at 9:33

3 Answers 3

1

Since the executable itself doesn't seem to be a UWP app, you can launch it with arguments using:

%ProgramFiles%\WindowsApps\dotPDNLLC.paint.net_4.21.6589.0_x64__h55e3w7q8jbva\PaintDotNet.exe %1

The location of the app can be found by typing in PowerShell:

(get-appxpackage dotPDNLLC.paint.net).InstallLocation

Note: You might need to take own of the WindowsApps folder. Refer to this answer on how to do it.

10
  • I change HKEY_CLASSES_ROOT\Paint.Picture\shell\edit\command and HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit\command to "%ProgramFiles%\WindowsApps\dotPDNLLC.paint.net_4.21.6589.0_x64__h55e3w7q8jbva\PaintDotNet.exe" "%1", when I select png, jpg, bmp and open with "Edit" context menu action, it shows error messagebox says Access is denied. Commented Feb 21, 2018 at 5:13
  • You might need to do this: superuser.com/a/1100591/870655 Commented Feb 21, 2018 at 9:10
  • I thought about it, but I'm worried this might let system become abnormal. Commented Feb 22, 2018 at 7:48
  • @YurinaShirahane It won't make your system abnormal, it will run normally. I have tried that answer and my system works fine without problems. Commented Feb 23, 2018 at 5:48
  • But why Microsoft locked the access of WindowsApps folder? Commented Feb 28, 2018 at 3:44
1

I just went into HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell, created a key named Edit with PAINT.NET, added another key called command and pasted into the Default value this: "location_of_the_executable" "%1" For me it seems to work, I hope for you too!

0

I know this is an old thread, but I found it quite often while searching for the answer.

I have now found the exact registry entries - does not require taking ownership of the windowsapps folder etc.

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\Edit with PAINT.NET]
"AppUserModelID"="dotPDNLLC.paint.net_h55e3w7q8jbva!dotPDNLLC.paint.net"
"PackageRelativeExecutable"="PaintDotNet.exe"
"Parameters"="\"%1\""
"ContractId"="Windows.File"
"DesiredInitialViewState"=dword:00000000
"PackageId"="dotPDNLLC.paint.net_4.200.7133.0_x64__h55e3w7q8jbva"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\Edit with PAINT.NET\command]
"DelegateExecute"="{BFEC0C93-0B7D-4F2C-B09C-AFFFC4BDAE78}"

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .