Quantcast
Channel: Fórum Remote Desktop Services (Terminal Services)
Viewing all 26837 articles
Browse latest View live

Installing RDS automatically using local credentials : Authentication issue : New-RDSessionDeployment : Validation failed for the "RD Connection Broker" parameter.

$
0
0

Hi all

I would like to setup RDS Session on new servers automatically.

The first step to join the server to the Active directory domain is ok

Now I would like to install RDS Roles Session automatically

When the server reboot, it runs a script using local admin account.

I know one need an Active directory account to deploy.

So I tried this :

    $user = "AD\User"    $pwd  = ConvertTo-SecureString "xxxxx" -AsPlainText -Force    $cred = New-Object System.Management.Automation.PSCredential($user,$pwd)    Add-LocalGroupMember    -Group "Administrators" -Member $user  | Out-File -Append $LogFile    Import-Module RemoteDesktop    #Enable-PSRemoting -Force    Invoke-Command -ComputerName $Env:Computername -ScriptBlock {                   $RDSSrvName = $Env:Computername + ".xxx.yyy.com"                   $LogFile = "$Env:ProgramFiles\Renault\RDS_Roles_setup.log"                   New-RDSessionDeployment -ConnectionBroker $RDSSrvName -WebAccessServer $RDSSrvName -SessionHost $RDSSrvName | Out-File -Append $LogFile    }     -Credential $cred # -Authentication CredSSP    $null = install-windowsfeature  -Credential $cred  RSAT-RDS-Licensing-Diagnosis-UI -LogPath $LogFile    Remove-LocalGroupMember -Group "Administrators" -Member $user  | Out-File -Append $LogFile

It returns

[

MYSERVER] Connecting to remote server MYSERVER failed with the following error message : Access is
denied. For more information, see the about_Remote_Troubleshooting Help topic.    + CategoryInfo          : OpenError: (MYSERVER:String) [], PSRemotingTransportException    + FullyQualifiedErrorId : AccessDenied,PSSessionStateBroken

If I add Enable-PSRemoting -Force before the command, I get

[

MYSERVER]Connecting to remote server [MYSERVER] failed with the following error message : Access is
denied. For more information, see the about_Remote_Troubleshooting Help topic.    + CategoryInfo          : OpenError: ([MYSERVER]:String) [], PSRemotingTransportException    + FullyQualifiedErrorId : AccessDenied,PSSessionStateBroken    + PSComputerName        : MYSERVER

Even if I try to run the command as the Active directory user being AD-User and Local admin , I get too :

PS C:\users\ad-admin\Desktop> $RDSSrvName = $Env:Computername + ".xxx.yyy.com"
PS C:\users\ad-admin\Desktop> New-RDSessionDeployment -ConnectionBroker $RDSSrvName -WebAccessServer $RDSSrvName -SessionHost $RDSSrvName


New-RDSessionDeployment : Validation failed for the "RD Connection Broker" parameter.
MYSERVER.xx.yy.fr Unable to connect to the server by using Windows PowerShell remoting.
Verify that you can connect to the server.
At line:1 char:1+ New-RDSessionDeployment -ConnectionBroker $RDSSrvName -WebAccessServe ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-RDSessionDeployment


Could some tell me what I missing ?

The Active Directory user has no right on the active directory

Thanks


ML









Redirecting certain local drives to RDS collection desktop

$
0
0

Hello everyone,

We currently have an RDS collection set up with high availability connection brokers.

In our collection settings, we have redirection enabled for any type of drives and shown here:

As expected, when a user logs into their RDS Desktop, all of their local drives get redirected to their remote desktop (including any network drives they have mapped locally):

What we're looking to do is to only redirect the C: drive, the D: drive, and the E: drive. Our network drives begin on F: so that we have room for USB drives on D: and E:.

As a quick test, I've tried to redirect only the C: drive. So, I went on to our connection broker and typed in the following PowerShell command:

Set-RDSessionCollectionConfiguration -CollectionName "CollectionTest" -CustomRdpProperty "drivestoredirect:s:C:"

The command ran successfully and since we have two connection brokers, I went to make sure that the registry got updated on both connection brokers. And alas, it replicated on both connection brokers (as expected):

