Lazy Diary @ Hatena Blog

PowerShell / Java / miscellaneous things about software development, Tips & Gochas. CC BY-SA 4.0/Apache License 2.0

Entries from 2024-12-28 to 1 day

Use Invoke-CommandInDesktopPackage as countermeasure of "failed to run: Access is denied"

Problem When you launch in some .exe in C:\Program Files\WindowsApps, sometimes you will get the error message like this: Program 'wsl.exe' failed to run: Access is denied At line:1 char:1 This error will happen even if you have launched a…