Solved

Force Program To Open Multiple Instances When Running Terminal Services.

Posted on 2010-08-26
2
1,179 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

919 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now