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

ERROR: This RDP file is corrupted. The remote connection cannot be started.

$
0
0

I have created 2 new remote app connections for different modules of the same application in TS 2008 R2. I am trying to launch them via a remote apps web front end on a Win7 Enterprise workstation fully patched.

One connection works fine but the other errors out immediately with "This RDP file is corrupted. The remote connection cannot be started." If I do not digitally sign the connection to the remote app site both connections work fine. All other connections published on this server work fine.

Thanks

Sean


Sean Evans


User Profile Disks - Backup/Restore

$
0
0

I was considering deploying User Profile Disks in my 2012 R2 RDS environment instead of Roaming Profiles / Folder Redirection.

However, I have noticed a potential flaw unless someone can shed some light on this. With UPD being relatively new there is limited documentation on this.

If I backup my UPD directory (stored on a central server), and / or my Terminal Servers and I use a backup product which allows granular file-level restore. Initial testing shows that this won't work as you would want it to e.g. I can restore the VHDX associated with the UPD but cannot restore the individual files stored on the UPD e.g. a single word document.

This leads me to think it is more beneficial to use the tried and tested Roaming Profiles / Folder Redirection combo. Or indeed, possibly deselect the UPD option for Documents etc. and combine UPD with Folder Redirection.

Or does anyone have any further info on this?

RemoteApp session sent to wrong collection

$
0
0

I have a 2012 R2 RemoteApp environment with the following servers:

Server1 - Session host, internal web gateway, connection broker (HA configured)

Server2 - Session host, internal web gateway, connection broker (HA configured)

Server3 - Session host

Server4 - External web gateway (published to web on port 443)

Server5 - External web gateway (one should always have redundancy right?)

Servers 1,2,3 are all in a single RDSH collection, lets call it RemoteApps. All apps work properly from the inside and outside through all connection methods from desktop RDC clients to web interface to iOS and Android devices. (this still seems like magic to me)

Now let me introduce our new friend Server6. Server6 is just session host. It has been added to a new collection, lets call it AdminDesktop. Server6 has exactly the same programs installed as Servers 1,2,3 but is in a new collection so I can access the full desktop remotely from my tablet when I travel. It is also there so I can isolate it and any work done on it will not effect the production sessions on Servers 1,2,3.

Server6 rarely gets attention. Most of my connections to the published AdminDesktop service are instead directed to one of the application session servers (1,2,3). Since they are all identical I have to check every time I connect to make sure I'm not on a production server before I begin working.

The reverse situation never happens. If I launch an individual application I am always 100% of the time directed to one of the proper RemoteApps collection servers (1,2,3).

I have verified all servers are in the proper AD RDS groups, and my gateway policy has been setup (for testing purposes) to allow me to access any domain computer through the gateway. 

How can I configure this so the AdminDesktop sessions will always go to Server6 in the AdminDesktop collection?

HP OO flow failing, due to some access issue

$
0
0

 Hi,


We have this OO flow for C: clean-up. However for ESX servers, the OO flow always fails. Just checked the log & found this. Could see few access not granted

______


WriteData (or AddFile): Not granted
AppendData (or AddSubdirectory or CreatePipeInstance): Not granted
WriteEA: Not granted
ReadAttributes: Granted by ACE on parent folder D:(A;;0x1301bf;;;BA)
WriteAttributes: Not granted

______



Kindly suggest what to do ?



Well, this is the event from the log::



Log Name: Security
Source: Microsoft-Windows-Security-Auditing
Date: 8/26/2015 10:49:01 PM
Event ID: 4656
Task Category: File System
Level: Information
Keywords: Audit Failure
User: N/A
Computer: inkerperum01
Description:
A handle to an object was requested.

Subject:
Security ID: ****\a16992167-3
Account Name: a16992167-3
Account Domain: ****
Logon ID: 0x36c0a555

Object:
Object Server: Security
Object Type: File
Object Name: C:\Windows\System32\ServerManager.msc
Handle ID: 0x0

Process Information:
Process ID: 0x2c50
Process Name: C:\Windows\System32\mmc.exe

Access Request Information:
Transaction ID: {00000000-0000-0000-0000-000000000000}
Accesses: READ_CONTROL
SYNCHRONIZE
WriteData (or AddFile)
AppendData (or AddSubdirectory or CreatePipeInstance)
WriteEA
ReadAttributes
WriteAttributes

