Jump to content

Check for Citrix/TS


Matt Klein

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

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 6338 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.