HI,
I was doing some impersonation using the LogonUser
as it was explained in numerous places.
(I used the great class library introduced here, but the prin
This smells like a problem with ProcessStartInfo.LoadUserProfile. It defaults to false, with the side effect that the started process will see the HKCU registry settings of your account, not the impersonated one. Office programs are not going to like this.
Beware that afaik you'll also have to set UseShellExecute to false to make this setting effective. That will hamper your ability to start Word by simply passing a .doc file as the file name. You'll need to use "winword.exe" instead.