Solved

terminal server rdp user cant run exe file

Posted on 2010-08-24
8
1,491 Views
Last Modified: 2013-11-21
When a user RDP's in, He needs to run Sage Accounts Production, The programme is an (exe), when I ran the program it tries to open the suddenly closes. If I give the user administrator rights it works OK.

How can I get this file to run as a user?
As far as I am aware I have checked the permissions (left them everyone full access) Removed Windows 7 internet security which somebody suggested.

Thanks in advance
0
Comment
Question by:raisedcrazy
8 Comments
 
LVL 8

Accepted Solution

by:
ConUladh earned 100 total points
ID: 33515923
Any other security software installed? If it was a permissions issue I would expect an error message to that effect.

You could try turning Data Execution Prevention off as a test.

Edit c:\boot.ini so that /noexecute=alwaysoff (make sure you change it back if its not the cause)
0
 

Author Comment

by:raisedcrazy
ID: 33515952
thanks trying now
0
 
LVL 8

Expert Comment

by:ConUladh
ID: 33515997
That's a long shot though.. do you have any other security software installed?
0
 

Assisted Solution

by:memoman
memoman earned 100 total points
ID: 33516043
I would check both NT and Share permissions. You mentioned you checked one, but maybe not the other?

I can't see the solution to this one, but you may want to check out: http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_23469127.html

Also, another potential source of the issue may be this:
When you right click the affected file, and choose Properties, you see a security message at the bottom of the window that reads:

Security:
This file came from another computer and might be blocked to help protect this computer.

Maybe you downloaded the file or copied it from another computer on your network and now Microsoft says you are not allowed to access it. You just need to click Unblock button which is next to the above information.

0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 
LVL 16

Assisted Solution

by:Spike99
Spike99 earned 100 total points
ID: 33516357
I have never used Sage Accounts, but we have seen a similar issue with Sage AccPac.  The solution is to give the user FULL rights to the HKLM\Software key and all subkeys for the program on the terminal server and to give the users MODIFY rights to the local program folder on the TS & the network share where the program data is stored.

Here's the article on sage's site about these permissions:
http://kb.accpac.com/cgi-bin/sagesoftwareonline2.cfg/php/enduser/std_adp.php?p_faqid=20424

Alicia
0
 
LVL 16

Assisted Solution

by:Brian Pringle
Brian Pringle earned 100 total points
ID: 33517819
There is also a "feature" in Windows called "Data Execution Prevention", or DEP for short.  It is possible that it is preventing the execution.

- Right-click "My Computer" or "Computer" and click "Properties".
- Click "Advanced System Settings"
- Click the "Advanced" tab
- Click the "Settings" button under the "Performance" section.
- If the option is selected for "Turn on DEP for all programs and services except those I select:", click the "Add" button.
- Browse to the executable and click "OK".

This will add the program to the list of programs that are not checked before running.  
0
 
LVL 2

Assisted Solution

by:DavidGerald
DavidGerald earned 100 total points
ID: 33520884
I have got round issues with sage line 50 reports on terminal server by creating a new administrative windows account, set it to deny remote logon and make sure its rights only extend as far as that server.  Create a shortcut on the users TS desktop to the sage exe file but in the target put C:\Windows\System32\runas.exe /savecred /user:<domain>\<newadminaccount> "X:\Program Files (x86)\Common Files\Sage\<sage.exe>"

This will run sage under an admin account, the password will be saved on first run and should resolve your issue.

Spike99 mentioned registry fix, I do vaguely remember many year ago a similar issue with sage and having to give fulll access to a number of user hive registry keys.
0
 

Author Closing Comment

by:raisedcrazy
ID: 33625140
Thanks Chaps...
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Remote Desktop Protocol or RDP has become an essential tool in many offices. This article will show you how to set up an external IP to point directly to an RDP session. There are many reasons why this is beneficial but perhaps the top reason is con…
Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

708 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

20 Experts available now in Live!

Get 1:1 Help Now