Announcement

Collapse
No announcement yet.

automatically starting a program upon login

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • automatically starting a program upon login

    Hello,

    I have a vbscript that i am launching when anyone logs into this 2008 R2 terminal. It calls a .url file in there roaming profile to launch an application called Navision.

    When they login they get the following.
    Unable to start Navision Client (program name C:\Program files(x86)\Microsoft Business Solutions-Navision\Client\
    finsql.exe).

    I am able to launch the application just fine, it just seems to have issues launching the url file that opens this application. Below is the content in the url shortcut. If i login with an admin account on the console and try and launch the url it gives me the same error.

    navision://client/run?serv
    ername=server20%26database=NaviLive%26company=Comp any%20test,%20Inc.%26target=Form%2050133%26servert ype=MSSQL

    Any suggestions would be appreciated.

  • #2
    Re: automatically starting a program upon login

    Hi,

    The method that the software is working in your environment may lead to security / performance issue.
    You can try to add the URL as a Trust Site in the IE, but this may lead to a security issue.
    Best Regards,

    Yuval Sinay

    LinkedIn: https://www.linkedin.com/in/yuval14, Blog: http://blogs.microsoft.co.il/blogs/yuval14

    Comment


    • #3
      Re: automatically starting a program upon login

      Hi Yuval,

      The url is supposed to launch the application not IE.

      This actually explains the shortcut we are trying to use.

      http://plataan.typepad.com/microsoft...uts_in_na.html


      By the way this shortcut works just fine on a terminal server 2003 that we have in production.
      Last edited by derk; 12th April 2013, 21:21.

      Comment


      • #4
        Re: automatically starting a program upon login

        Please try my previous recommendation. The Trust Zone may control the security on running commands in the OS level.
        Best Regards,

        Yuval Sinay

        LinkedIn: https://www.linkedin.com/in/yuval14, Blog: http://blogs.microsoft.co.il/blogs/yuval14

        Comment


        • #5
          Re: automatically starting a program upon login

          That didn't work.

          Comment


          • #6
            Re: automatically starting a program upon login

            I setup a 2012 server and it did the same thing, but i can launch the url file manually.

            Comment


            • #7
              Re: automatically starting a program upon login

              Please try to contact the software vendor support...
              bdw... I guess that your company using a old version of this product... You can try to upgrade to the latest version...
              Best Regards,

              Yuval Sinay

              LinkedIn: https://www.linkedin.com/in/yuval14, Blog: http://blogs.microsoft.co.il/blogs/yuval14

              Comment


              • #8
                Re: automatically starting a program upon login

                I have actually opened a ticket with Microsoft.

                Comment


                • #9
                  Re: automatically starting a program upon login

                  Microsoft has been unable to figure this out.

                  It works via the console, just not when you RDP into the server.

                  i even tried to bring it up via IE and this is the message i get.
                  Attached Files

                  Comment


                  • #10
                    Re: automatically starting a program upon login

                    Please request from MS to move the support ticket to higher support level....
                    Best Regards,

                    Yuval Sinay

                    LinkedIn: https://www.linkedin.com/in/yuval14, Blog: http://blogs.microsoft.co.il/blogs/yuval14

                    Comment

                    Working...
                    X