I logged into our desktop published by our RDS collection and found out that this didn't work.All of our drives are still being redirected. I went ahead and rebooted the remote desktop session host (RDSH) and all network drives are still being redirected.

I tried entering the command in again, however this time, I added the other two drives that I want to be redirected:

Set-RDSessionCollectionConfiguration -CollectionName "CollectionTest" -CustomRdpProperty "drivestoredirect:s:C:D:E:"

I followed the same process, making sure that the registry had updated on both connection brokers, etc. and still no results. All of the local drives are still being redirected.

Is there a part I'm missing here? Am I typing in the wrong command? Any insight would greatly be appreciated.

Thanks

Is it possible to drag and drop using RemoteAPP and Explorer?

$
0
0

Hi everyone,

We use Terminal Services Remote Desktop and Remote Apps. Actually no remote desktops, only RemoteApps are available to users. Is there anyway I can allow users to drag and drop files from their desktop into the RemoteApps? or for example maybe running Explorer windows and allow them to upload or download to/from their shared folder?

Or am I out of luck and must use something like FTP?

Thanks

Loss of power button options on remote computer after Bitlocker encryption

$
0
0

Hello:

I recently Bitlocker encrypted the system drive of a remote computer and afterwards lost a few of the power button options I would expect to see during a remote session of a Windows 10 1903 computer.

Here are pictures of the options seen before the encryption (during a remote session):

And here are pictures of the options after the system drive was encrypted on the remote computer:

As you can see I have lost the options of sleep, shutdown, and restart after Bitlocker encryption.  Very strange.  If I turn off bitlocker on the remote machine the options are restored, back to normal.  Is this by design or a bug?  I can reproduce problem on two differenct computers.  Not a big deal as I know I have other options to sleep, shutdown or restart, but I would like to know what is going on here.

Thanks in advance,

ssorgem

Issues with RD Gateway and MFA

$
0
0

Hi All,


I am trying to configure multifactor authentication with Azure MFA on my remote desktop gateway. I followed this article:

https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-mfa-nps-extension-rdg

All seems ok but it is not working as expected. When I try to access a remote desktop I get the notification on my phone. When I approve, the remote desktop keeps trying to connect and I get the notification on my phone 2 more times. Eventually the RDP just times out.


On my NPS server with the NPS extension I can see in the eventlog that access has been granted. On my remote desktop gateway in the NPS logs I can see this:

The RADIUS Proxy received a response from server X.X.X.X with an invalid authenticator.

Where X.X.X.X is my NPS server.

All servers are windows server 2019. My testuser has an Azure AD Premium P1 license (and an office365 business premium).

Any ideas on what could be wrong with my setup?

Access denied rds farm

$
0
0
Best regard.

I have the following inconvenience, when trying to connect remotely to a server belonging to a farm. I receive this message.

"Cannot verify that the two remote computers belong to the same farm"



When trying to enter the server using the mstsc.exe / admin option I get the following error.

"The access to the requested resource has been denied"

The servers in the farm are server 2012 R2, the group of users who wish to allow remote access to these servers and are added to the local remote access permissions, if the user is an administrator, they can enter correctly. Also with permissions in the "collection"

Request your help to verify that users who belong to this group cannot access the server.

Thank you.

Windows 8.1 and RDS 2019 not working

$
0
0

Hello,

I can log into my RDS session on Windows 10 without issue, however using the exact credentials in the exact network on a Windows 8.1 PC, the RDS session will not connect. 

Are there any other configurations or patches required for 8.1 to work?

Thank You,


Franjisk 

Remote Desktop Connection disconnects every 10 mins (externally)

$
0
0

Hi,

Just wondering if anyone could help me. I have a new Dell T440 in a school and RDC is disconnecting every 10 min or so. Please note this only happens when connecting to the server from an external site. If I am on a PC within school and create an RDC session its fine!

I have done the below and rebooted but it’s made no difference.

Computer Configuration\ Administrative Templates\ Windows Components\ Remote Desktop Services\ Remote Desktop Session Host\ Connections\

Configure keep-alive connection interval     Enabled

Keep-Alive interval:     1

Using Hyper-v the server hosts three Virtual servers, Sims, file & print and the DC. I can connect to any of these remotely via RDC and the connection is stable. The issue just seems to be with the Dells physical version of Server 2016. I have connected Dell and worked with them to upgrade to the latest firmwares and Drivers. Following this Dell has now advised me to log ticket with MS.

