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

RDSH network printer driver sometimes lost automatically

$
0
0

Hi,

We are using remote desktop session host. the operating system is windows server 2016. Recently several user complain that their printer gone automatically. the printer installed on the printer server. we connected to printer through\\servername\printername.

on the event viewer. Applications and services----->Microsoft----->windows---->print service_

there have some error message like the following:

1. the default printer was changed to \\serveranme\printer name . see the vent user data for context information

2.\\servername\printer name    initialization failed at \\servername\print$\BID\HPBOID.dll.  Error 3. The system can not find the path specified occur because of system instability or a lack of system resources

3. Settings for printer.... were changed. No user action is required.

Anyone what is the problem of this

Looking forward for your feedback

Best Regards,

Apollo Ye


save any file on local computer

$
0
0

Hi

i like when user use rds service and will export any file from program remote only can save on local computer they remote to server.in save as show the local computer folder 

Unable to delete the Userclass.dat as it is open in SYSTEM

$
0
0

I have tried to delete the Userclass.dat file precisely as it is annoying to get deleted throwing pop up as : the userclass.dat is used by SYSTEM.

Here are the troubleshooting that I did so far:

1. Tried to delete the user from the User Profiles in System Properties but cannot fine that profile precisely as there are so many Unknown account.

2.deleted the profile from Profile List in registry and rebooted the system.

3. tried to disable inheritance to the .dat file and removed the SYSTEM from the Security.

Let me know what needs to be done next.


Smartcard pass-through fails when using remote desktop gateway

$
0
0

Some admins in our IT group have been attempting to set-up RDS (incl RDG) on Windows Server 2016. It works in most scenarios:

  1. Password auth to RDS server (with NLA)
  2. Smartcard auth to RDS server (with NLA)
  3. Password auth "passthrough" to a server via RDS (with NLA)

