Solved

terminal server rdp user cant run exe file

Posted on 2010-08-24
8
1,507 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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
 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Every system administrator encounters once in while in a problem where the solution seems to be a needle in haystack.  My needle was an anti-virus version causing problems with my Exchange server. I have an HP DL350 with Windows Server 2008 Stand…
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

810 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