This one has stumped me tbh. I have event gone down the route of replacing the router and switches but that's also made no difference either. I am loathed to rebuild the server without exploring every other avenue first. 

Any help would be really appreciated.

Cheers

Mick


Mikehawo


Publishing Remote Apps from Multiple Session Hosts

$
0
0
Hi guys, I'm coming from the Citrix world so I need to re-learn how this works, but I have a RDS server which is also a session host, and an additional session host. Both are in a collection called Test.

I have some software installed on both servers which I can publish. I have some software just on the main RDS/session host which I can publish, and some software just on the second session host which I can not publish.

I don't necessarily want to have to install the software on both. How can I accomplish this? I tried to create another collection and just add the second host but I can't because its already part of the first one I suppose. What do I need to be doing in this regard?


Thanks for any feedback.

How to add language/IME for all users on the TS?

$
0
0

Hello, 

I have added a language/IME using the Administrator account on the TS, but seems only Administrator has that language and IME, rest of users on the TSdoes not have that option to switch the Language/IME.

Could anyone tell me how to do this in a right way?

Thank you!

Remote Apps, about RD Gateway certificates

$
0
0
The environment that we're building now.

Client ----(443) ---- [ RD Gateway, RD Web Access ] ---- (3389) ---- [AD DS / DNS, RD Session Host, RD Connection Broker ]

As shown in , we use two servers to implement external networks.

When using the internal network, download the certificate of the RD Gateway and install it internally to operate normally.

If the Remote Desktop Service deployment settings specify a trusted certificate by setting the external domain name (FQDN) on the public IP mapped to the RD Gateway when you try to use it for the external network, I wonder if it is possible to use it without installing a separate certificate (such as importing) such as the internal network process. I also want to use the RD Client app to make sure it's the same in my mobile environment.

++

Is the external FQDN of the RD Gateway as available at "remoteapp.rds.co.kr" when the internal DNS is currently named "rds.local"?

RDS 2016 deployment over Citrix Netscaler as load balancer.

$
0
0

Hello,

I would like to create RDS deployment based on Windows Server 2016. Idea is to load-balance RDSH servers via Citrix Netscaler. I have some questions in regards to that deployment. 

Environment: 10 RDSH servers + 2 RDS Connection Brokers + 1 License server. All RDSH servers will be available over NS VIP. 

1. Is RDS Broker server needed if Netscaler is in front of deployment?
2. Will Citrix Netscaler use RDS broker as point to verify whether user has active session or disconnected session?
3. If there is no need to use Gateway/web interface, is it necessary to create collection?

Thank you in advance,

User profile disk (.vhdx) files increasing frequently

$
0
0

In windows server 2012 R2 RDS farm user profile disk (.vhdx) files increasing frequently that causes lack of free space on storage location where the UPD files located. Every day approximately 10-20GB space filled on storage where the UPD locates. When mount and checking vhdx within them the amount of data is much smaller than the size of vhdx disk. Is there any way to prevent increasing UPD disks frequently or reduce/release/reclaim disk space on UPD vhdx files?

USB Drive redirection except local drives

$
0
0

hello every one 

i have a issue with RDP redirection

the problem is i can't redirect just usb drives but not the local drives

i think of some script to run when the rdp session is created on the server and map the usb on the user's computers

but i don't know where to start

i also tried redirection policies in group policy but when you Disable drive redirection it's also assume the usb drive as a drive so i can't use the group policy or other things except some script that map detect the PnP devices on user's computers and map it and prohibit the local drives redirection.

thank you in advance

Changing Text Size For Windows 2019 RDP Users

$
0
0

It was a simple process to change the scaling of text/icons with 2012 RDP users by going to Display Settings and changing the scaling from 100% to 150%.

Can't seem to get there with Windows 2019. User is on Windows 7 so they are using an older RDP client. When you go to Display settings in their session it says Display settings can't be changed in an RDP session and everything is grayed out. Even when you hit Advanced the scaling is grayed out.


Windows Server 2008 R2 loading file and folder very slow

$
0
0

Hi Everyone

I am facing some sort of delay in when opening shared folder or copying file from shared folder to local drive it is taking 30 to 60 second and more time to start the process of  copy or pasting file and then it will take some time to complete the task I have check the process of memory and CPU but it do not show spike in usage.

