Windows 2019 Desktop Experience lost?

Tal Hillel 0 Reputation points
2023-10-25T14:21:52.63+00:00

Hi,

We have Windows Server 2019 desktop experience installed. however, using the following powershell command:

New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -Force

it changed the system shell from desktop experience to power shell...

How do I change it back to desktop experience?

Thanks!

Tal

Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-10-25T14:33:40.26+00:00

    Might try restoring a backup of

    HKEY_LOCAL_MACHINE\SOFTWARE\OpenSSH

    before the edit.

    --please don't forget to close up the thread here by marking answer if the reply is helpful--


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.