Link to home
Start Free TrialLog in
Avatar of alaayehya1
alaayehya1

asked on

Log off session script

I need to create a script which log off all the users sessions in citrix server at night.can anybody help me in such script?
Avatar of NJComputerNetworks
NJComputerNetworks
Flag of United States of America image

Avatar of alaayehya1
alaayehya1

ASKER

I need to logoff both the active sessions and the disconnected sessions.disconnecting the sessions will not help me solve my problems and maintains the profiles on the server.
Take a look at this one.
http://www.dabcc.com/article.aspx?id=2859

You could create a batch file and place it on the server that calls the command from the site above.
You then create a scheduled task to run the batch at the time you desire.
Here is the link to the site that has the latest version of the file described in the link I provoded above:

http://www.ctrl-alt-del.com.au/CAD_Utils.htm

Scroll down near the bottom of the page to find it. It says it allows you to logoff all sessions and/or disconnected sessions.
thank you bigbunk390

but here i have 1 more question can i write this in a script  as batch file then create task and execute it from the server or no I need to download the freeware and setup it on the server.

would you please tell me how we write this in a script?

thanks
ASKER CERTIFIED SOLUTION
Avatar of bigbunk390
bigbunk390

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
it's partially solved