Sign in to follow this  
Followers 0
nathancook

My script stops when user logs off

2 posts in this topic

Hi,

I have a AutoIt exe that is executed as a System user (Run as unsecure system user) by ZENworks 7.

In the script it runs

Shutdown(0, "Log off user for upgrade)

This is followed by a sleep for 120 secs.

This works just fine but the issue is that the exe that it runs under is stopped during the log off process, this then stops the rest of the installs running and therefore the workstation is not upgraded.

Has anyone seen this before? Or perhaps know of a reason for it and a fix?

Thanks

Nathan

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0