Citrix PNAgent

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1102
    Avatarmikev
    Member
    • Total Post: 157
    • Jacked into The Matrix
    • ★★★★★★

    hi,

    i have installed citrix PNAgent as part of my V90LE image.

    when the unit boots up the PNAgent starts up automatically and asks for domain credentials to populate list of applications.

    i have only standard v90LE image and the units are deployed to different locations. my question is – is there is way to send domain credentials (username, password and domain name) thru rapport script and push it to the client?

    if i can create one script, i can then create multiple script as per locations and push it from rapport so that users dont have to enter the credentials everytime they start the unit.

    thanks.

    #12498
    Avatarthinkthin
    Member
    • Total Post: 1707
    • Jacked into The Matrix
    • ★★★★★★

    Hi,

    Yes you can do this but its a SERIOUS security risk – is this something you really want to do?

    Equally as bad but also an option is deploy a .ICA file with the details in the file,

    Cheers,
    -TT

    #12501
    Avatarmikev
    Member
    • Total Post: 157
    • Jacked into The Matrix
    • ★★★★★★

    thanks mate.

    yes – i really want to do this and i am aware of the risk as well. can you pls advise how can i achieve this? – just creating a package and pushing the credentials.

    thanks.

    #12506
    Avatarthinkthin
    Member
    • Total Post: 1707
    • Jacked into The Matrix
    • ★★★★★★

    OK, but you were warned 🙂

    I would not use the same ID to launch every session, you need a different ID for each terminal. Why? Bad things happen what you have all the same user ID logged into the Citrix Server, trust me.

    So either have a different Raport script for every box OR make a very simple VBscript to take the terminal name and write this value to PNagent as the user ID.

    Here are the steps:

    1/ Export the client names from WDM and use the one of the scripts on Technet to create user accounts in AD based on the terminal name and with the same password.

    2/ Next create a simple package that writes the terminal name (%computername%) as the user in PNagent and a fixed password

    In this way you can use the same Rapport script for every terminal and you only need to do it once. Now this is easy to do and I have done it for the full Citrix client but I am not sure where PNagent keeps the password so time to Google some more. Post back if you are not sure how to build the script,

    Cheers,
    -TT

    #12507
    Avatarmikev
    Member
    • Total Post: 157
    • Jacked into The Matrix
    • ★★★★★★

    Thanks TT.

    I have 10 locations and 15 terminals in each location. The users access the same set of applications and so i am using a generic id one for each location to log into citrix PNAgent. so, when i deploy units i can package and send the generic id, password and domain credentials from WDM to respective locations.

    in each location the Wyse device id would be different but one generic account each location to launch citrix application thru PNAgent.

    So, in my case i know all the details i need to put in the script – i.e. the generic user id, password and domain name.

    the challenge for me is to create a script for each location with the generic user id, password and domain name.

    can you pls give me some hand on where to start writing a script?

    thanks.

    #12508
    Avatarthinkthin
    Member
    • Total Post: 1707
    • Jacked into The Matrix
    • ★★★★★★

    Easy, just extract the registry keys you need and then build the script with the merge registry command:

    MR “ica.rg””User”

    This will do it! “User” is the name of the autologin user account on the terminal.

    As for the generic ID that will work but its hard to work out which user is on which terminal. Also if the connection drops there is not guarantee they will end up with their own connection,

    Cheers,
    -TT

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.