Kindly help me to sort this issue

Thank you

RDWeb Password Reset not working - Windows Server 2016

$
0
0

Dear readers I have the following issue when a user wants to reset their password via the RDWeb password reset.aspx

"Your password cannot be changed. Please contact your administrator for assistance." 

What I have done so far : 

- Went into the IIS Manager and set the "PasswordChangeEnabled" to true.
- Reset the IIS Manager via CMD.
- Activated the logging (which doesn't work by the way).
- Rebooted the host & client to be sure.

Does anyone else have this problem aswell or does someone know the solution to said problem?

Hope to hear from someone.

Kind regards,

Sander ten Voorden

Suggested way to remove and reconfigure RDS deployment

$
0
0

Hello experts,

  • Environment: Windows 2016 servers - 1 Connection broker, 2 Session hosts, 1 Web access, 1 Gateway, 1 licensing server - Each role is on a separate VM.

  • Configuration: RDS roles installed using "Remote Desktop Services Installation - Session based desktop deployment". 1 Collection created with 2 Session Hosts

  • Question 1: What is best way / sequence of steps to be followed to uninstall this RDS deployment and reconfigure again (with same configuration on all the servers as it is) ?

Reason being, this RDS deployment has been messed up badly and is creating many problems frequently. RDWeb page is also not working. We can only do mstsc.

  • Question 2: Is it necessary to reconfigure RD gateway and RD licensing roles also ? I believe it is enough to uninstall RDCB, Web access, SH roles because Gateway and Licensing are installed as separate instances after deployment with "Remote Desktop Services Installation". Yet, this needs some clarification.

*Note: As said, we are not going to change anything in environment. All roles will be back as it is on their previous VMs with same configuration.

I've been browsing since long but couldn't find any official MS document or any other article which guides me in a good way!

THANK YOU IN ADVANCE !!!


Best Regards,

Srujan C


Best Regards, Srujan C.

RD session connections windows server 2016 - two computers couldn't connect in the amount of time allotted

$
0
0

we have RDS installed in Windows 2016 standard edition and use session-base desktop deployment.

It was working fine for about one year. About two weeks ago, we started to have the following issue:

This computer can't connect to the remote computer.
The two computers couldn't connect in the amount of time allotted. Try connecting again. If the problem continues, contact your network administrator or technical support. 

When this issue happens, we find some users are disconnected in the RDS-Collections-QuickSessionCollection. But we cannot log/sign off those users, they are always showing there.

BTW, we can sign of those users in the Task Manager-Users. 

We can solve this issue by restarting the server. How to fix it without restarting the server?

Thanks!

Redirecting USB drives and local drives to RDS collection desktop

$
0
0

Hello everyone,

We currently have an RDS collection set up with high availability connection brokers.

In our collection settings, we have redirection enabled for any type of drives and shown here:

As expected, when a user logs into their RDS Desktop, all of their local drives get redirected to their remote desktop (including any network drives they have mapped locally):

What we're looking to do is to only redirect the C: drive, the D: drive, and the E: drive. Our network drives begin on F: so that we have room for USB drives on D: and E:.

As a quick test, I've tried to redirect only the C: drive. So, I went on to our connection broker and typed in the following PowerShell command:

Set-RDSessionCollectionConfiguration -CollectionName "CollectionTest" -CustomRdpProperty "drivestoredirect:s:C:"

The command ran successfully and since we have two connection brokers, I went to make sure that the registry got updated on both connection brokers. And alas, it replicated on both connection brokers (as expected):

I logged into our desktop published by our RDS collection and found out that this didn't work.All of our drives are still being redirected. I went ahead and rebooted the remote desktop session host (RDSH) and all network drives are still being redirected.

I tried entering the command in again, however this time, I added the other two drives that I want to be redirected:

Set-RDSessionCollectionConfiguration -CollectionName "CollectionTest" -CustomRdpProperty "drivestoredirect:s:C:D:E:"

I followed the same process, making sure that the registry had updated on both connection brokers, etc. and still no results. All of the local drives are still being redirected.

Is there a part I'm missing here? Am I typing in the wrong command? Any insight would greatly be appreciated.

Thanks


Viewing all 26837 articles
Browse latest View live


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