RemoteApp filte types associations

Alexander Alexandrov 96 Reputation points
2020-10-28T09:27:54.013+00:00

Hello!

I have Windows server 2016 with RDS.

I have published Notepad++ in RemoteApp. If I open the property of the published Notepad++, the File type Associations section is empty. And I need to add an extension .conf there.

I also tried adding it through the powershell, but got an error: "Set-RDFileTypeAssociation : The specified file type association cannot be modified because it does not exist".

Does anyone know how to make the required extensions appear in the File type Associations section?

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,505 questions
0 comments No comments
{count} votes

Accepted answer
  1. Alexander Alexandrov 96 Reputation points
    2020-10-28T11:38:00.547+00:00

    Understood. In the case of a Notepad++, it was necessary to synchronize the parameters between sections: HKEY_CURRENT_USER\SOFTWARE\Classes, HKEY_LOCAL_MACHINE\SOFTWARE\Classes and HKEY_CLASSES_ROOT.

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes.conf]
    @="conf_auto_file"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\conf_auto_file]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\conf_auto_file\shell]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\conf_auto_file\shell\open]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\conf_auto_file\shell\open\command]
    @="\"C:\Program Files\Notepad++\notepad++.exe\" \"%1\""

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad++.exe]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad++.exe\shell]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad++.exe\shell\open]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad++.exe\shell\open\command]
    @="\"C:\Program Files\Notepad++\notepad++.exe\" \"%1\""

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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