/build/static/layout/Breadcrumb_cap_w.png

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
  • which server version are you on? You could test this by running a script like:
    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
  • i am seeing that user used in the log. That is how I found out that my current user setting was not working and the scripts are running as system.

    Any other logging ideas? - DLCurtis 7 years ago

Answers (1)

Answer Summary:
Posted by: akmagnum 7 years ago
Red Belt
0

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
      • Interesting, I am running Chrome so I will give IE a shot and see what happens. - DLCurtis 7 years ago
      • This totally worked. Rewrite this as a new answer and I will mark it as good - DLCurtis 7 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