Access Reasons: READ_CONTROL: Granted by D:(A;;0x1200a9;;;BA)
SYNCHRONIZE: Granted by D:(A;;0x1200a9;;;BA)
WriteData (or AddFile): Not granted
AppendData (or AddSubdirectory or CreatePipeInstance): Not granted
WriteEA: Not granted
ReadAttributes: Granted by ACE on parent folder D:(A;;0x1301bf;;;BA)
WriteAttributes: Not granted

Access Mask: 0x120196
Privileges Used for Access Check: -
Restricted SID Count: 0

Microsoft Licenses for RDS CAL still show Expiry date after activated? It is Normal?

Where are User Environment Variables %homedrive%, %homepath% set?

$
0
0

Hello Folks,

maybe someone here can help. In a Windows 2008 R2 (+Xenapp 6) Environment, when I set user environment variables via "Advanced Settings" - "Environment Variables" those settings are not set throughout the user session. For example: If I open a command prompt after setting the environment variables (f.e. %HOMEDRIVE% -> H: and %HOMEPATH% -> \) and execute the set command, the previously configured environment variables are not active. It still shows the old variables %HOMEDRIVE% -> C: and %HOMEPATH% -> C:\Users\name...

Even if I enter the environment varibale into Windows Explorer (f.e. %homepath%), it jumps right to the location of the old variable.

I even set the user environment variable via VBscript, which works quite nice (checked in "Advanced Settings" - "Environment Variables"), however if I try another set command, it still shows the old variables! Windows Explorer jumps to the old locations as well...

 

Any ideas?

 

RemoteFX on Windows 10

$
0
0

Hello.  I am trying to see how video graphics look in Windows 10 using RemoteFX, but am running into issues.

I have the Hyper-V role installed on Server 2012 R2 with RemoteFX enabled.  I'm running Windows 10 x64 as a guest.  If i add the RemoteFX 3D Video Adapter to that VM and start it up I can see it start to load windows, but then get a black screen. This isn't just with the Hyper-V console window as i've heard is expected.  I also can't ping the system, remote into it with powershell, or RDP into it.  If i remove RemoteFX 3D Video Adapter and start it up it then boots up fine and ping, RDP, etc work.  So it seems like adding that adapter causes the system to lock up and not complete boot.

Is this expected with Windows 10 on a 2012 R2 Server?  Do i need to use Server 2016 Tech Preview for this to work?  I haven't found updated documentation showing it as required.

My next test will be to try on a Windows 8.1 VM which certainly should work, but just curious if anyone knows more about this.

Thanks

Windows Server 2012R2 RD Connection Broker

$
0
0

Hi, my name is Heiko and i'm new here.

I'm looking for an compatibility list for older RDP Clients (Bulids) which work with 2012 R2 RD Connection Broker. Where can i find such technical informations? We have a lot of IGEL thin clients (Linux) wich support RDP7.1. Can we use 2012 R2 RD Connection Broker with these clients?

Thanks for your answers

Heiko


user profile service failed the logon .

$
0
0

Hi everyone,

I am working in a corporate here we are using windows 7 professional i am able to log in locally but while i try to log in with domain account i am unable to log in (user profile service failed the logon)mentioned error is showing.

I have tried every thing but not resolved.

Kindly help me to resolve this.

Two-Factor USB Tokens and RDP Session Timeouts

$
0
0

Server 2012 R2 Domain with Two-Factor authentication required

Windows 7 Enterprise workstations

We are able to successfully authenticate to 2012 R2 servers via (Remote Desktop two-factor authentication via USB tokens/Smart Cards with certificates from our CA).

The issue is after the RDP session has keyboard locked, we are unable to immediately log back in to the server with the Smart card logon, unless we unplug our USB/Smart Card tokens and plug them back in to our workstations.

I am under the impression that we need to possibly make a setting change in a GPO for the servers.

Do we need to look into the setting for: AllowFreshCredentialsWhenNTLMOnly

Thanks.


JCashon

Problems with NLB settings in Terminal Services 2012

$
0
0

Hi,

We have problems with NLB settings in RDS 2012.

The situation is as follow:

