SYMPTOMS When connecting remotely with Remote Desktop Connection, the environment variables
CLIENTNAME
andSESSIONNAME
are added to each process that is started.If you set the Folder Option "Launch folder windows in a separate process" and later launch an application from an additional Explorer window, the application will not see these additional environment variables.
CAUSE The additional Explorer window is not a child window of the parent Explorer.exe process, but launched from the system process. Therefore it does not inherit the environment from the Explorer main window.
RESOLUTION If your application relies on these variables, remove the folder option "Launch folder windows in a separate process".
Cotação: