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

Unable to connect to the server by using Windows Powershell Remoting

$
0
0

HI,

We are trying to install RDS on one of the server OS 2016. But facing below error

Unable to connect to the server by using Windows Powershell Remoting

-- We are installing all RDS Role on the same server, there is no remote server involve in it.

Did below troubleshooting but still issue persist .

-- We ran below command but no luck.

Enable-PSRemoting -force
Set-Item WSMan:localhostShellMaxMemoryPerShellMB 1000

Refer : https://community.spiceworks.com/topic/1463758-unable-to-connect-to-the-server-by-using-windows-powershell-remoting-rds

-- Disable windows firewall

refer : https://rlevchenko.com/2015/05/22/rds-unable-to-connect-to-the-server-by-using-windows-powershell-remoting/

Ran "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned"

Ran "Set-ExecutionPolicy -ExecutionPolicy UnRestricted"

Refer : https://social.technet.microsoft.com/Forums/sharepoint/en-US/68af42d6-7a12-49eb-941c-72ba0cc6d316/setexecutionpolicy-unrestricted-force?forum=winserverpowershell

-- Further we tried to install the RDS from DC but when we tried to add the server **3 in server manager group it shows below error.

Error **3 : Configuration refresh failed with the following error: The metadata failed to be retrieved from the server, due to the following error: The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig".  7/19/2017 5:03:36 AM


-- We provide local admin rights to user "helpdesk" but no result.

-- Disabled IP v6 but still no result.

Refer : https://rlevchenko.com/2015/05/22/rds-unable-to-connect-to-the-server-by-using-windows-powershell-remoting/

---------------------------------------------------------------------------------------------------------------------------------------


Thanks, Sajjan T


RDP Sessions - same pc but different results depending on login user

$
0
0

Hello,

So I am using RDP on a single computer that is connecting to the server, if user A logs in, the desktop icons look good (size is big enough for the user to see) but when he launches a Tax Program the icons in there are tiny.  If user B logs in (same computer being used) the desktop icons are good size - same as user A.  But when she launches the Tax Program her icons are a a perfect size.  They have the exact same rights and permissions.  There is no difference there.

What should I check out next?  Would it be on the local desktop side or the RDP server side?

Thanks!

RemoteApps cannot access \\tsclient\ drives, File Type Associations won't launch RemoteApp

$
0
0

Hello!

I have a RemoteApp host established, and RemoteApps work well.  When I associate any off the RemoteApps with a file type, the RemoteApps starts to launch, but I receive this error:

When I try to access \\tsclient\ drives from Remote App, I receive this error:

However, if I RDP directly to the host, I am able to access the \\tsclient\ drives from the applications.  The problems only occur when using applications as RemoteApps.

In the Applications and Service Logs \ Microsoft \ Windows \ RemoteApp and Desktop Connections \ Operatoinal event log, I receive event 1041 - Remote Application (Excel) is luanched on RemoteApp and Desktop Connection (RemoteApp Host Name) but no stored credentials are used for single sign on.  (Reason - RemoteApp and Desktop connection does not exist).

Using RemoteApps works fine for the 20-or-so test users.  They all have the same problems, on any machine, when using \\tsclient\ drives in Remote Apps, and receive the same error when trying to open files that have a file associated with a RemoteApp. 

I suspect the two problems (not being able to access \\tsclient drives in RemoteApps, and not being able to open files via file-type-associations in RemoteApps) is related to SSO.

I'd appreciate any thoughts about how to resolves theses.

Thanks!

Scott

Bypass approval for Remote Control Request

$
0
0

Hi,

We have a Server 2016 server with only the following roles installed

- RDS Session Host
- RDS Web access

It is a single RDSH server hosting an application that has to be used by more then 2 people at the same time. The application will not be published, so a collection is not needed. Users will get a RDP file that let them connect to the application server on RDP poort 3390.

What i want to achieve is that non administrator accounts can take control of sessions. Server Manager is not the way to go because i dont have a broker role installed. Server Manager will just give me a message the broker role is not found.
Even when i would install the broker role, i guess i still need published apps / collections in order to see sessions and manage those sessions (kill them, take control, etc).

So i try to use one of the following tools:

- LazyTS
- tsadmin.exe (the old Terminal Server Manager from older server versions)

When i run the tool as Administrator i can do everything, but when i take control of a session on the RDSH server the logged on user has to give approval. For several reasons i dont want the approval to be given.

So i opened up the local Policy MMC on the RDSH and changed the "Set rules for remote control....." to "Full control without users permission".
Also on the AD account of the user logged on to the RDSH i made sure the "Require users permission" is unchecked. 
But it still asks me for approval!

When i use mstsc /V:<servername> /shadow:<nr> /noConsentPrompt /control i get in without approval.
So it is possible, but why would one of the tools behave differently? I guess the tool is not using a parameter like /noConsentPrompt, but i still disabled it in local GPO?

Did i miss something?

Window 10 Pro with Window 7 Pro.

$
0
0

Hi Everyone,

I have 20 Qty Window10 Pro FPP license.

And installed  Window10 Pro in 10 Pcs and rest 10 PCs installed with Window 7 Pro.

Can I install window 7 Pro in newly purchased computer and can get adjust/entitlement with existing window 10 Pro that purchase previously.

Do we need to buy extra Window 7 Pro for the license entitlement.

Many thanks....


I looking for alternative for Citrix

$
0
0

Hello,

I have in my Company virtual environment in VMware.

We use Citrix to share applications for clients desktop, but I would use only RDS - I know it's easy, but I have now 25 virtual machines on citrix. Update application on 25 RDS virtual machines can was tarrible.

And here is my question:

Can I make base disk with RDS(RemoteApp) and create from it 25 VM's ?

It's should be on WS2019 Datacenter. Microsoft has on this solution? VDI can help me in this? Maybe there is something else that I have not heard of?

I will be very grateful for all the answers.


Temporary profile folder

$
0
0

Hi,

We have windows server 2012 R2 server. We see many temp.domain.xxx folders getting created. Basically, this is a SFTP server (tecia sftp application is installed). Users connect to this server using WinSCP but users profile folder are being created. However, recently we observed under c:\users\ , there are lot of temp.domain.xxx profile folders. Few users had a issue connecting via WinSCP. We deleted these temp profile folders and related .bak files from profilelist in registry. Rebooted the server but the issue still exists. Can someone please help fixing this issue as it is impacting multiple users. Is there any hotfix to install? Server is updated to the latest.

Thanks,

Umesh.S.K

RDS idle session limit error

$
0
0

Hi all,

We are setting up an RDS environment on Windows server 2019. The only collection we have has a third-party application.

The problem is that we have the Idle session limit set to 8 hours, but it seems that it is not working because we see users with 1 day and one hour in idle time.

Is there any way to check why it may be happening? I don't see logs or events.

Thanks and regards,


Gerardo,


All instances of Windows Explorer slow on all users

$
0
0

At random intervals Windows Explorer seems to stop responding/become very slow on all signed in users (+- 20 users). Overall Processor usage is usually around 10~15%, but when this happens all logical cores rise to 100% for 2~3 seconds and then drop back to normal values again. During these 2~3 seconds Windows Explorer is responding to clicks, but the main windows stays white. This happens on both local disks as well as network drives.

Our setup is as follows:
- Windows Server 2016 std
- Server: HPE ProLiant DL380 Gen10, 2x Intel Xeon Gold 6130, 192 GB memory, 8x 900 GB SAS 15k in RAID5 (controller cache enabled)

2012 RDS VDI Farm migrating to Server to 2019

$
0
0

Currently we have a 2012 RDS FARM.  Its running VDI's and UPD's.  I cannot seem to find the best way to upgrade this server 2012 R2 farm to Server 2019.  What I have read is that UPD's are tied to the current collection and its next to impossible to point them to a new collection.

The ultimate goal is to migrate away from the aging OS and Hardware and move to Server 2019.  There doesnt seem to be a direct upgrade path to migrate the data from one RDS farm to another.  Doesnt look I can add the server 2019 to the Server 2012 farm and migrate that way.

Does anyone have any recommendations or suggestions?

New RDS Deployment "There are no available computers in the pool"

$
0
0

Hey everyone, this is a brand new VM running 2016. Trying to install RDS for session-based deployment. I did the following steps:

1. Select "Add Roles & Features"

2. Select "Remote Desktop Services Installation"

3. Select "Quick Start"

4. Choose "Session-based"

The deployment starts, the server reboots automatically, and afterwards I cannot login via RDP. I get "there are no available computers in the pool". I tried rebooting it, tried restarting the RDS services, no luck.

I don't have access to the VMware console to get in that way. The only way I can recover is to add the server to Server Manager on another box and remove the Roles & Features. After doing that and trying again from scratch I get the same result. Suggestions? 

Server 2012 R2 RDS sessions keep disconnecting

$
0
0

Hi there

Having issues with an RDS connection to a new 2012 R2 Server, fully updated, issue occurs to all Clients simultaneously. Sometimes brief disconnection (2 - 3 seconds) sometimes a lot longer.

Already performed the "keep alive=1" group policy hack but still happening.

Event ID40 reason codes 0 and 5 mainly - yet my licensing all checks out OK? I have 50 RDS cals but only 7 users - Ive split them into 25 per device and 25 per user to see if it makes any difference (No)

However The License diagnoser  states that ZERO licenses have been issued? Is this a problem? Too much of a Noob to know myself.

many thanks

RDGateway in Parent/Child domain

$
0
0

Hello, I have a parent/child domain configuration. All of my RD Infrastructure machines (Gateway/Web cluster, Broker, Licenscing) live in the Parent.domain. All of my Sessionhost servers, and users/groups are in the Child.parent.domain.

When I create my rule in the gateway, users in the child.parent.domain can only connect to their server if "Allow users to connect to any network resource" is selected in the RAP.

If I just leave the user group (located in the child.parent.dom) the connection goes all the way through to "Loading Virtual Machine" and acts as if it will connect, then the last second fails out with the standard "User does not have access" error

I think the solution is similar to the issue in this post: https://social.technet.microsoft.com/Forums/en-US/b9111b86-6679-46df-92c6-d03b7dd0a186/rd-gateway-cap-and-child-domain?forum=winserverTS but since my setup is slightly reversed I can't seem to get the group organization across the child and parent domains correct.

Does anyone have any thoughts what I might be missing?
Thanks!

 Ian

RDS Disconnection issues

$
0
0

A few weeks ago we purchased an RDS license for 3 users from a supplier.

I've installed this on the client's server (Server 2019) and I can see the licences are installed when I look in the RDS license manager.


It is also not daily fare for us so I have followed these steps but then on a server 2019. It's for Server 2016 but the screens are exactly the same as server 2019. https://www.slashadmin.co.uk/how-to-setup-a-single-server-rds-deployment-using-server-2016/

Now there are two problems:

I have created a security group of which a number of users are members who may be assigned a license but somehow the administrator also gets a license and I want to prevent that. How can that be secured?

The second and biggest problem is that the users are now being targeted on the server with every mouse click they make. Have received the following screenshots from the customer: They may give some extra information regarding the problem.

Can you help/advise how to permanently solve this problem and thus create a workable situation?



RDS 2019 hanging at "Configuring Remote Session"

$
0
0

Hi,

Our set-up: 

  • 2 x Windows 2019  RDS gateway servers + RDWEB + RD Web Client
  • 1 x Windows 2019  RDS Connection Broker
  • 14 x Windows 2019 RDS sessions hosts in 8 collections
  • 4 x Windows 2016 RDS session hists in 2 collection 
    (All servers do have the latest patches installed and are running ESET protection for servers) 

Every x days when a user tries to connect they are getting stuck at "Configuring remote session". 
After 5 minutes they are presenting with an error that the RDS gateway server isn't available. 
This is not the case for every user, just randomly around 50% of the users. 

Once we rebooted both of the RDS gateway server everything works fine again.

The strange thing is that we can;t find any Error/Warning at the evenlog. 
ESET anti virus we enabled debug logging but that server also isn't logging any errors/warnings/blocked stuff..

Any idea what could be the issue and how we could resolve it ? 


multiple GPUs on RDS session host server

$
0
0

We are currently using Physical server for RDS session host boxes. Each server has one Quadro P2000 GPU in it with the h.264 enabled.

If we put in a second P2000 GPU into each server would the Server be able to use it or would it only use one of them?

Thank you

Can't Publish RADC Work Resources to a session with redirected StartMenu

$
0
0

Hello,

I have a big RDS farm at a client, which mixes RDSH and RemoteApp session.

I'm able to publish those work resources into Session open into the RDSH collection of my farm. This way, my user (on their thinclient) are able to access the RemoteApp published by the collection, everything works fine, but I had to use the Windows 7 way, with the Powershell script and the feed.aspx file.

Everything fine this way, and our end-user are pleased to have direct access to the app from their Windows session.

