Sign in to follow this  
Followers 0
Joeke

Logoff user in Citrix/PowerFuse

2 posts in this topic

Hello scripting gods... :unsure:

I'm new to the scene as I started scripting via AutoIT since three days. Before that I never really had scripting experience, so you now know in which degree you should talk to me... :>

I've made a script which shows a user a EULA which he/she has to accept before they can use our production network.

The EULA has a timeout of 2 minutes, so they get logged off when they don't accept the EULA in that time.

The script works perfectly on my local machine!

My question now is (because I couldn't find it in the help/forum/wiki): How can a user logoff with the script in our Citrix environment?? Because the shutdown(0) doesn't work.

Is there another command for it? Or can I execute the command via another user in the script? (e.g. administrator?)

Any help would be much appreciated!

Share this post


Link to post
Share on other sites



After many tries of different things, I luckely found it out myself.. :unsure:

For those of you who have the same problem:

The Shutdown executable is blocked by PowerFuse and can't be enabled by any means.

You can use "logoff.exe" in the system32 folder, which logs off a user nicely and PowerFuse isn't going to block this.

Just use the "Run" command in your script with the command "logoff". That's all.. :>

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