I've also verified smartcard auth to a server directly (not with a remote desktop gateway). For some reason, I'm unable to passthrough my smartcard to a server when using a remote desktop gateway. It simply comes back with "login failed" on the client. The "login failed" message appears as an error during the hop to the gateway server (i.e. it doesn't seem to even try to connect to the destination server).

On the RDG server, there are two error events generated:

  • AUDIT FAILURE, ID 4625, Unknown user name or bad password., NULL SID, SubStatus 0xC0000064
  • AUDIT FAILURE, ID 4625, An Error occured during Logon., NULL SID, Status 0x80090347


I'm not sure why a smartcard would work in one situation but result in Unknown user name or password in another. Any ideas on where to start?


Slow RemoteApp connection, pauses at "Preparing Windows"

$
0
0

Hello, we're running a Server 2012 R2 server as an RD server.  When I log into the full desktop via RDP it connects fast, however whenever I launch a remote app to that server and click on "show details" while its connecting I see that when it gets to "Preparing Windows" it hangs there for about 5 - 10 seconds before finally connecting to the app.  We connect from Windows 7 systems and are running RDP version 6.3.9600 with protocol 8.1.

Any ideas?

Server 2012 R2 RDS Deployment - RemoteApp Issues with Multiple Session Hosts

$
0
0

I'm having major issues with a Server 2012 R2 RDS environment when adding an additional Session Host to the existing RDS setup. Here is the configuration so far:-


- 1 x VM running Licensing, Broker & Gateway services

- 4 x VM's running Session Host services (1 = Collection #1, 2 = Collection #2, 3 & 4 = Collection #3)


Before adding the additional Session Host (#4) for Collection #3, everything runs perfect, I can access RemoteApp from RDS gateway and via RDP connection files. However whenever I add the additional Session Host, the collection stops working and I can no longer launch the RemoteApp - the connection begins to load as normal, when viewing "View Details" tab during RDP load process the process stops on "Redirecting to server" and then there's nothing - no RemoteApp. I cannot see any error logs within Event Logs for Connection Broker or existing / new Session Host Event logs. As soon as I remove the new Session Host, everything starts to work again.


I was under the impression that Server 2012 R2 had vastly simplified this process since Server 2008 R2, there is no longer a requirement for Round Robin DNS or Load Balancing because the Connection Broker handles all of this automatically - am I correct? The new Session Host (#4) is an exact replica of the original Session Host (#3), the RemoteApp application is installed in exactly the same file-path and successfully loads when opened locally. I have also re-created the Collection responsible for the 2 Session Hosts, but to no avail.


However, I have noticed that when I try to manually RDP to new Session Host after adding it to Collection #3, I receive the following error:-


Remote Desktop Connection cannot connect to the remote computer.
The remote computer that you are trying to connect to is redirecting you to another remote computer. Remote Desktop Connection cannot verify that the computers belong to the same RD session host server farm


I get around this for Admin purposes by launching mstsc using /admin switch.


Has anybody come across this? It seems simple what I'm trying to achieve but I'm clearly missing something.

Windows Server 2012 R2 Generalizing Sysprep Azure VM ended up with error "Your Remote Desktop services session has ended:your network administrator have ended the connection. Try again, or contact technical support for assistance"

$
0
0

I"m trying to create an Image of Azure VM. 

steps followed:

1. RDP into the VM ( Windows server 2012 R2)

2. As I'm getting an error when running Sysprep for the first time and followed the changes below and successful 

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SysPrepExternal\Cleanup
Registry key for SkipRearm is 1 for the following: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform 
<g class="gr_ gr_221 gr-alert gr_gramm gr_inline_cards gr_disable_anim_appear Grammar only-ins replaceWithoutSep" data-gr-id="221" id="221">Registry</g> key for GeneralizationState is 7 for the following: HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus
<g class="gr_ gr_222 gr-alert gr_gramm gr_inline_cards gr_disable_anim_appear Grammar only-ins replaceWithoutSep" data-gr-id="222" id="222">Registry</g> key for CleanupState is 2 for the following: HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus
<g class="gr_ gr_219 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" data-gr-id="219" id="219">msdtc</g> -uninstall
<g class="gr_ gr_220 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" data-gr-id="220" id="220">msdtc</g>-install

Deleted folder Panther.

3. Run the Sysprep. It took more than 2 hours and finally showed the error blade 

            Your Remote Desktop services session has ended

            Your network administrator <g class="gr_ gr_1478 gr-alert gr_gramm gr_inline_cards gr_disable_anim_appear Grammar multiReplace" data-gr-id="1478" id="1478">have</g> ended the connection. Try again, or contact technical support for assistance"  


Remote Desktop Web connection

$
0
0

Dear All,

Is it possible to configure remote desktop web connection on a Windows 10 Pro machine?

I can not find the option in the IIS Windows installation.

Regards.


How to determine RDP version used in the remote session on the server?

$
0
0

Hi!

I need to determine the version of RDP used by connected client in the terminal session on Windows Server 2012 R2.

For Windows Server 2008 I found this solution:

https://social.technet.microsoft.com/Forums/windowsserver/en-US/8863a44e-9393-43f8-8c1f-6180eff08495/how-can-you-tell-what-version-of-the-remote-desktop-protocol-an-rdp-session-is-using?forum=winserverTS

But there is no RDS Manager where I can see session Status in Windows Server 2012 R2. How can I determine RDP version? With PowerShell maybe or something else?

Copy/paste of CF_HTML formatted content not working

$
0
0

Hello,

I did post this issue in a reply in another thread, but though best to create a new post for this issue.

I have a RemoteApp that uses CF_HTML formatted content and the only way this content can be copy/pasted from the app to the local user's computer is if drive redirection is disabled.

This issue affects Windows 7 machines but does work on Windows 10. So seems to point to a bug/limitation in the older RDP protocol.

RDS farm is Windows Server 2016.

Only info I can find online is: https://www.spicelogic.com/docs/WinHTMLEditorControl/KnownIssues/150

and this which only relates to Citrix: https://support.citrix.com/article/CTX221798

Is anyone able to shed any light on this issue and if there is any solution (other than just disabling drive redirection, which is far from ideal)?

Thanks,

One RD Licensing Manager for all servers

$
0
0
Hello,

I have several servers in my company and there is a need to connect remotely more users with multiple servers.
Example:
Server1.net.local has an offica installed
Server2.net.local has SQL SMS installed
The server3.net.local has Chrome installed
The server4.net.local is DC and wants to have an RDP license management server installed on it and on servers 1,2,3 to use the RDP license which is installed on the server 4 ( 20 RDP CAL User)
For example, as the first server logs in 3 users, on the second server 2 users, on the third server 4 users, on the fourth server 3 users and Additionally one user caller No. 1 has a simultaneous connection to server no. 1, 2 and 4, user of no. 2 has an open connection to server 1.3 and user no. 3 has an open connection to servers 1,2,3,4.
I still have 5 licenses on the main server for the available licenses.
The remaining servers connect only to the server managing the licenses and check whether they can allow the user to connect or the number of licenses has been used.


The point is that on each of the servers I have installed other software and needs each user to be able to simultaneously connect to more than one server.
However, the SH and Collections configuration consists in creating server farms including High availability (has one DNS entry to different IP addresses and unilaterally separates connections) so that you can connect to servers but you can not connect simultaneously to more than one server which is SH because when you try to connect to the other server, when you are connected to one of the servers, you get the message that the connection has been redirected to the first one and the next connection can not be opened.
I supported this movie:
https://www.youtube.com/watch?v=pnscjO1QAmU

I will be grateful for the help because I can not find out how it can be configured.

Launching an application in an RDS session automatically

$
0
0

I want to be able to launch an application inside an RDS session when the session launches while still being able to see the desktop. Is this possible?

I edited the remote desktop icon I downloaded from the Work Resources\RemoteApp and Desktops in RDWeb so only a desktop would show:

remoteapplicationmode:i:1 to i:0
...
alternate shell:s:||epds
remoteapplicationprogram:s:||epds
...
remoteapplicationname:s:EPDS

and removed EPDS from the last three

I would rather be able to launch the EPDS application and be able to expose the desktop simultaneously. Is this possible

If I have to reconfigure the Remote Desktop Connection icon, what are the steps to do this?

Add local users to Windows 2016 RDS collection

$
0
0

I have set up a 2016 Datacenter server (VM) and joined to an Azure AD domain, then set up RDS.  I've deployed an application as a RemoteApp and created a local user that I want to be able to run the RemoteApp.  

Although I can add domain users and groups to the session collection, I cannot add local accounts - the only available location is the domain.

Is there any way to add local users and groups to the session collection?  If not (and I have to set up domain users for this) can I allow login without having the user enter the domain prefix to their login.  The Azure domain name is cryptic and was not intended for external use.



Steve Jensen

Remote Desktop Gateway - Event 304/Error "23005"

$
0
0

Hi,

I am tearing my hair out.  I have a RD Gateway server that is pointing towards a RD Farm.  I cannot connect to it using the Gateway.  I keep getting the the following error in the TerminalServices-Gateway Operational log:

Log Name:      Microsoft-Windows-TerminalServices-Gateway/Operational
Source:        Microsoft-Windows-TerminalServices-Gateway
Date:          10/7/2014 10:56:02 AM
Event ID:      304
Task Category: (3)
Level:         Warning
Keywords:      (16777216)
User:          NETWORK SERVICE
Computer:      XXXXXXXXXXX.wbc.local
Description:
The user "XXXXXX", on client computer "XXX.XXX.XXX.XXX", met connection authorization policy and resource authorization policy requirements, but could not connect to resource "SyteLine.wbc.local". The following error occurred:"23005".
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-TerminalServices-Gateway" Guid="{4D5AE6A1-C7C8-4E6D-B840-4D8080B42E1B}" />
    <EventID>304</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>3</Task>
    <Opcode>44</Opcode>
    <Keywords>0x4000000001000000</Keywords>
    <TimeCreated SystemTime="2014-10-07T15:56:02.952172000Z" />
    <EventRecordID>183</EventRecordID>
    <Correlation />
    <Execution ProcessID="2428" ThreadID="3140" />
    <Channel>Microsoft-Windows-TerminalServices-Gateway/Operational</Channel>
    <Computer>WBC-SLGW-01.wbc.local</Computer>
    <Security UserID="S-1-5-20" />
  </System>
  <UserData>
    <EventInfo xmlns="aag">
      <Username>XXXXXXXXXXXXX</Username>
      <IpAddress>XXX.XXX.XXX.XXX</IpAddress>
      <AuthType>
      </AuthType>
      <Resource>SyteLine.wbc.local</Resource>
      <ErrorCode>23005</ErrorCode>
    </EventInfo>
  </UserData>
</Event>

Any ideas?  Lots of googling has not helped

Thanks


RD virtualization - Assigning IP addresses if IPpool exhausted

$
0
0

Hi all,

 I have set "per session" IP virtualization on the windows 2012-R2 server.

My question is aboutthe behavior of IP virtualization if the range of IP addresses in the pool is exhausted.

 

Experiment description:

 

  1. Virtualization parameters used (3 addresses in the pool):
  2. 4 users are logged-in (last logged user1 has NIC address, because pool is exhausted):
  3. Logoff user with 104.0.2.51
  4. Login other (Administrator) user

As you can see - Administrator has obtained Nic IP address (192.168.56.1), although 104.0.2.51 was released in step c). I supposed that released address should be reused. But it is not. From this point only Nic address is assigned to the new users.

Q: Can server reuse the released virtual IP address for the next logged user instead of using Nic address?

Thanks for your answers

-Marian


Error during driver installation - Server 2016 RDS

$
0
0

Hi, I am getting this message when one of our users connect to the RDS Host server:

Error during driver installation. Result = 0x80070422 for devnode"TERMINPUT_BUS\UMB\2&2C22BCC9&0&SESSION137MOUSE0"

Event ID 121:

System
-Provider
[ Name]Microsoft-Windows-DeviceSetupManager
[ Guid]{FCBB06BB-6A2A-46E3-ABAA-246CB4E508B2}
EventID121
Version0
Level2
Task0
Opcode0
Keywords0x4000000000000000
-TimeCreated
[ SystemTime]2018-08-02T07:16:07.167352000Z
EventRecordID42618
Correlation
-Execution
[ ProcessID]1284
[ ThreadID]13992
ChannelMicrosoft-Windows-DeviceSetupManager/Admin
ComputerRDSH1.system.net
-Security
[ UserID]S-1-5-18
-EventData
Prop_DevnodeIdTERMINPUT_BUS\UMB\2&2C22BCC9&0&SESSION137MOUSE0
HRESULT2147943458

The user is using Windows 10 as the client computer with the latest RDP client.  I can't find any reference to this error.

Any ideas?


RDS access right / authorization anomaly

$
0
0

We came across this RDS access right / authorization anomaly two days ago.

A user in the AD wanted to open an RDS session in a server (let's call it serverA) which is Windows Server 2012 R2.  He got the following message:
"The connection was denied because the user account is not authorized for remote login."

This is normal because his AD account was not a member of "Remote Desktop Users" group in serverA.

I then added his AD account into the group. *Four hours later*, when he tried to open an RDS session again, he still got the same error message!

I have gone through everything, every group, etc but I could not find the reason.  Then I took another computer, told him to log in and then told him to open an RDS session from there to the same serverA.  This time it worked!  And almost immediately when he tried to open the RDS session again from his own computer, that worked too!

What the hack is this anomaly?  Was there a workaround without having to have another computer to open RDS session first?

I think if he had closed and re-opened Windows session in his own computer, that would have worked too.  But of course, he had too many programs running at that time that it was impossible for him to logout & login again.

And I also think this issue is similar to "network shared folder still rejects access" issue:

simply put, it's like this: a user was rejected when he tried to access some network folder without authorization.  Then the access was later on granted by domain admin but all his attempts to access the same folder are rejected.  He has to reopen his Windows session to get around this.

Are these two issues all related to problem in Kerberos?

RDP logon takes 5 minutes

$
0
0

Hello,

I have a problem on several 2k8 servers: since a few days, when I get my hands on it in RDP the logon lasts 5 minutes. In the eventviewer I have: A timeout (30000 milliseconds) was reached while waiting for a transaction response from the  ShellHWDetection service. And the same with the processes: Dnscache, CryptSvc, NlaSvc. the server reboot solves the problem but only for a few days. After that starts again, I tried among other things:
- Testing from another workstation
- Disabling the print spooler 
- Disabled smart card printers, etc. in connection settings
- Disable antivirus software
- GPO : System\Logon\Always wait for the network at computer startup and logon (Turns off Fast Logon Optimization)
- No Active directory replication problems
- No DNS problem
- The servers are in the OU computers and my user in the OU users (so no GPO)

without success, not against when I connect directly to it (without going through an RDP connection) I have no problem.
Do you have any idea?

Thansk in advance,

C.

Licence server not working anymore after updating windows

$
0
0

Hi,

We have a server 2016 With remote Desktop services. The server is live and everybody can login.

After installing the roles for terminal server everything was great till i update the server.

We get a message that the licence server is given and we have a grace period of 118 days left.

The licence server is activated with client cals.

When we add a collection and add the hostserver we get the error:

Property page: Update RD licensing failed: due to exception The licensing settings can not be set: "Invalid operation"


Has anyone a idea how to solve this ?

Thanks in advanced,

John

Start Menu Not Working Frequently for Users (RDS 2016)

$
0
0
Windows Server 2016 RDS setup with one DC and 3 session host servers, all running as VMs under Citrix XenServer. This is a session-based deployment for RDP sessions.

On 2 of these servers, the Start menu does not work most of the time. Users logged in to RDS cannot use it. You click and nothing happens, not even after many minutes. Search function does not seem to work either at this time, so it might be a general UWP app problem.

Seems that it does work for a short time after a session host server has been rebooted but latest the next day it doesn't work.

I find lots of posts, mostly years old, on Windows 10 start menu not working but cannot necessarily apply the "fixes" in a RDS scenario. And most of them seem to say (years ago) that the latest Windows Updates fixed the issue. But it isn't fixed as of right now, July 2018.

What is the reason for this and is there any fix or handling for it?

Atradius

Viewing all 25525 articles
Browse latest View live