An attempt to start a process with a different access token, without success, is performed as a user with no rights.
using (WindowsIdentity identity = new WindowsIdentity(token))
using (identity.Impersonate())
{
Process.Start("blabla.txt");
}
How to do this job right?
source
share