How can I interact with the locally logged on user so I could copy files to the user's profile (like their desktop rather than the public desktop)? I set the package's RunAs to "Deploy User (Interactive)" and I thought this would cause the process to run as the logged on user so I could use Windows variables like %USERPROFILE%. But looking at Task Manager I noticed the process that starts does not have a user listed. So I redirected the set command to a text file and it looks like the interactive option still runs as the administrator's account, which make sense since that is what it is supposed to do. So how do you determine who is logged on and then use that info?
Please sign in to leave a comment.