Program fails to run under Remote Desktop Sessions


Recommended Posts

I am using Tabworks as I have said in another thread here and for the most part it works.

However it fails to run in a Remote Desktop environment. When I first tried running it in my 2003 VM with error reporting disabled (or holding in a queue) it just quit and I didn't know why. My Desktop 2003 did the same, until I tried on XP on my Tablet and it gave an error report prompt and then I enabled error reporting on my Desktop and tried again. I realized after a while that the reason it wasn't running is because I was using RDP, as everytime I was using RDP it didn't work but when I logged on normally it worked.

I think it was working in Windows 7 on my Tablet, even over RDP. But not in XP or 2003. I can logon normally and then start it and then RDP in but the icons appear funny, and if I close it by accident I have to go again. That is not very practical.

Maybe someone here can try it and see if they can reproduce the error and solve it...

This is some ancient software right? Well I'm not going to try it, but if its so ancient, you could install it in a VM (Like Windows 7 XP Mode even, Microsoft Virtual PC is plenty for this) and see if it works in there locally.

If it works, then you can probably RDP and launch the VM to run the ancient program. Since its a VM, it should not matter that its RDP, the program will be insulated from that. Heck you could run it in Windows 98 which was DOS based so the ancient software should love it.

I didn't use the add programs wizard, I just ran the installer, actually on Windows 7 the installer doesn't work (but the program does) so I had to copy the files from \Program Files from my 2003 VM...

Would installing it using the Wizard there make it work?

  On 24/02/2010 at 03:36, mpg187 said:

It's not that ancient. The 3.1 version was ancient.

I have been running it in a VM and it does matter if you use RDP to connect to it. I know it works normally, but not over RDP and I need it to work on RDP...

It is ancient. Find a replacement. For the love it's for 3.1 and 95.

you fail to miss the point of the install process. It changes rights on files and the registry on files that get installed in the install process. Old 3.1 programs don't put files in program files, they don't modify the registry, and they don't put files in windows or system32 folders. The install mode gives rights to those files and directories for terminal server users to be able to execute properly. Which is why you can run on the desktop and not in remote desktop.

It isn't as simple as you think.

What do you mean "Install mode"

I have it installed in Vista and Seven and there are registry entries. I understand that there are programs that need to be installed with an installer, but I don't think this is one of them...

I have installed it on my Desktop using the installer and it still doesn't work in RDP...

The error report mentions Ntdll.dll if that helps...

you know what I am just posting the link....ask questions as needed.

http://support.microsoft.com/kb/320185

this applys to 2003 and 2008 server as well.

this sort of answers it, but it is much more than just "ini" files

http://www.conetrix.com/Blog/post/Using-Terminal-Server-Install-Mode.aspx

  On 24/02/2010 at 04:46, SugarCain said:

You need to do some homework son.

I have done my homework, and I have about 500 terminal servers under my belt, with aoubt 200 citrix clusters.... ask the question. don't post stupidity.

A lot of installs put the servers in install mode, however there are some that do not. Office, for instance, will initiate the install mode on a terminal server, legacy apps will not.

  On 24/02/2010 at 04:54, sc302 said:

I have done my homework, and I have about 500 terminal servers under my belt, with aoubt 200 citrix clusters.... ask the question. don't post stupidity.

Well... I have 3000+ workstations as well as a Citrix cluster under my belt. Don't be a wise guy. Answer the question. It's an OLD piece of software. Time to move on. It's not going to run.

OK smartie pants, if it can run on the desktop what is stopping it from running in a remote desktop? other than the files needed to run not being available to the users? I have gotten plenty of legacy apps to run as a necessity in many different environments, just because you say it can't run, doesn't mean it can't run.

3000+ workstations, I dealt with more than that at the hospital I used to support.....lots of legacy make work apps there.

  On 24/02/2010 at 05:23, sc302 said:

