Quantcast
Channel: Remote Desktop Services (Terminal Services) Forum
Viewing all 2335 articles
Browse latest View live

how to reconnect remoteapp in Windows Server 2008

$
0
0
Hi,i am writing an remoteapp activex in C# using the rdp library.I can start a program at the start connect,and lauch Multiple 

programs,but if i close all the  programs.after a few minutes,may be one or tow ,the connect is disconnected.there is a function 

named reconnect in the interface imsrdpclient8,but the reference i added has only interface  imsrdpclient 1 to 6,and not 7,8.so i 

had to call the connect function again,but the program only runs in the server (no show in the client) 

here is part of code:            

               if (rail.Connected == 0)

                    { 
                        setServer(ip, useranme, password, domain);
                        rail.OnConnected += new EventHandler(sendExe);
                        rail.OnDisconnected += new AxMSTSCLib.IMsTscAxEvents_OnDisconnectedEventHandler(ee);
                       // ((IMsRdpClientAdvancedSettings)rdp.AdvancedSettings).shutdownTimeout = 60;
                        i5 = (IMsRdpClient6)secured;
                        i5.RemoteProgram.RemoteProgramMode = true;
                        isCon = true;
                        rail.Connect();
                    } esle if (rail.Connected == 1){

 i5.RemoteProgram.ServerStartProgram(this.program, null, null, false, null, false);

}

public void sendExe(object sender, EventArgs e)



i5.RemoteProgram.ServerStartProgram(this.program, null, null, false, null, false);
}
can anyone help me?
thanks any reply.

Migrate 2003 TS Roaming Profiles to new 2008 R2 (with sp1) RDS Session Host Environment

$
0
0

I'm tryign to get a definitive answer to the age old problem of migrating Roaming User Profiles from a 2003 TS environment to a new 2008 R2 RDS Session Host implementation.

I've read various posts and some say that the only way to acheive this fully (with user desktop settings, etc) is to use one of the many 3rd party tools and there are others that say you can use USMT but I don't think this works on 2008 R2?

I'm aware that you can setup "shared" profiles that can be accessed from the legacy and new systems but not all of the user personalisation settings are carried over.

Can anyone give me an answer.....please.....?

Cheers for now

Russell

Set remotefx group policy with command line atuomatically

$
0
0

HI,

I am trying to configure the policy of Remote Desktop Service for RDP 8 in windows 7.

The policies under Remote Desktop Session Host Connections are:

“Allow users to connect remotely Desktop Services”,

“Select RDP transport protocols”,

“Restrict Remote Desktop Service users to single Remote Desktop Services session”. 

The policies under Remote Desktop Session Host Remote Session Environment are :

“Configure RemoteFX”, “Optimize visual experience when using RemoteFX”,

“Opeimize visual experience for Remot Desktop Service Session”,

”Configure compression for RemoteFX data”,

“Configure image quality for RemoteFX Adaptive Graphics”,

“Configure RemoteFX Adapter Graphics”,

“Enable Remote Desktop protocols 8.0 ”.

I need those policies enabled automatically.

Is there any command can do this?

Thanks!

Best regards!


Chu Qiu

Hyper V 2012 Windows 8 Enterprise VDI RemoteFX video issue

$
0
0

I have setup my new Hyper V test box and have created multiple VM's with Win 8 pro without issue.  Most importantly I am testing remotefx and realized that I needed to use Win 8 Enterprise to get the physical GPU to be allocated to the VM.  Now that I am testing the Win 8 Enterprise with Remotefx I am getting random black screens or disconnects via rdp.  This only happens on Win 8 Enterprise. I have built 3 win 8 enterprise vm's from scratch to make sure I did not due somthing wrong in the build.  All systems are fully patched with the latest integration software too.

I am using a an NVIDIA Quatro 2000 with drive 9.18.13.1090 that I downloaded on Dec 31st.

Thank you

John

RDS Windows 2012 in a DMZ

$
0
0

Based on the following link

http://blogs.msdn.com/b/rds/archive/2009/07/31/rd-gateway-deployment-in-a-perimeter-network-firewall-rules.aspx

