?
Solved

Windows to automatically log off when Citrix session ends

Posted on 2013-02-07
3
Medium Priority
?
1,144 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 82

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 25

Accepted Solution

by:
Coralon earned 2000 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

771 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