Powershell: Unable to change font

Created on 3 Jul 2020  路  3Comments  路  Source: PowerShell/PowerShell

Steps to reproduce

Attempting to change font in the PowerShell console.
Right-clicked the PS icon at the top left-hand corner.
Clicked 'Properties' on the drop-down menu.
Selected the 'Font' tab.
Set font to 'Courier New' and size to 18.

## Expected behavior

Font and size will be changed.

## Actual behavior

```An error message box is displayed: "Unable to modify the shortcut: C:\ProgramData\Microsoft\Start Menu\Programs\PowerShell 7 (x64).lnk. Check to make sure it has not been deleted or renamed."
The shortcut does exist.
If I relax the shortcut's security restrictions, I can sucessfully change the font/size.
But the change does not apply to an Administrator-level console.
This must be changed separately.

Environment data

```PS D:\Users\Tony> $PSVersionTable

Name Value
---- -----
PSVersion 7.0.2
PSEdition Core
GitCommitId 7.0.2
OS Microsoft Windows 10.0.19041
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0鈥
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

```

Issue-Question Resolution-Answered

Most helpful comment

This shortcut is owned by the system (as it is in a system-owner folder). This is by design if the powershell installer is installing the shortcut to a system folder.

All 3 comments

This is more the purview of Windows / conhost than anything PowerShell can really affect. You might need to file this as a UserVoice ticket, I think.

This shortcut is owned by the system (as it is in a system-owner folder). This is by design if the powershell installer is installing the shortcut to a system folder.

This issue has been marked as answered and has not had any activity for 1 day. It has been closed for housekeeping purposes.

Was this page helpful?
0 / 5 - 0 ratings