locked
Best Practice to autorun a .jnpl file when user logon RRS feed

  • Question

  • Hello,

    I am a beginner and I am trying some tests.

    I have a .jnpl file that start a service/connection to a server website (http//:17x.xxx.xxx.xxx:8080/pippo/apps/pippo-start.jnpl) and after this i have the icon in the left right corner that tell me if the program has started or not.

    I would like that a group of users in my organization when they login, this connection starts automatically

    I thought that I can do this simply by copying in C:\nameofapp\pippo.jnpl and then creating a shortcut from this and put this in the autostart folder for the user or all users.

    Another way could be to directly create a shortcut and putting the url.. but i am afraid that it will open IE to download the .jnpl file instead to open it directly.

    Another way could be to use a GPO under "Registry": to dont save a file or folder in C: and put this file on our network folder "\\networkshare\Pippo1pippo.jnpl" , then create a registry under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run with a new value "\\networkshare\Pippo1pippo.jnpl"  BUT it doesnt work (i am afraid that it is not possible to start a file from a network folder.

    I wish somebody can try to give me some good advice to learn how to do this kind of operation in the best way.

    Thank you

    Monday, July 20, 2020 5:46 PM

All replies

  • If you have got domain, you could put you script as logon gpo.
    Monday, July 20, 2020 5:51 PM
  • If you have got domain, you could put you script as logon gpo.

    May you show me some examples please?

    However, I did some test and I understood that it is possible to add a registry key manually in the client and it works:

    here I added HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

        "javaws.exe http://17x.xxx.xxx.xxx:8080/blabla/blabla/pippo.jnpl"     and it starts the application automatically, BUT if I do it by registry of GPO it doesn't work.
    What is wrong?
    It could be the best solution because I have nothing to copy on my network or local folder.


    Monday, July 20, 2020 6:20 PM
  • Hi,

    Thanks for sharing here!

    For how to assign a logon script, you can refer to the following way:

    https://petri.com/setting-up-logon-script-through-active-directory-users-computers-windows-server-2008

    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

    This "Group Policy" Forum will be migrating to a new home on Microsoft Q&A, please refer to this sticky post for more details.

    Regards,
    Fan



    "Group Policy" forum will be migrating to a new home on Microsoft Q&A!

    We invite you to post new questions in the "Group Policy"  forum's new home on Microsoft Q&A!

    For more information, please refer to the sticky post.


    Tuesday, July 21, 2020 1:32 AM
  • Hi,

    Welcome to share your current situation.

    Please feel free to let us know if you need further assistance.

     

    Best Regards,

    Fan


    Please remember to mark the replies as an answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Thursday, July 23, 2020 1:17 AM
  • Hi

    I am checking to see if the problem has been resolved.

    If there's anything you'd like to know, don't hesitate to ask.

    Best Regards,

    Fan


    Please remember to mark the replies as an answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Friday, July 24, 2020 6:45 AM