Remotely start an application in users context
I'm trying to make a vbs script to kill explorer.exe (this bit works), and then start it again (this bit I can't do). However it must run in the context/with permissions of the user that is logged on. (Can be a random user)
Explorer.exe crashes fairly often on our old machines, and restarting the application remotely works, however an automated solution would be ideal.
At the moment we use pskill.exe to kill explorer on the remote machine, but NetSupport's "Execute at client" to start it again, and it loads as that user logged on. However I cannot replicate this using PsTools or any other way in my knowledge.
Can anyone help?