Link to home
Start Free TrialLog in
Avatar of dcohn
dcohn

asked on

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

Avatar of Cláudio Rodrigues
Cláudio Rodrigues
Flag of Canada image

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
Avatar of dcohn
dcohn

ASKER


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.


ASKER CERTIFIED SOLUTION
Avatar of Cláudio Rodrigues
Cláudio Rodrigues
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dcohn

ASKER

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.