I am trying to deploy a VDI solution in Our DMZ which is a one way trust form our corp lan.

Can someone help with the placement as I am not understaning 3.2 as it does not say where the RDWEB should sit. If I try to install the web to the DMZ domain I am presented with the issue where my corp lan is unable to add the RDWEB to the Remotes access servers group on the connection broker, this is becuase my corp domain does not trust the DMZ AD, so it is unable to add a DMZ machine within the CORP.

According to the Blog as I read it the Web server is ignored but as of 2012 the web access is required for the RDG files to be created for the connection via the gateway. UNless I allow selective trust

Folder Redirection and script calling local variables

$
0
0

Hi all,

We are using Folder Redirection and Roaming Profiles in our environnement.

Roaming Profiles are stored in \\ShareServer\Roaming\%username%
Folder Redirection are redirected in \\ShareServer\FolderRedirection\%username%

(not the same directory).

It works, redirected folder and profiles are created, but, when we use a script using "%userprofile%" as variable everything will be written in the local profile and doesnt not appear in the user redirected folders.

For example if I use a script like "copy FILE.txt %userprofile%\Desktop\FILE.TXT" the FILE.txt will exist in C:\users\<my_user>\Desktop but will not appear on the desktop and will not be copied into the redirected folder.

I would like to change this behavior so everything will be in the redirected folders.

Remote Desktop Manager - "Unable to enumerate remote sessions"

$
0
0

Using RDCMan v2.2 build 2.426 downloaded from http://www.microsoft.com/download/en/details.aspx?id=21101

Client is Windows 8 x64

Servers vary from Windows Server 2003 to Windows Server 2012 with same result

Error message when attempting to log off a session either individually or as a group: 

"Unable to log off from [servername] Reason: Unable to enumerate remote sessions."

This happens even when connected to the remote system with administrator or domain admin credentials on the remote machine.

Trying to mimic Windows Terminal Server 2003 remote desktop web connection in Server 2008 R2

$
0
0

I apologize in advance for my lack of knowledge about Terminal Server ...

I currently have a Windows 2003 Terminal Services server in production.  This server is accessed by hundreds of staff all across the country.  Depending on their location, each user has a slightly different URL to access their appropriate application. For example:

User in location 1 uses: http://terminalserver/app1

User in location 2 uses: http://terminalserver/app2, etc..

When a user visits one of these URLs they are presented with a standard Windows 2003 login prompt.  Once they successfully enter their credentials they are automatically taken to the DOS application.  

App1, App2, etc. are further defined on the server with their own unique default.htm file.  Within each default.htm file there is an entry that specify the correct batch file (yes, this is an old DOS app) to run for that particular user.  The syntax of this entry is:

MsRdpClient.SecuredSettings.StartProgram = "e:\folder name\program.bat"

We are attempting to replace this server with a newly built Windows Server 2008 R2 SP1 server, running Remote Desktop Services.  I attempted to copy the application folders (app1, app2, etc.) from c:\inetpub\wwwroot on the 2003 server to c:\inetpub\wwwroot on the 2008 server.  I also created entries for each of the DOS batch files in the RemoteApp Manager.

Using this configuration I am able to launch the appropriate application on the 2008 server by specifying it in the URL: https://terminalserver/app1.  However, once I am in the DOS application none of my printers are redirected, therefore I cannot print. If I log directly into the 2008 server using Remote Desktop Connection my printer redirection is just fine.  I checked the default.htm file (that I copied over from the 2003 server) to ensure that printer redirection was enabled, and it appears as though it is by this entry:

   MsRdpClient.AdvancedSettings3.RedirectPrinters   = TRUE

My questions/comments are:

1) Can I re-use the default.htm file (and other files) from my 2003 server on 2008?  If not, is there a file that I can use as an example that is compatible with 2008?

2) Are there any other entries in the default.htm file that I need to modify (that would prevent printers from redirecting)?

3) I don't want to use RDWeb as this method introduces too many steps for a user to launch the application (our users are very computer iliterate, and introducing this level of change would be detrimental).

Any assistance, input, or comments are welcome.  I am a complete novice when it comes to Terminal Server so any feedback would be appreciated.


run UI test without active RD connection

