As @AndresRohrAtlasInformatik noted, the decision made does not work with Windows Vista and later.
So, my solution is to "just" launch the explorer in the form of a hidden window, go to the network drive and close the explorer. The latter is a bit more complicated (see here ), because the researcher has a very specific behavior for several windows.
ProcessStartInfo info = new ProcessStartInfo("explorer.exe", myDriveLetter); info.WindowStyle = ProcessWindowStyle.Hidden; Process process = new Process(); process.StartInfo = info; process.Start(); Thread.Sleep(1000);
casiosmu
source share