Hi,
I'm trying to develop a program in c# which suppose to create new invisible desktop and there spawn mstsc.exe with configuration file in order to connect to remote internet explorer which ive published from windows machine using remoteapp.
when i spawn the mstsc in my original desktop it works fine and it connects to the internet explorer but when i spawn this programatically in the new desktop it spawn the mstsc process but stay stuck on connecting to <machine name> and i cant interact with the remoteapp.
my flow:
1. createdesktop
2. ConvertStringSecurityDescriptorToSecurityDescriptor - low integrity level
3. GetSecurityDescriptorSacl
4. SetSecurityInfo - to the new desktop handle
5. create explorer process on the new desktop
6. setthreaddesktop to the new desktop handle
7. create process "mstsc <conf file>" in the new desktop
what im missing?
why my new desktop doesn't work like my original desktop?
why when im running explorer in my new desktop i dont see the wallpaper and my user desktop? in only see the file explorer
thanks.
I'm trying to develop a program in c# which suppose to create new invisible desktop and there spawn mstsc.exe with configuration file in order to connect to remote internet explorer which ive published from windows machine using remoteapp.
when i spawn the mstsc in my original desktop it works fine and it connects to the internet explorer but when i spawn this programatically in the new desktop it spawn the mstsc process but stay stuck on connecting to <machine name> and i cant interact with the remoteapp.
my flow:
1. createdesktop
2. ConvertStringSecurityDescriptorToSecurityDescriptor - low integrity level
3. GetSecurityDescriptorSacl
4. SetSecurityInfo - to the new desktop handle
5. create explorer process on the new desktop
6. setthreaddesktop to the new desktop handle
7. create process "mstsc <conf file>" in the new desktop
what im missing?
why my new desktop doesn't work like my original desktop?
why when im running explorer in my new desktop i dont see the wallpaper and my user desktop? in only see the file explorer
thanks.