(Print this page)

New article: Start a process using different credentials
Published date: Saturday, August 31, 2019
On: Moer and Éric Moreau's web site

I just published my latest article.

That one has been on my to-do list for quite some time but has always been pushed back lower on the list. Now because it is a bit quieter during the summer, I finally set some time aside to solve that issue.

My problem is that I was trying to start a process using different user credentials from my .Net application. It sounds easy especially that the Start method of the Process component provides all the overloaded methods to specify a user id and a password. That’s what I was thinking until I tried it and got the (in)famous “The directory name is invalid” exception.

You can read this article from https://www.emoreau.com/Entries/Articles/2019/08/Start-a-process-using-different-credentials.aspx

(Print this page)