Solved

Windows to automatically log off when Citrix session ends

Posted on 2013-02-07
3
1,114 Views
Last Modified: 2013-03-08
We currently use Citrix receiver 3.2 Enterprise which I have managed to get functioning with Pass through authentication over an ICA file using Windows Embedded machine. At the moment, I have the ICA file on the desktop to launch our Citrix full desktop session. Is there a way to log off Windows using a script when the Citrix session ends. I know there a service called Receiver.exe so is there a way to kick off a script to log off windows when this exe terminates? Only problem is the Receiver.exe file does not start until the ICA file is started.

Thanks all.
0
Comment
Question by:MSSC_support
3 Comments
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 38866087
I'm not sure about this but here are my 2 cents.. change the logon icon to execute a script i.e.
adjust as required.
--- citrix.ps1
start-process -wait <pathto ica> citrix logon
shutdown -l -t 0
---
citrix.vbs

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "c:\progra~1\citrix\icacli~1\pn.exe /APP desktop", 1, True
Set WshShell = Nothing
shutdown -l -t 0
-----

http://bit.ly/UGJvJP
http://bit.ly/UGJB4k
0
 
LVL 24

Accepted Solution

by:
Coralon earned 500 total points
ID: 38870375
Yes, this is fairly simple to do.  I answered this question before on this.  http://www.experts-exchange.com/Software/System_Utilities/Remote_Access/Citrix/Q_27830944.html

Scroll down, and you'll see my vbscript to do exactly this.

Coralon
0
 

Author Closing Comment

by:MSSC_support
ID: 38965610
Great stuff
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question