Solved

Force Program To Open Multiple Instances When Running Terminal Services.

Posted on 2010-08-26
2
1,198 Views
Last Modified: 2012-05-10
I have two programs that interact with each other.

I use baymaster auto shop management software - which interfaces with
worlpac(a parts look-up program) to send the vehicle details to the parts catalog and a part number from the parts catalog back to baymaster.

I run a Windows Server with all clients using terminal services.  The
users log into the server and open baymaster and speed dial.

Baymaster opens an instance of the program for each user.
Worldpac only opens one instance.

When baymaster sends the vehicle details to the speed dial catalog it
does not send it to the speeddial the user is working in, within the
users session.  It always sends a random session

Ex.
5 users - 5 instance of Baymaster
             1 instance of Worldpac(even though all users can use
worldpac simultaneously.)

Can I force the speeddial parts program to open an instance for each users terminal server session?
0
Comment
Question by:swedishmotors
2 Comments
 
LVL 4

Accepted Solution

by:
zmorvik earned 500 total points
ID: 33533455
Sometimes, and I emphasize sometimes because it really depends on the way the application was written, this can work if you modify the shortcut and make a copy of the working program directory for the application.  In your case, you may need to do this for both apps, but I would test different settings to see if either would work.

The database would need to be stored in a location other than within the program directory.

For example.  

Find out where the "Start In" field of the current shortcut points.  Just right click the desktop icon and goto properties.  The "Start in" field is on the General tab.  Let's say for Baymaster this is C:\Program Files\Baymaster

You would copy the Baymaster folder to each user's profile directory.  On 2003 this would be
C:\Documents and Settings

2008 would be
C:\Users

Then you modify the shortcut that you have in the All Users\Desktop folder that points to Baymaster so that the "Start In" field points to %userprofile%\Baymaster

You could also change the "Target" field to point here if need be.

May have to do this for both programs.

It's not a "pretty" solution, but some application are just not meant to run on terminal services and this can be a workaround for some applications.

Also keep in mind that when you upgrade the application you will just need to copy the program files folder into each user profile again.

Typically, to make new user setup easier, we will also copy the application program files directory to the "Default User" profile so that when a new user logs in for the first time, they get a copy and we don't have to do it manually.

Hope this helps!
0
 
LVL 1

Author Closing Comment

by:swedishmotors
ID: 33618599
Thank you,
This what my software company said to do, your response was much more step by step.  Thank you.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question