Solved

terminal server rdp user cant run exe file

Posted on 2010-08-24
8
1,536 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

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 17

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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Problem Description: Actually I found the below issue with some customers after migration from SMS 2003 to SCCM 2007 and epically if they change site code, some clients may appear in the console with old site code, plus old sites still appearing …
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

695 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