Start a program in Terminal Services Win2K3

I reference question ID:22457941.

I have the same issue when I attempt to use JPSOFT TakeCommand instead of a Batch file.

I want something that is not so ugly to present to the user a choice of starting two spplications.
I have written a rather crude cmd file (see snippet of it below)

This works and does what I desire.

This server is NOT in a domain.  There are only 8 or 10 users that require this so editing their environment works.  It is a server that is remote hostyed running their accounting application.

I would love a sample of a VBscript that would give me a prompt with a choice for the user preferably to click one of two icons for application A or B and possibly a cancel as well.

Thanks very much

@echo off
mode con cols=60
mode con lines=10
CHOICE /C 52 /M "Press 5 for Navision5, 2 for Navision2
if errorlevel 255 notepad.exe
if errorlevel 2 goto nav2
if errorlevel 1 goto nav5
start "test" "C:\Program Files\Microsoft Dynamics NAV\CSIDE Client\fin.exe" servername=DDFnav5server
start "test" "C:\Program Files\Navision Financials\fin.exe" servername=navserver

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Cláudio RodriguesFounder and CEOCommented:
Get something like AppLauncher or 2X ApplicationServer. In your case I guess AppLauncher would be a better deal.

Cláudio Rodrigues

Microsoft MVP
Windows Server - Terminal Services
dcohnAuthor Commented:

I understand what is available at a price.  A Microsoft MVP telling me to buy lousy third party products.  Neither of those products are well written from my experience.  2X Application server is awful.

I already have a working solution but it was ugly.  If I  knew how to write in VBscript I would have no issues.

I was able to fix my issue with 4NT and create a Gui menu that comes up after login for which ever users I set it in their environment  (with AD you can use GPO's).

It works perfectly.
Basically my users type an answer to a question and get the version they desire.

Perfect and does not cost a cent.

Cláudio RodriguesFounder and CEOCommented:
So again, use your solution. I have no idea why you posted the same question again on another thread and replied with the same answer (mine is free, does not cost a cent).
Again, to each its own.
I have no idea why you think the 2X ApplicationServer is awful (I was one of the guys behind the product as 2X acquired my company, Terminal-Services.NET and changed our WTSPortal to become the 2X ApplicationServer).
There are many other solutions out there that are cheaper or even free.
Again, use whatever you like, whatever you feel comfortable and happy.
If your solution is good for you, go for it. But as I saw another thread where you are not really 100% happy with your solution I thought a third party solution was the way to go.

Claudio Rodrigues

Microsoft MVP
Windows Server - Terminal Services

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dcohnAuthor Commented:
Sorry.  I posted that to the wrong thread actually.

I am a dummy.

I was not happy with 2X cause the users could not figure out what to do with it and it would have required a manual install at each station.   Not very slick group of users but that is far from unusual.

It was a web link where you have to download the 2X app if I recall correctly.  Then they could run the apps that we setup for them depending on what group they were in.    Is that 2X???

It worked surely but in the testing 2 out of 3 users could not get it done without assistance.

Again I should not have replied.  I am sorry.  You were surely just truly to assist.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.