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

Problem running app through RDP file

$
0
0

Hello

I was required to developa a application that generates documents on a ERP program. The application is programmed in C#.
The ERP program have an App launcher, where I can select my app and run it.

One of the app parts is  the reading of an Excel document and I use an using Microsoft.Ace.OleDb.12.0 Connection to  read it.

I had to install the Microsoft Access Database engine on the Server to be able t oread it.
My application runs fine with all the users I tried. I login to the server with the "Remote Desktop Connection" app, launch the ERP and then the App

The ERP is installed on a server out of my control, the admins generates an RDP file for launching the ERP.
From the App launcher my app is launched but it cant read the excel file because it gives an oledb error.

Whats the problem ?
 Lack of permission for accessing the Oledb libraries that enables my program to work ? (Microsoft Access Database engine) ?
Programming related ? ( I dont have any problems if i log in to the server with any user and run the program(even with the same user used within the RDP file)

The server runs Windows Server 2008 R2 Standarat

Thanks in Advance

Rui Cabral





When attempting to Shadow on 2012 R2 RDS we get an Unspecified error

$
0
0


We have built a Windows server 2012 R2 RDS server, and setup the whole deployment on one server, Gateway, Broker, licensing, session host, and collection.

But when we go to shadow the user using Server manager or command line mstsc /shadow:n when get this very helpful error:   Unspecified error in a Window called Shadow Error

I have tested Shadowing on another networks server with a similar setup and it works fine, only difference is the Active directory server are 2008 vs this one that doesn't work being 2003.

I have also tested using local accounts and still get the same error, and there is not a lot on the web regarding this error and RDS shadowing


SSO for RDWeb Hyper-V 2012 R2 and Windows 7 VMs from ThinPC Win7

$
0
0
Hi,
 I have been having issue with SSO for RDweb app. Using Hyper-V Server 2012 with VMs (Pooled and Personal) Win7 64bit. Remote Client has ThinPC Windows 7 with RDP 8.1.
 Ideally once user logs into ThinPC , IE opens up to rdweb link. Under RemoteApp and Desktop, there are 2 icons that said Pooled VM and Personal VM. A user clicks on Personal and it should automatically rdp to the Win7 64bit VM without any credentials.
 Everything works, until it gets to the Win7 64bit VM, user must enter their password which I do not want. It should use the Windows Authentication password when she logs in first time for ThinPC (domain joined).
 I have tried everything, Delegation Credentials, IE Trusted Site  Termsrv/*domain.com. But once user clicks on the Personal or Pool VM, it gets to the VM and ask for password.
 Please advise. Do you do support?
Thanks
Tuan

Temporary Profiles for some users.

$
0
0

We have a RDS farm that consists of 3 session host servers, a connection broker, and a gateway.  Users log in with a roaming profile saved on a file server.  When they log in, it copies the profile to the session host sever locally, and when they log off, it gets copied back to the file server and the local profile gets deleted.  Lately, some users are logging in with a temp profile.  Besides the obvious drawback of having a temp profile, we found that Lync does not allow the user to have a conference chat (more than 2 people in the chat) when you're using a temp profile.  Since this is something they rely on for business, this issue is now in the front burner.

I did some searching and found something about deleting entries in the registry located here:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

I found the entries associated with the temp profiles and deleted them, but it's not helping.  Also, when users log off, the entries are deleted automatically anyways.  The temp profile folders are also being deleted when the user logs off.

I should also add that I always try to delete profiles using the GUI first (System Properties - User Profiles), and reboot if I cannot (in case some files in the profiles are locked).

Does anyone have a solution to this?


RDWEB IE11 Browser not supported

$
0
0

I have 2008R2 with RDS. I have a couple Apps on it, and almost everything is fine, except that IE11 users are getting this error:

Browser Not Supported

            This Web browser is not supported by RD Web Access. RD Web Access requires Internet "Explorer 6.0 or later.           

            You can download the latest version of Internet Explorer from theWindows Update Web site. "

IE 11 is certainly later than 6.0.

I am not seeing anything in the forums, is there a work-around on either the server or client side?

Thx!

 


Cannot Login to Remote Desktop Services from Outside our Network.

$
0
0

Hello Guys,

I'm having a terrible time trying to gain access through our Terminal Services setup from outside our network.  I can login just fine from within out network but cannot if I'm trying to get in from the outside.

I have a test user John Q Doe setup.  If I try this user from inside, he works fine.  From the outside, I always get an error that Remote Desktop Can't connect to the remote computer.

When I try from outside, I get through several steps and then the process shows "Initializing Remote Connection..." for about 20 seconds. then fails with the above error.  If I intentionally type the wrong password, I receive a "Your Credentials did not work" error within 2 seconds. 

When I looking into the Event Viewer, I found that Events 787 and 818 do not exist if coming in from the outside.
(See events for both attempts below)

Thanks for the help...

This is a user that has logged in from within our network.

This login was successful

Event ID1149

Remote Desktop Services: User authentication succeeded:

User: JohnQDoe

Domain: domain

Source Network Address: 10.89.53.231

Event ID: 1301

Remote Desktop Connection Broker Client received request for redirection.

User : Domain\johnqdoe

RDP Client Version : 5

Event ID: 800

RD Connection Broker received connection request for userDomain\johnqdoe.

Hints in the RDP file (TSV URL) = tsv://MS Terminal Services Plugin.1.Full_Desktop

Initial Application = NULL

Call came from Redirector Server = BrokerServer.Domain.com

Redirector is configured as Virtual machine redirector

Event ID: 801

RD Connection Broker successfully processed the connection request for userDomain\johnqdoe. Redirection info:

Target Name = TS-Server-03

Target IP Address = 10.89.0.5

Target Netbios =TS-Server-03

Target FQDN = TS-Server-03.Domain.com

Disconnected Session Found = 0x0

Event ID: 1307

Remote Desktop Connection Broker Client successfully redirected the userDomain\johnqdoe to the endpoint TS-Server-03.Domain.com.

Ip Address of the end point = 10.89.0.5

Event ID: 787

Session for userDomain\johnqdoe successfully added to RD Connection Broker's database.

Target Name = TS-Server-03.Domain.com

Session ID = 7

Farm Name = Full_Desktop

Event ID: 818 This connection request has resulted in a successful session logon (User successfully logged on to the end point). Remote Desktop Connection Broker will stop monitoring this connection request.

This is the user I’m trying to login with from outside our network.

This login failed

Event ID1149 Remote Desktop Services: User authentication succeeded:

User: johnqdoe

Domain: Domain

Source Network Address: ###.###.###.### - (Outside IP Address)

Event ID: 1301 Remote Desktop Connection Broker Client received request for redirection.

User : Domain\johnqdoe

RDP Client Version : 5

Event ID: 800 RD Connection Broker received connection request for user Domain\johnqdoe.

Hints in the RDP file (TSV URL) = tsv://MS Terminal Services Plugin.1.Full_Desktop

Initial Application = NULL

Call came from Redirector Server = BrokerServer.Domain.com

Redirector is configured as Virtual machine redirector

Event ID: 801 RD Connection Broker successfully processed the connection request for user Domain\johnqdoe. Redirection info:

Target Name = TS-Server-03

Target IP Address = 10.89.0.5

Target Netbios =TS-Server-03

Target FQDN = TS-Server-03.Domain.com

Disconnected Session Found = 0x0

Event ID: 1307 Remote Desktop Connection Broker Client successfully redirected the user Domain\johnqdoe to the endpointTS-Server-03.Domain.com.

Ip Address of the end point = 10.89.0.5

Event ID: 787

There is not Event ID: 787 for User JohnQDoe

Event ID: 818

There is not Event ID: 818 for User JohnQDoe


mutiple RDP Session in windows 2012 r2

$
0
0

Hi,

can some help me to figure out how I can access multiple remote desktop session in windows 2012 r2 by default only allows 2 session for remote connectivity

but I need more than 2 session at a time.... I followed following article but no help 

please advise....

https://social.technet.microsoft.com/Forums/windows/en-US/00c2252b-8ec0-489f-8da2-07a434a9b5a2/forum-faq-restrict-number-of-active-sessions-in-rds-2012-and-2012-r2?forum=winserverTS

https://support.managed.com/kb/a1816/how-to-enable-disable-multiple-rdp-sessions-in-windows-2012.aspx

Regards,

Windows Server 2012 Virtual Desktop Template Issue

$
0
0

Hi

I have created a two server VDI infrastructure using Server 2012 RTM I have one server hosting the RDS connection broker and RD Web Access roles and then a separate server with Hyper-V server installed hosting the server 2012 RD Virtualisation Host.  I am hosting Windows 8 VDI images on these servers

When I create the virtual infrastructure from scratch I can created a new collection hosting pooled desktops and everything works no problem.  The issue arises when I need to update the template and re-create all the desktops.  For updating the desktops I am following the process below.

1- Make a copy of the existing desktop and then start it up in hyper-v and make my changes

2- Run sysprep with the /generalise /oobe /shutdown /mode:VM

3- Go into my Collection on my connection broker server and run the recreate all desktops task

4- Select my shutdown VM syspreped in step 2

At this stage I get an error stating "The virtual desktop must be in a stopped state:  Could not identify the state of the virtual desktop.  Ensure that the RD virtualisation host server is available on the network and the virtual desktop is shut down"

I have looked all over for errors in the logs and found nothing.  It look connection related or maybe something to do with WMI but I have run connection test between the servers and everything is ok.  The only solution I have found so far is if I remove the RD virtualisation host from my hyper-v server and then reboot and reinstall it then works again.

Can anybody help as I am running out of ideas on this one.

Thanks


help needed with RDP internal .local domain and trusted cert getting cert untrusted when connecting to session host

$
0
0

Hi guys

help would be appreciated, server 2012 r2 RDS, my domain server setup:

rdgw.mydomain.local

rdcb.mydomain.local

dc.mydomain.local

2x session collections: rdsh01.mydomain.local (rdc1) and rdsh02.mydomain.local (rdc2)

i have a public trusted cert for my gateway called "gw.publicdomain.co.za

added a Zone in DNS called publicdomain.co.za and added an A record gw.publicdomain.co.za to point to the IP of rdgw.mydomain.local

i also changed the RDpublicname of the RDCB to gw.publicdomain.co.za

but when i connect to a session collection i get cert is untrusted of rdsh01.mydomain.local

how do i get the trust to work with my trusted cert.

kind regards, and many thanks

Brendan

Remote Desktop Web Apps stopped not opening on all mutliple monitors

$
0
0
We have server 2012 R2 Remote Desktop Services. Last week we could open the apps in all 6 screens we have ok. If I have all 6 monitors activated it will not allow us to move the different screens away from the main screen. If I disable three of the monitors it allows me to move my apps across all three screens ok. This is happening on Windows 7 pc So I tried updating to Windows 10 with same results.

What to choose to assign GPU

$
0
0

Hi!

I need to assign GPU to virtual machines in hyper-v 2012 data center server. May we know what option should I select while enabling remote desktop services:

1. Role based or feature based installation

2. Remote desktop services installation

As I was told that it is not possible to assign GPU to a VM having server operating system I have to install a desktop operating system. That means we need separate licenses for every vm we create? Is it correct?

Thanks.

WIndows 2012 R2 Remot4e Desktop Service multiple host question

$
0
0

Hello everyone, I have a question that is probably pretty easy for someone.

I just built a RDS Enviroment that has:

2 RD Session Host

1 Broker server that also has the Gateway, Web Access and RD Licensing

Well I found out that the software that I want to Publish the remote app for doesn't support Remote App so we are just going to have the user Remote into the server.

My question is how do they Remote into the host in a load balance system?

If they RDP into 1 host, I will see it load balance into the other host sometimes.  But what if I distribute a IP for everyone to use and that one Host goes down and they wont be able to use RDP for the load balance to kick in?

I am missing something here......  Its like I need to setup a round robin DNS or something?

I don't understand what/where someone needs to go to access my load balanced host to RDP into the system...

Thank you.

Wyse thin client will not connect to term server 2008 but WILL connect to any regular server 2008.

$
0
0

I have 2 identical HP Proliant servers.   Both have the same version of Server 2008 r2. One is running Remote Desktop Services (terminal server) and the Other is not.

The one with Remote desktop services will not connect to certain thin clinets.   The other appears more promiscuous and will handshake and connect with any of them.

I have done the License Server trick with the install by Web, and remove and reinstall and that got SOME of the thin clients to work, but there are 5 others that are remaining stubborn.

Why would Remote Desktop block a Wyse Thin Client when standard server will accept it?   If the Firmware on the Thin Client was out of date, it would not be connecting with ANY Server 2008 r2, but it is.   ?!?

At a total loss for ideas on this one...

Bob Gosney,   -  Thanks for reading and happy Motoring!

printing issues - microsoft enhanced point and print compatibillity driver

$
0
0

We have a windows 2012r2 file and printing server , where I have created all queues for the (several, different models as well, Xerox) network printers.

There are 2 windows 2012r2 servers set up as remote desktop services (session based).

Everyone ones in a while , the a user come in the next morning and they are unable to print to a specific printer.

He/she can not print, the rest of the users in the whole network environment CAN print to that same printer.

When I checked the profile sometimes the driver is set to the Microsoft enhanced ...  instead of the Xerox driver.

The way to remedy the situation is to delete the printer from the user profile and add it back again.

When the problem is fixed with that user, the same issue may pop up again some days later with another user, and the issue may be with the same printer or with one of the other Xerox printers (4 Xerox printers , 4 different models).  I have not noticed that it happens with the HP printer yet, but by now everyone is used to the delete and add back again procedure).

Any idea what's causing this ?

regards

Leopold

Can we create a signature for a RDP file programmatically?

$
0
0

Hi ,

i am trying to generate rdp files programmatically. I was able to write a file with all most all fields but am strucked with the signature part. Is there a way to write the signature in c# or any other language? 

waiting for a reply. 



--


External Remote Desktop Session won't connect Server 2012 R2 (0x8007007A)

$
0
0

Hi forum members, I have a weird issue going on with a high availability Server 2012 R2 setup. 

The users of this company are connecting trough Remote Desktop Connection in- and outside the organization. All the inbound connection inside the organization goes perfect, the servers are load-balancing the sessions and uses the two session hosts to connect. The users are connecting with the rds using round robin with hostname remote.customer.com

3389 is open and forwarded to Server 1. The users are able to connected when the connection broker starts a session on Server 1, but when the connection broker starts a session on server 2 we are receiving this error message.
So it's not possible to start a remote desktop connection from external location when the broker is trying to connect with server 2. 

If I check the eventviewer on server 2 it shows me the following error: "Failed to create KVP sessions string. Error Code 0x8007007A"

Current setup: 

Server 1 Roles:
- RDS Connection Broker
- RDS License Manager/Server (Per device cal)
- RDS Gateway
- Session Host

Server 2 Roles:
- Session Host

Server 3 Roles:
- SQL Connection Broker

The customer uses a per device cal. All the calls are stored on Server 1. I've also forced the License server on Server 2 with a group policy.

Could someone please advise what settings to check and change? Many thanks in advance.

Domain Controller Windows Server Std 2012 R2

$
0
0

Hi Everyone. We are having issues in the Domain controller having Windows Server 2012 R2 in Virtual Machine that it allows domain users to login to the DC Remotely with admin rights. We already enabled default group policy on User Rights Management that allow Remote only for domain admins. we did not enable deny access, since the new user has to be added on every creation of new user. We also do not want to use distribution group to deny it. is there any way to deny them remote access to DC?

Thanks in Advance.

RD Licensing Server not found, cannot uninstall

$
0
0

RD Licensing Diagnoser reports it cannot find the License server.

 I've tried to remove the RD Licensing Server (to Re-Add it), and get the error: "Could not remove the configuration. Object reference not set to an instance of an object"  

Adding and removing the server roles does not seem to help. RD Per User Cals activated in user mode were not being picked up. tried in per device mode, still no go.

Any suggestions on what to try next?

Windows 8/7 can't connect to RDS GW.

$
0
0

Hey..

We have 2 RDSH, 1 GW, 1Licenseand 1 fileserver(roamingprofiles), all running on 2012 R2.

Also a Alpha SSL cert - Wildcard.

Everytime we try to connect we get a message in event Viewer saying:

"The user "domain\user", on client computer "ip", did not meet connection authorization policy requirements and was therefore not authorized to access the RD Gateway server. The authentication method used was: "NTLM" and connection protocol used: "HTTP". The following error occurred: "23003".

Now we have check the CAP and NPS rules and even receatived then to.

And now we are stuck.

IP Virtualization - IP Pool Not Working

$
0
0

Since April I have been using IP Virtualization using a IP Pool set in the registry instead using a DHCP server and it was working fine. Since last week the servers that I had it enable on will not issue a IP after all have been issues on list but not in use. Let me explan, what will happen now is that when the first user gets an IP address it will not release that IP after the user has logged off. I looked through the event viewer logs and it says that it releases the IP but never issues that IP again until I reboot the server. I tested this on one my servers with IP virtualization enabled and after it has gone through the list it will not issue another IP address from the pool, unless I reboot the server.

I have tried removing all registry entries, remove the RDS role from the server, uninstall any patches from the date when we started to see these problems. But it is still not working the way it was. I also tried clearing the Winsock catalog but that didn't work either. Does anybody know any process or registry entry that may fix this or any logs that I can look at to se what may be causing the problem? Also the RDS servers are virtualized in Hyper-V

Viewing all 27533 articles
Browse latest View live


Latest Images

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