But we also need to use redirected StartMenu via GPO, and when this is set, we cannot publish the Work Resources anymore.

I know that publishing those work resources create an entry in the start menu, but if I deactivate the publishing GPO, apply the redirected StartMenu GPo, I can't manually publish those Work Resources.

Any ideas of the why, and maybe the how to correct this ?

Regards

Windows Search changes in Server 2019 RDS

$
0
0

Hi,

So nothing like being on the cutting edge......

I have been testing Server 2019 RDS and so-far-so-good apart from an issue with the Windows Search Service.

It appears that in Server 2019 each user gets their own search database EDB file in their profile path (appdata\roaming). e.g.

C:\Users\username\AppData\Roaming\Microsoft\Search\Data\Applications\S-1-5-21-3901271148-1553943383-1671037523-1629\S-1-5-21-3901271148-1553943383-1671037523-1629.edb

When they log on and log off; this is connected to the search service and the following event log is generated

Source:ESENT
EventID: 326
SearchIndexer (10896,D,50) S-1-5-21-3901271148-1553943383-1671037523-1629: The database engine attached a database (3, C:\Users\username\AppData\Roaming\Microsoft\Search\Data\Applications\S-1-5-21-3901271148-1553943383-1671037523-1629\S-1-5-21-3901271148-1553943383-1671037523-1629.edb). (Time=0 seconds)

Unfortunately it appears that this process is not very stable and on some logons the database in the users profile does not attach and the following error is generated

Source:Search
EventID: 3057
The plug-in manager <Search.TripoliIndexer> cannot be initialized.
Context: S-1-5-21-3901271148-1553943383-1671037523-1629 Application

Source:Search
EventID: 3028
The gatherer object cannot be initialized.
Context: S-1-5-21-3901271148-1553943383-1671037523-1629 Application, SystemIndex Catalog
Details: The specified object cannot be found. Specify the name of an existing object.  (HRESULT : 0x80040d06) (0x80040d06)

And a few more similar but related errors....

No subsequent logon/off will succeed in attaching the database until the Windows Search service is restarted

I am not testing with User Profile Disks or Roaming Profiles
There is no AV on the server

Any ideas?

Andy



Andrew



Unable to contact license server

$
0
0

Hi,

I have installed Remote desktop session host on one of our server and created a registry key mentioned below with license server name

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters\LicenseServers

"SpecifiedLicenseServers" REG_MULTI_SZ "XXXXXX"

My license server is in different Vlan therefore i had opened below ports on network firewall end with port query success.

TCP 135

TCP 139

TCP 445

UDP 137-138

TCP 49152 - 65535 

TCP 5985

yet my session host is not able to communicate to license server and indicates "License server XXXXX is not available, this could be caused by network connectivity problems" in RD licensing diagnoser

AM i missing any port or is there anything additionally that i have configure to solve this problem?

Powershell remoting broken in Windows 10 1903

$
0
0

We upgraded a system to 1903 and immediately we are unable to remote powershell to that box.

Already done:

No available updates to install.

rebooted several times more.

Firewall is disabled.

disable-pssession and re-enable pssession, no errors.

This is the error we get when trying to connect:

Enter-PSSession : Connecting to remote server testdesktop failed with the following error message : WinRM cannot process the
request. The following error with errorcode 0x80090322 occurred while using Kerberos authentication: An unknown security error
occurred.
 Possible causes are:
  -The user name or password specified are invalid.
  -Kerberos is used when no authentication method and no user name are specified.
  -Kerberos accepts domain user names, but not local user names.
  -The Service Principal Name (SPN) for the remote computer name and port does not exist.
  -The client and remote computers are in different domains and there is no trust between the two domains.
 After checking for the above issues, try the following:
  -Check the Event Viewer for events related to authentication.
  -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS
transport.
 Note that computers in the TrustedHosts list might not be authenticated.
   -For more information about WinRM configuration, run the following command: winrm help config. For more information, see the
about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ Enter-PSSession testdesktop
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (testdesktop:String) [Enter-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : CreateRemoteRunspaceFailed

The internet has a lot of stuff about broken SPN's on web servers and deleting or recreating:

http/host.domain.com  

but this isn't a web server, it's just a Windows 10 desktop. there are no existing HTTP SPN's on this box.

Domain trust is fine, computer account is fine.

Any ideas are appreciated.

Viewing all 5613 articles
Browse latest View live


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