$
0
0

Hi

On my UI I have a recorded macro running on a testmachine (VM) which I access via Remote Desktop. So far so good. Now I would like to let it running even if I disconnect RD. Can I do that?

I found a workaround for Running Tests in Minimized Remote Desktop Windows but I would like to close the connection entirely...

Thanks!

RDC for MAC cannot connect to TS server with error message "You were disconnected from the Windows-based computer because of problems during the licensing protocol".

$
0
0

the mac clients are running RDC for mac version 2.1 and they cannot connect to Windows 2008 R2 TS server. They get the error "You were disconnected from the Windows-based computer because of problems during the licensing protocol".

really appreciated if someone have a fix for this.

 

thanks,

/dan

 

Windows 2003 RDP Fails Randomly on Reboot

$
0
0

I'm not sure if it was a recent Windows update within the past few months or what, but my farm of 100 Windows 2003 Citrix servers have begun to stop accepting RDP connections.  I can go to the console in VMWare and login and uncheck the enable remote desktop and recheck it, and it will work again.  Also, I can reboot the server and RDP may or may not work again.

I even rebuilt our current Windows 2003 template from scratch ran Windows updates.  Still I see the exact same problem. Nothing seems to fix this.  Is there an update or a fix for this? Is anyone else experiencing this?

Needs assistance installing MS Office 2000 on Windows Server 2008 R2. This is an RDS server

$
0
0

I've installed 2 Server 2008 R2 Terminal server (RDS) servers, which unfortunately have to run Office 2000 (mainly Access and Excel).

I guess I need to install it though the control panel with the command d:\setup.exe transforms="C:\Program Files (x86)\ORKTools\ToolBox\Tools\Terminal Server Tools\termsrvr.mst" (Which it has to point to to allow office 2000 to be installed on a terminal server) which doesn't work.

When I try to install Microsoft Office 2000, or insert the CD-ROM into the CD-ROM drive, I receive the following error message:

Some default settings in Microsoft Office 2000 setup do not work properly on a Windows Terminal Server. To install Office on Terminal Server, you must use the instructions and tools available in your Office 2000 Resource Kit or at http://www.microsoft.com/Office/ORK/.

When you click OK, another error message appears:

Installation ended prematurely because of an error.

When you click OK again, Setup quits.

RDS over RDweb is not working

$
0
0

Help, I'm stuck.

I have a session based RDP server that is usable via internal and external using RDweb or the straight MSTSC v8.

I know there is a lot of information here so I'll try to provide it all. The problem I'm having is I have another Windows 2012 server setup with Remote Desktop Services (RDS Virtualization) in a personal managed collection type with RD web access and a specific RD user group setup. This all works beautifully internally and have never had an issue with it. The problem is when I try to come in via RD web external (internal works fine). I have both TCP & UDP 3389 setup to be redirected and have the FQDN matching the server name with 3rd part certification. It is secured with a wildcard cert though (but so is my RDP RDweb server and it works fine). I see nothing being blocked on my firewall and have enabled full logging. If I have the VM turned off, and come in through RDweb, it will authenticate me, start the VM, and go through all the checking procedures that RDP 8 goes though, but it will not log me into my VM. Even if I go through the event logs it will say that the session broker successfully assigns me my VM and starts it, but that last leg of getting in does not work. I ran the script again for the RD configuration on the client and checked the logs and it all successfully runs as well.

If I got through the VPN I can RDP in just fine - so I'm not sure what to do. Sorry if my words for mixed around or I didn't use the correct terminology somehwere, I've just been troubleshooting this for hours and all the words are starting to blur together. 

Thanks in advance if someone can point me what to look at or where to look at something I'm just not seeing it right now.


Restrict RDS Gateway access by IP issues

$
0
0

I am having problems restricting access to my RDS Gateway by IP address. I have setup a "Access Client IPv4 Address" Network Policy condition in my existing CAP, setting it equal the public IP of my ISP router. Have verified the IP by going to myipaddress.com and looking in the RDS Gateway logs on the server.

 

When I remove the Access Client IP condition, I am able to connect fine. When I add it back, I get an Event ID 201, error 23003 in the RDS GW logs.

