Solved

Remote Desktop Shortcut to Windows 2008 Server Not Working

Posted on 2010-09-14
10
908 Views
Last Modified: 2012-06-27
We've got a Remote Desktop shortcut that would connect via RDP to a Windows 2003 server and then automatically run a batch file... this worked just fine when we were connecting to a Windows 2003 server.

Now, we're on a Windows 2008 server and it just won't run.  We get connected fine, and can run the batch file okay once we're connected, but we haven't been able to get it to run automatically from the RDP icon.  

It doesn't seem to be a user permissions thing since the user that we're logging in as is a member of Administrators... and we can run the batch file once we're already connected.

It's as if there's a setting in Windows 2008 that says: "Let this user login via RDP, but don't let them run any programs automatically."  Can you think of why this would be?  
0
Comment
Question by:K A
  • 5
  • 5
10 Comments
 
LVL 7

Expert Comment

by:simonseztech
ID: 33678454
Hi,I suggest configure user logon script to run the BAT file. You can configure Security Filter to control which user will run the script.Windows 7 and Windows 2008 R2 support PowerShell Logon script. For your information:Using Group Policy to Deploy a Windows PowerShell Logon Scripthttp://blogs.technet.com/b/heyscriptingguy/archive/2010/08/14/weekend-scripter-using-group-policy-to-deploy-a-windows-powershell-logon-script.aspxIt might be a pain to set it on each one, but you can try setting the"Run this program as an administrator" compatibility flag in theproperties for the batch file. You may also need to configure UAC foradministrators to elevate without prompting, http://www.howtogeek.com/howto/windows-vista/disable-user-account-controluac-for-administrators-only/
0
 

Author Comment

by:K A
ID: 33680821
Thanks for your reply, but the real problem seems to be that the "Programs" tab of the Remote Desktop Connection GUI just seems to have no effect whatsoever.  I can even put "explorer.exe" in the "Program Path and Filename" of the "Programs" tab and it just does nothing after connecting.  Even if I put gibberish in there like "asdfasdf" it still does nothing... not even an error message.

We're running Remote Desktop Services for Administration.  

I've changed the GPO under Remote Desktop Services to allow running all unlisted programs.

Our reason for needing to do this is:  we need to set up a remote desktop connection for a given user, but when they connect, we need them to be automatically routed to the application they are supposed to run.  We COULD set up a login script, but then this user would ALWAYS be routed to THIS application.  Also, there's ANOTHER application they need to run too, so we would like to have another RDP icon that directs them to THIS application.  (Incidentally, after they exit these applications, we need them to be logged out automatically.)

So the bottom line is:  the Programs tab of the RDP GUI seems to be totally non-functional.  Am I missing something here?
0
 
LVL 7

Expert Comment

by:simonseztech
ID: 33682663
Use the UNC, i.e.

\\Server\Program File\MSOffice\MsAccess.exe

Or where ever your program is.

This should work just fine. Tell me if it's work
0
 

Author Comment

by:K A
ID: 33704334
Thanks, but still no go.  
0
 
LVL 7

Accepted Solution

by:
simonseztech earned 250 total points
ID: 33705972
Is using remote app an option for you ?

Remoteapp only give remote application screen not the whole desktop...
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 7

Expert Comment

by:simonseztech
ID: 33705978
0
 

Author Comment

by:K A
ID: 33706061
Can RemoteApp run an old DOS-based accounting system?  If we were trying to run something Windows-based like an Accedss database, maybe... but what about an old, flat-file, character-based accounting program?
0
 
LVL 7

Expert Comment

by:simonseztech
ID: 33706274
If it work on remote desktop it will work in remoteapp
0
 

Author Comment

by:K A
ID: 34429844
Sorry, I clicked on my own response as the solution accidentally.  The correct solution should be 33705972.
0
 

Author Closing Comment

by:K A
ID: 34431108
Thank you... RemoteApp = AOK
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

896 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

12 Experts available now in Live!

Get 1:1 Help Now