"Unable to modify the shortcut"
See original GitHub issueSteps to reproduce
Right-click title bar of PowerShell 7.1.2 (or any 7.x.x version) and choose Properties. Make any number of changes in any of the tabs, then click OK.
Expected behavior
The expectation is that these settings would be saved.
Actual behavior
An error occurs:
---------------------------
Error Updating Shortcut
---------------------------
Unable to modify the shortcut:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PowerShell\PowerShell 7 (x64).lnk.
Check to make sure it has not been deleted or renamed.
---------------------------
OK
---------------------------
I have seen solutions around the internet which involve steps like creating a new shortcut to the existing shortcut, yada yada (stuff that shouldn’t be necessary).
Environment data
>$PSVersionTable
Name Value
---- -----
PSVersion 7.1.2
PSEdition Core
GitCommitId 7.1.2
OS Microsoft Windows 10.0.18363
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Unable to modify the shortcut when changing PowerShell ...
The easiest workaround is to simply right-click the PowerShell tile and select “Run as administrator.” This is not really satisfying because you ...
Read more >How to fix Error Updating Shortcut when changing Windows ...
The solution to this problem is to simply run PowerShell as administrator and change the PowerShell Properties. If done properly, the next time ......
Read more >Unable to modify the (PowerShell) shortcut error
Go to your Desktop and right click the icon and do Properties, edit your terminal to your liking. Change the Target to be:...
Read more >I am unable to customize Command Prompt.
Hello, I have a problem when customizing Command Prompt for some reason. I chose my colors and everything, but when I wanted to...
Read more >Changing Windows app shortcut properties without ...
I'm trying to change font/layout/etc shortcut properties of a specific console app. For example, PowerShell 7. The shortcut resides in C:\ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue has been marked as answered and has not had any activity for 1 day. It has been closed for housekeeping purposes.
Didn’t realize @iSazonov teed this up for closure. Great. Oh well, moving on again. Someday… It maybe Microsoft will just revive Windows PowerShell again and fix things there.