The client computer in the error event is equal to the IP condition I put in place. Does not make sense.

Does anyone know what I may be doing wrong?

Thanks,

Matt


Remote Desktop Manager - "Unable to enumerate remote sessions"

$
0
0

Using RDCMan v2.2 build 2.426 downloaded from http://www.microsoft.com/download/en/details.aspx?id=21101

Client is Windows 7 x64 SP1

Servers vary from Windows Server 2003 R2 to Windows Server 2008 R2 with same result

Error message when attempting to logoff a session either individually or as a group: 

"Unable to log off from [servername] Reason: Unable to enumerate remote sessions."

 

 



Default Printer changes - Terminal Server 2008

$
0
0
We have three TS 2008 servers using session broker. People are complaining that the default printer keeps changing.
We make sure they log off correctly so it's saved to their profile, cannot see any errors but when they log back in, it's changed to a local print queue e.g pdf creator.

I have been using folder redirection and thought that maybe causing it but it doesn't look like it.
I have been having multiple issue with printing and terminal server 2008 but need to knock them off one at a time I think.

Printing in MAC using remote desktop connection

$
0
0
Trying to print in MAC while using RDC in a Windows 2008 Server.  The Windows Clients get the printer sessions correctly.  The MAC, using MAC RDC 2.0.1 do not get those printing sessions.  Are there any settings in the Server to correct this or is it a MAC issue?

TS Web & RD Web RDP connection problem

$
0
0

Summary:

  • Problem using Remote Apps & RDP from "RDWeb" interface when accessed from the public internet.

Background:

  • Currently have, 1 x Windows Server 2008 TS Web Access & 1 x Windows Server 2008 R2 RD Web Access setup.
  • Both are configured to use remote apps inc RDP.
  • Both allow login to the web interfaces (Prompts for login when connection to URL).
  • Both allow RDP connections internally and work correctly without problems.
  • Both have Digicert SSLs installed, tested as valid.
  • These are standalone installations and not in a Farm.

Issue:

TSWeb (Server 2008) works correctly and allows RDP connection to itself from the "Remote Apps"

RDWeb (Server 2008 R2) does not and the RDP connection errors:

"Your computer can't connect to the remote computer because the Remote Desktop Gateway server is temporarily unavailable. Try reconnecting later or contact your network administrator for assistance"

I am trying to connection to the RDWeb server externally from a Windows 7 PC (RDP 6.2.9200). If I click the "Remote Desktop" selection on the TS Web Interface, I can also RDP to other Windows Server 2003 terminal servers, however any other Server 2008 R2 servers to not work.

Questions:

  1. Is there something being missed in the configuration?
  2. Are there any fundimental differences between Server 2008 TS Web and Server 2008 R2 RDWeb? (Security etc?)
  3. Would someone also be able to clarify the need to open port 3389 on the firewall, my understanding was that RDP (3389) should be wrapped in the HTTPS (443) traffic therefore only 443 would need to be opened. Unfortunately we have had to allow 3389 on the firewall for RDP connections to function from the outside work and get TSWeb working correctly. I presume I have misconfiguration reading this post: http://social.technet.microsoft.com/Forums/en-US/winserverTS/thread/d5906eb8-9a08-42b0-bdd8-356383401554

Many Thanks,


RDP timeout logoff - exclude admin user from logoff timeout

$
0
0

Using Remote Desktop 7.1  on Server 2008 R2 + SP1

we have user inactivity timeout logoff enabled.   We would like to have an admin user excluded from the inactivity timeout logoff.

Is this possible?  If so, how?

Thanks

Tom


MisterT99


How to set up remote desktop licensing mode in windows server 2012

$
0
0

Hi,

I've deployed yesterday a windows 2012 server (RTM) and set up the license server for my 10-CAL licenses. That's ok.

But I can not see a way to point my server to see the license server. Every time I log in, I receive a message that the RD services will expire in 119 days.

Using the diagnosis tool it says that licensing mode isn't set up.

Where I can find the tool to set up this licensing mode? In windows server 2008 this question was asked in the setup wizadr.

Thanks a lot!

Ricardo Almeida

Viewing all 2335 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>