OK smartie pants, if it can run on the desktop what is stopping it from running in a remote desktop? other than the files needed to run not being available to the users? I have gotten plenty of legacy apps to run as a necessity in many different environments, just because you say it can't run, doesn't mean it can't run.

3000+ workstations, I dealt with more than that at the hospital I used to support.....lots of legacy make work apps there.

It's a 16Biit app. Get it to work then i''ll concede.

I have a very old app called vinassist it was written for dos 16 bit (police app to verify vin tags). I have a 16 bit mckesson app that works fine.

You seem to give up too easy. Oop its 16 bit can't work, next....

Maybe I am arrogant but I am willing to try things before just throwing in the towel and using the excuse "it's a 16 bit app and won't work".

Its funny mckesson said the same thing, I did it then they changed their tone to it isn't supported.

Wow so much willy-waving I'm not sure I want to post.

But I'm stupid, so here goes.

*always* put your terminal server in Install mode. Even if you think the package does it there are heaps of install and LUA bugs you can eliminate by doing this.

Remote desktop doesn't access the profile in the same way, if you want to know if your app is compatible then take a read of this:

http://blogs.msdn.com/rds/archive/2010/01/19/how-to-detect-rds-specific-application-compatibility-issues-by-using-the-rds-application-compatibility-analyzer.aspx

And take a look at App-V, formerly known as SoftGrid, it takes care of a number of the challenges delivering apps via RDP by virtualising chunks of the filesystem and registry. Avoid Med-V or XP-Mode unless it's an OS architecture issue, if it runs via the local console session you've already ruled that out.

Hopefully people will put their e-peens in the inert position now, the OP can investigate his problem and we can all move on with our lives :)

Re 16-bit, as most terminal server admins are now looking towards 64-bit OSes they will find 16-bit apps are incompatible as a whole, SysWOW64 which is the wrapper for legacy processes only supports 32-bit apps on a 64-bit subsystem. Bearing in mind Server 2008 R2 isn't available as x86 16-bit apps are finally left out in the cold.

I have Tabworks running under Windows 7 64 But, just the installer doesn't work. Ironically it works in RDP on Windows 7.

I can't get it to work in Vista, XP, or 2003 under RDP.

http://support.microsoft.com/kb/320185

Do the steps there apple to XP as well?

EDIT:

  Quote
C:\Documents and Settings\Administrator>change user /install

Install mode does not apply to a Terminal server configured for remote administr

ation.

http://blogs.msdn.com/rds/archive/2010/01/19/how-to-detect-rds-specific-application-compatibility-issues-by-using-the-rds-application-compatibility-analyzer.aspx

Do I run that in an RDP sesssion?

EDIT: I can't download the file, is makes you fill out a stupid profile, and I am not wasting my time just to download on file, can someone put it on rapidshare or megaupload?

  On 24/02/2010 at 05:23, sc302 said:

if it can run on the desktop what is stopping it from running in a remote desktop?

Exactly, the program does run, just not in RDP...

I used the add/remove programs wizard and it still didn't work :(

