Question process.start while impersonating


New member
May 12, 2009
Programming Experience
I'm new here and I work on an application that allows the user to create hyperlinks to files. I want to be able to launch whatever application is associated with that particular file type. Process.start seems to work for this when the user has rights to the drive.

However, in my application I am impersonating a user to access a drive that the actual user does not have access to and it is not working. I am able to use the impersonation to access files in other ways, just not to launch different applications. From what I've read, it sounds like process.start does not work with impersonating. The only other option I've found is to use StartInfo.UserName, etc. The problem with that is, it then requires me to turn StartInfo.UseShellExecute to false, which then means that I have to provide an exe, not a file.

Am I wrong in any of my thoughts above? Am I going about this wrong? Any help would be greatly appreciated!
Top Bottom