Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Remote Desktop Shortcut to Windows 2008 Server Not Working

Posted on 2010-09-14
10
Medium Priority
?
914 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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 

Author Comment

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

Accepted Solution

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

Remoteapp only give remote application screen not the whole desktop...
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
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…

927 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