Try running it in the admin account. I am sure you already tried. Also try just running one instance, I have had issues where the app didn't like being launched several times from the same location so I have had to install the app in several directories so that it didn't step on itself.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I am low-key enjoying the new start menu of 25H2 build. Looks like the management team who shoved the Recommended Section down our throats up till now got fired in recent gommage at MS. Also loving the 6Ghz Hotspot feature. I only enabled these 2 features and I am happy. I keep an eye on MDL forums for 26200.xxxx updates once a week to stay up to date manually. I downloaded the latest build from https://uupdump.net selected Dev Channel tab and downloaded amd64 build. Let the script ripp. Then I used vivetool to enable the above 2 features • 25H2 New Start Menu ViVeTool.exe /enable /id:47205210,49221331,49381526,49402389,49820095,55495322,48433719 • Enable Wifi 6Ghz Hotspot ViVeTool.exe /enable /id:40466470,48433719 Reboot and enjoy. Almost all the above info was provided by Neowin at some point.
    • Indeed, I do think its sad in some ways a corporation can never be content with "performing well across every metric" and having over £59 billion cash on hand.
    • They've been focusing on security and quality? Could have fooled me. Their own paying customers literally just got breached because they failed to push SharePoint updates downstream to on prem servers operating outside of their "365" ecosystem.
    • The animosity is unnecessary, when I opened the page I only saw one response which never mentioned your other steps, and when I hit reply it jumped straight to the bottom and again, I saw no other responses.  I was simply agreeing with the first comment that said yes, you should be fine if you erase its current operating system. Using another PC, or the copy of Windows that comes on that PC (former option is more trustworthy), download and run the Windows Media Creation tool.  It will walk you thru the process of downloading Windows and writing it to a USB stick.  It will even ask you at one point whether you're reinstalling it to the current machine or installing it on another machine. Then just boot the PC in question from that USB stick.  Usually spamming Esc, Del, F-8, F-9, F-10, F-11, F-12 or F-2 immediately after power on will bring up a boot menu, it varies by manufacturer.  If Windows starts booting you either missed your window or hit the wrong key. Follow the on-screen instructions.  When it gets to the disk formatting part I usually just delete all the partitions on the destination drive, then select the unpartitioned space as my destination.  The Windows installer will then automatically partition the drive as needed. Be prepared to download drivers from the PC manufacturer's website, they may not come bundled with Windows and you may not be able to use things like WiFi or ethernet until you have them.  They "might" work straight away, but they also might not.  Better to be prepared with a spare PC and a USB stick to transfer them over.
    • Wise Disk Cleaner 11.2.5 by Razvan Serea Wise Disk Cleaner is a free disk utility designed to help you keep your disk clean by deleting any unnecessary files. Usually, these unnecessary, or junk files appear as a result of program's incomplete uninstalls, or Temporary Internet Files. It is best if these files are wiped out from time to time, since they may, at some point, use a considerable amount of space on your drives. Wise Disk Cleaner, with its intuitive and easy to use interface, helps you quickly wipe out all the junk files. Using the program is indeed easy. It also works fast when both scanning for files and deleting files. The new Wise Disk Cleaner has more advantages: improved performance, better interface and scans/cleans more thoroughly. Wise Disk Cleaner Free provides lifetime free update service and Unlimited Free technical support. The first Slimming System software Wise Disk Cleaner is the first system slimming tool, which will help you to remove Windows useless files that you don't need, such as Korean IME, Windows Sample music, videos, pictures, Installers and Uninstallers of Updates Patches etc. Wise Disk Cleaner 11.2.5 Build 845 changelog: Added cleaning rules for Legacy Games Launcher, Letasoft Sound Booster, Macrium Reflect, MagicLine4NX, MAGIX Photostory, MakeHuman, Max Recorder, Maxprog iCash, Lexware, LG PC Suite, Lightworks, LINE, Listary, and LockHunter. Improved cleaning rules for Xunlei, PowerToys, Meitu, OneDrive, and Tencent Video. For security reasons, users can no longer delete the latest system restore point in the Restore Center. Enhanced System Slimming. Fixed minor bugs from the previous version. Download: Wise Disk Cleaner 11.2.5 | 6.9 MB (Freeware) Download: Portable Wise Disk Cleaner 11.2.5 | 7.3 MB View: Wise Disk Cleaner Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Year In
      armandointerior640 earned a badge
      One Year In
    • One Month Later
      armandointerior640 earned a badge
      One Month Later
    • One Month Later
      Itbob513626 earned a badge
      One Month Later
    • Week One Done
      Itbob513626 earned a badge
      Week One Done
    • Rookie
      EdwardFranciscoVilla went up a rank
      Rookie
  • Popular Contributors

    1. 1
      +primortal
      615
    2. 2
      ATLien_0
      236
    3. 3
      Xenon
      156
    4. 4
      +FloatingFatMan
      122
    5. 5
      Michael Scrip
      115
  • Tell a friend

    Love Neowin? Tell a friend!