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

Doug
@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
 
 
:NAV5
start "test" "C:\Program Files\Microsoft Dynamics NAV\CSIDE Client\fin.exe" servername=DDFnav5server
exit
 
:NAV2
start "test" "C:\Program Files\Navision Financials\fin.exe" servername=navserver
exit

Open in new window

LVL 3
dcohnAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Cláudio RodriguesConnect With a Mentor Founder 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
0
 
Cláudio RodriguesFounder and CEOCommented:
Get something like AppLauncher or 2X ApplicationServer. In your case I guess AppLauncher would be a better deal.
http://www.applauncher.com

Cláudio Rodrigues

Microsoft MVP
Windows Server - Terminal Services
0
 
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.


0
 
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.
0
All Courses

From novice to tech pro — start learning today.