Solved

Remote Desktop Shortcut to Windows 2008 Server Not Working

Posted on 2010-09-14
10
907 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks, but still no go.  
0
 
LVL 7

Accepted Solution

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

Remoteapp only give remote application screen not the whole desktop...
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 7

Expert Comment

by:simonseztech
Comment Utility
0
 

Author Comment

by:K A
Comment Utility
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
Comment Utility
If it work on remote desktop it will work in remoteapp
0
 

Author Comment

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

Author Closing Comment

by:K A
Comment Utility
Thank you... RemoteApp = AOK
0

Featured Post

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)

Join & Write a Comment

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

744 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

13 Experts available now in Live!

Get 1:1 Help Now