Run script as user after login
I have an installer that has to ran as the user. This is a profile based install. So i need to verify that it is not installed and then start an installer.
I have worked out the install script. It run great under the run now. But when I set it to run at login, the script fails. I think this is due to logon script run as local system. I need this to run as current user. As the install happens under the user profile and not in a general location.
2 Comments
[ + ] Show comments
Answers (1)
Answer Summary:
Please log in to answer
Posted by:
akmagnum
7 years ago
Top Answer
You can change the options fro "Windows run as" in the script.
Set it to run as logged in user..
Comments:
-
I am doing this but it still fails the install with the schedule script but will work with run now. - DLCurtis 7 years ago
-
I had similar issues with scheduling scripts a few
months ago. Got in touch with dell support, and theey told me to change browser when scheduling.
I was using firefox at the time, which had a problem with scheduling. So was told to switch to explorer, which i did and.....voila, schedules was working.
They seem to be aware of the problem and say it will be resolved with the next update..... which should be V7.0. - akmagnum 7 years ago
whoami > user.txt
and seeing the user that shows up on log on (even though I understand your settings are correct) - JasonEgg 7 years ago
Any other logging ideas? - DLCurtis 7 years ago