We have 3 terminal servers 2012 (2 session host) and 1 (connection broker)

We have 1 collection and in it are the two session hosts

Each session host has two network cards. two subnets (172.30.Xx and 192.168.x.x) and the session broker with card 1 (192.168.x.x) (Now it's just 1 after doing many tests but before it also had 2 as the host session )

in test situation, when using only one subnet, the collection and the session broker and RoundRobin (without NLB) we have no problems. But it is necessary for us to have 2 subnets and one NLB cluster.

In the subnet 192.168.X.X we configured an NLB cluster ip 192.x.20. The cluster is multicast IGMP. The cluster with some configurations has been unstable but now is not.

Our customers are Thin client. When we are going to connect to the cluster IP (192.168 X.20)

What we see in the logs are all these situations:

1. Sometimes connects to the cluster IP (192.168.x.20). It connects quickly.

2. Sometimes connects to the "real ips" of the host but the 192.168.x.x subnet, NO to the cluster IP. It connects overall good.

3. But sometimes appears in the logs that it connects to another subnet IPS that have nothing to do with the cluster, that is the actual host IP subnet but (172.30.x.x). In this case the system has many delays when connecting.

Even 1 min

Although the thinclient I configure to be connected to 192.168.x.20 (IP of the cluster), it really connects randomly where it wants and how it wants ...

Thank you very much for everything.


RDCBHA

$
0
0

Working in ws2012r2 to get Remote Desktop Connection Broker to work in High Availability with SQL Server 2012.

Please stop me if I missed a step!!

-Created RDCB01, RDCB02 and RDCB03 in DNS and Static IP,

-created group Lab\RDCB_Comp_Group,

-login to Microsoft SQL Server Management Studio under Security>Logins as "RDCB_Comp_Group",

-checked under Server Roles dbcreator and public,

-RDCB_Comp_Group Properties>Members should be able to enter RDCB01, RDCB02 and RDCB03 or RDCB01$, RDCB02$ and RDCB03$ but they do not exist in Find with all the options checked.

Where am I going wrong?

Remote Desktop Through VPN Stopped Working

$
0
0

We have multiple locations connected via site-to-site IPsec VPN's to our main location. The main location is running Windows Server 2008 R2 with Remote Desktop Services and enough licenses to cover the users connecting. This issue started yesterday from sites in the Indiana area. RDP Server is located in Chicago. When users in Indiana try to connect with the Remote Desktop Client they are prompted for their credentials over and over but are never able to connect. I can ping the server by name and IP address. When I try their credentials on the local network in Chicago I get right in.

After connecting with their credentials in Chicago they try it again and then they can login. To add to the confusion we also have sites in Chicago connecting to the main office and they are not experiencing these issues. They are also connected via IPsec.

Noting shows up on the Windows Logs indicating a failed connection attempt at the local client or server.

All remote systems are running Windows 7. Server has latest updates.

Any suggestions would be appreciated.

RDS 2012 R2 Temp Profile (again!)

$
0
0

Like the subject says, RDS 2012 R2 using UPD. Our current environment:

  • 2 connection brokers (non-HA at the moment)
  • 2 session hosts (load balanced)
  • 1 gateway

Users on remoteapp get a temp profile and domain administrator gets temp profile on both session hosts. I have followed the advice to delete .bak entries in registry. I have edited the WID to remove the orphaned session host server.

Event id 1515

windows has backed up this user profile. windows will automatically try to use this profile the next time the user logs in.

AND

event id 1511

windows v=cannot find the local profile and is loggin you in with a temp profile......

What to do to fix this once for all?

Runonce RunDll32.exe InetCpl.cpl,ResetIEtoDefaults not running when RDS session has a start program

$
0
0

Here is my scenerio.

2008R2 as RDS Host

GPO-A: used to start an application.  Created GPO-B to add registry key Hkey_Current_user\Software\Microsoft\Windows\CurrentVersion\Runonce to run RunDll32.exe InetCpl.cpl,ResetIEtoDefaults with Common set to Apply once and do not reapply.  Needed to reset IE back to factory settings.

My problem is the start program starts but the Runonce doesn't apply until I present the user with a desktop at which point I get the IE Rest dialog.

Any way to get the Runonce GPO to run within the session without a desktop?


RDS 2012 R2 Connection Broker HA

$
0
0

Hello,

I'm having issues adding the second Connection Broker to the High Availability setup. The setup is as follows.

RDS1 - Session Host, Connection Broker (current)

RDS2 - Session Host

RDSX - proposed Connection Broker (fails on add)

I've set up an AD security group, added both connection brokers to that group, then created a SQL login using that AD group and gave them dc_owner user mapping and db_creator server role. I created the same DNS record for both the servers I'm targetting as well. I was able to successfully create the HA setup and database with the original connection broker, even before making the ODBC connection. After making the ODBC connection on both the connection brokers, I tried adding the second, RDSX, just for it to fail with the message...

The database specified in the connection string ***. Ensure that the database server is available on the network, the SQL Server Native Client is installed on all RD Connection Broker servers, and the computer accounts of the RD Connection Broker servers are members of the RDS Management Servers group on the database server.

I followed the proposed solutions on the error message as well and it failed again.

What am I missing?

Thanks

Unexpected Issue

$
0
0

RDS 2012 R2. We have the following environment:

  • 1 - rds gateway (licensing and rd web)
  • 2 - connection brokers
  • 2 - session hosts (load balancing)

All these are hyper-v 2012 R2 VM's. We also use UPD and we use remoteapp publishing. So, session host 1 has never worked correctly since deployment. The problem with SH 1 is users would always get temp profiles at login. So i deleted the SH 1 VM using the following command:

Get-VM "VM Name" | %{ Stop-VM -VM $_ -Force; Remove-VM -vm $_ -Force ; Remove-Item -Path $_.Path -Recurse -Force}

This removed the vm, hard disk and xml file. Then i reinstalled 2012 R2 and deployed the session host role to the server. Logged in with domain admin and was given a temp profile. SH 2 was working fine so i left this project and moved on to some other things while i thought about what to do next. I picked the project back up a couple of days ago and didn't have anything to do but delete the VM again in the hopes this delete would somehow delete all traces of the VM. So i used the same command from above and then verified the VM, hard drive and xml file were gone, they were. So i created another VM and installed 2012 R2 again. Did windows updates and logged in as domain admin and was given a temp profile!

You can see why i am thinking some configuration trace is left somewhere! The question is where? Is it possible the connection brokers are holding something related to session host 1? When the SH 1 was removed, you would get "server SH 1 is no longer in the pool..." when you tried to manage the deployment in server manager. I found:

https://social.technet.microsoft.com/Forums/windowsserver/en-US/cee15edd-d1f5-4393-aafa-93e8e4f8e519/remove-already-deleted-session-host-server-from-deployment-configuration?forum=winserverTS

in regards to that issue and wonder if the connection broker is holding some info that keeps giving the temp profile issue. Anyway, i am at a loss on how 2 installs can give this same issue every time. Any ideas?

This seems to affect only domain users! Local admin has no problems when logging in

RD connection broker needs write permission to the server

$
0
0

Using ws 2012 r2.

I have setup the roles, certificate and SQL Server.

I still get the error: "RD connection broker needs write permission to the server".

I think this website will fix this: http://social.technet.microsoft.com/wiki/contents/articles/10393.rd-connection-broker-ha-sql-permissions.aspx

I have RDCB01 configured in DNS Manager and Static IP.

I do not know how to check if  "GG_COMP_RDCB" has a Member RDCB01.

I have "MYSITE\GG_COMP_RDCB" configured correctly in SQL Server.

When I try to run HA it still gives the above error.


Virtual Printer

$
0
0

Hello Experts,

In my laptops, i enable HyperV to Run several VMs.

1-DC OS Server 2012

2-File OS Server 2012

3-Client

My question is,

How can we install Virtual Printer for File?

Best regards,


VeasnaYim

"Connect to a remote PC" link is missing from the top of RDWeb page - Windows 2012

$
0
0

I set up an RDS infrastructure a short time ago, and had it all working, and now I seem to be missing the "Connect to remote PC" link on top of the RD Web site.  The only change between it working and not, is a change of certificate (which was verified to be updated).  IIS Logs look clean.

Any help would be appreciated.

Thanks!
Michael

Viewing all 25525 articles
Browse latest View live


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