RDP start pogram on connection (WIN 2008 Server)
I am calling a script via a rdp session on a 2003 sever. This script changes the password on the server to a variable I am sending with the session.
This works fine. But on a Windows 2008 I can’t even start the script on the remote sever. I tried stating notepad but nothing works, the only thing that happens is that the session logs on to the Windows 2008 Sever.So it is the -start a program- part of the windows 2008 serve I am having poblemt with.
This has nothing with TS remot Apps to do.
But instead mstsc.exe
- Edited byLionel Chen - MSFTMSFT, ModeratorFriday, October 23, 2009 9:12 AMremove unrelated messy code
Answers
Hello,
As I don’t know the exact script content or the working process of it, I cannot ensure the root cause of this issue.
However, based on my experience with similar issues, a possible cause of the problem is related to a new security feature since Windows Server 2003 SP1. In such a situation, please refer to the following KB article and use both the Method 1 and Method 2 to change the registry on your Windows Server 2008 host:
(KB 926642) Error message when you try to access a server locally by using its FQDN or its CNAME alias after you install Windows Server 2003 Service Pack 1: "Access denied" or "No network provider accepted the given network path"
http://support.microsoft.com/kb/926642
If this is not your case, please include more details about the script. Thanks.
Best Regards,
Lionel Chen
- Marked As Answer byLionel Chen - MSFTMSFT, ModeratorThursday, October 29, 2009 8:16 AM
All Replies
Hello,
As I don’t know the exact script content or the working process of it, I cannot ensure the root cause of this issue.
However, based on my experience with similar issues, a possible cause of the problem is related to a new security feature since Windows Server 2003 SP1. In such a situation, please refer to the following KB article and use both the Method 1 and Method 2 to change the registry on your Windows Server 2008 host:
(KB 926642) Error message when you try to access a server locally by using its FQDN or its CNAME alias after you install Windows Server 2003 Service Pack 1: "Access denied" or "No network provider accepted the given network path"
http://support.microsoft.com/kb/926642
If this is not your case, please include more details about the script. Thanks.
Best Regards,
Lionel Chen
- Marked As Answer byLionel Chen - MSFTMSFT, ModeratorThursday, October 29, 2009 8:16 AM
- <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman"; mso-ansi-language:EN-US; mso-fareast-language:EN-US;} @page Section1 {size:612.0pt 792.0pt; margin:3.0cm 2.0cm 3.0cm 2.0cm; mso-header-margin:35.4pt; mso-footer-margin:35.4pt; mso-paper-source:0;} div.Section1 {page:Section1;} -->
thanks for your reply
My problem is not the script.
In 2003 I can start a program using rdp file(run mstsc /options /start the following program on connection)
I can’t get this to work on a windows 2008 server. It just boots the OS

