Unable to access printer queue or printer property when alternative shell is used

David Lechevalier 1 Reputation point
2022-09-29T14:07:16.983+00:00

Hey,

When we access a RDP server using an alternate shell, we are not able to access the printer queue using the new Settings panel.
It return a permission denied. This test was done using local administrator

246018-image.png

Accessing the printer queue using the control panel (the old way) is possible.

In this exemple, the alternate shell used is explorer. I select it to simplify reproduction steps.
It is configured using this reg file

Windows Registry Editor Version 5.00  
  
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList\Applications\explorer]  
"CommandLineSetting"=dword:00000001  
"IconIndex"=dword:00000000  
"IconPath"="C:\\Windows\\explorer.exe"  
"Name"="explorer.exe"  
"Path"="C:\\Windows\\explorer.exe"  
"RequiredCommandLine"=""  
"ShortPath"=""  
"ShowInTSWA"=dword:00000000  
"VPath"=""  
  
  

the mstsc client is started with the extra option

alternate shell:s:explorer  

The issue only occurs when client specify the shell to use.
If I put this alternative shell in the registry using HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon: shell=explorer, it works

Did I miss some registry/GPO configuration ?

Thank you for your help

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