I 'm trying to share admin$ or c$ with my remote desktop, and need to apply some settings after or before start connecting. It could be done simply with mstsc setting tab. But it is completely unknown to me while going to deploy it's c# code. There is administrator permission on both devices and "net use" command does not work.
I use rdp activex control in Windows form application. Like below
AxMSTSCLib.AxMsRdpClient8NotSafeForScripting rdp;
.....
rdp.AdvancedSettings8.RedirectDrives=true;
It get connected after loading but no share drive will be stablished with my local computer. How to fix this. Thanks