Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6554 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Does anyone know of a way to determine if the user is currently in a Citrix/Terminal Services session or not?

I have customers with a mixed bag of local workstations connecting directly to the Server and remote workstations connecting via a Citrix/TS server.

I really would like to tell, via script or calculation, whether the user is in a Citrix/TS session or not.

Any suggestions would be greatly appreciated including command line code.

Posted

Probably a couple of different ways of doing this. But the one that comes to mind is to use the environment variable SESSIONNAME. If you do "echo %sessionname%" in the command prompt you should get "Console" for a non-TS session and "RDP-xxxxx" for a TS session.

Now to get that info into FM is another story, since FM doesn't allow easy integration of windows scripting but it can be done with a VBscript plugin, or with a VBscript triggering a FM import script.

Posted

THANKS! I will definitely try that.

FYI, there is actually an easy way to get that info into FM you can use a free plug-in called SpiderShell from FMWebschool. Here is their post:

http://fmforums.com/forum/showtopic.php?tid/180416/

This topic is 6554 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.