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

WMI Query in Logon Script

$
0
0

Hi,

When working with Roaming profiles we have some strange behavior on windows 2008r2 servers that doesn't happens on windows2003 Servers.

Users have Roaming Profiles and there is a logon script that checks for previous installed printers (WMI Query). Depending of the user groups, printers will be added or removed.
Each time a user logged off from the server the local profile on the server is removed.

Now each time a user login, the roaming profile is copied to the server and the logon script is executed.
The result of the WMI Query in the logon script during logon is empty (No printers available)

Executing the logon script when login is completed, give me ALWAYS the correct number of Printers.

It seems that the logon script (and WMI query) starts to early and printers are not available due to Roaming Profile Copy.

Anyone an idea how to delay the execution of the logon script? 
Or how to detect printers are available to Query via WMI?

 

Regards

Kurt


Modalità gestione licenze di desktop remoto non configurata

$
0
0

Buongiorno,

collegandomi ad un server 2012 sul quale ho installato ed attivato 20 licenze di remote desktop (attivandole attraverso il servizio di Microsoft) con l'account di amministratore mi è apparso un avviso con il seguente testo:

"Modalità gestione licenze di desktop remoto non configurata.

Servizi desktop remoto smetterà di funzionare tra un giorno. Utilizzare server manager sul server gestore connessione desktop remoto per specificare la modalità gestione licenze desktop remoto e il server licenze".

Sapete indicarmi cosa devo fare e se da domani il nostro server di licenze "desktop remoto" smetterà di funzionare ?

Grazie.

How to enable multiple remote connections in windows server 2012

$
0
0

How to enable multiple remote connection for windows server 2012????
Answer:

1. Open command propmt
2.write gpedit.msc and open it
3.Go to computer configuration -> Administrative Tempalates -> Wondows Components
->Remote Desktop services -> Remote Desktop Session Host -> Connections.
4. Here Disble the below mentioned.

Restrict Remote Desktop Services user to a single remote.....

NOw goto command propmt and update the group ploicy using below mentioned command.

Goto command propmt and type -> gpupdate and enter it. it should be successfully applied.


Getting RDP client IP Address in Windows 8.1

$
0
0
I have some c++ code to get the IP address of an RDP client session. I am using WTSQuerySessionInformation with the WTSClientInfo class.  The code works when an RDP connection is made from any Vista+ OS except for Windows 8.1.  Windows 8.1 always returns AF_UNSPEC for the IP address family.  I have also tried to use the WTSClientAddress class with the same result.  It appears to me that the code is working but that for some reason the RDP client on Windows 8.1 is not sending an address. Why is Windows 8.1 different, and what do I need to do to get the address from the remote session?

Microsoft robotics development studio error creating service

$
0
0

Hello 

When I am trying to compile the sample program in microsoft visual studio 2012 I get the following error.

Hyper-V 2012 VDI, VDA, RDS Licensing?

$
0
0

I have found many answers to this that kind of skirt around, but nothing cut and dry..

We have a 4 server clustered HyperV 2012 environement that we are currently using for VMs.  Within this, there is a desire to create some VDs as well.  Licensing should be straight forward, but depending on what you read it really isn't.  Assume the devices accessing thes VDs will be Windows machines, but will not have SA.  Also assume VDs are 1-1 with users.  Multiple users will not access the same VD.  VDs will either be running Win 7, 8 or 8.1 (tbd)

What do we need for licensing?

  • Do we only need a VDA? 
  • Or do we need RDS CALs as well? 
  • Do we need a full Windows license on each of the VD along with the above?

I have read the VDI VDA FAQ, but still find it a little blurred (and it is still only current through Win7 & 2008 R2).  Any other help or info is appreciated.

Remote Desktop Session Host and Remote Desktop Virtualisation Host

$
0
0

Hi Guys,

I Just need some assurance.I have a few users whom i want to access virtual desktops and a few users i want to be able to access their individual virtual machines.

Is is ok to install the RDSH and RDVH on the same server and have them go through one RDCB??

Will the users only requiring virtual desktop be forced to connect virtual machines?

example.

User A to connect to virtual desktop

User B to connect to virtual machine(virtual machine allocated in AD)

Is this possible?

Cheers

Automating 2012 Remote Desktop Session Host Deployment

$
0
0

Hi,

We've been working on a way to automate remote session host deployments.

We've managed to get it working fairly smoothly using Hyper-V, SCVMM, Service manager and orchestrator. This allows us to automatically deploy new servers and rebuild them too by logging a service ticket. We hope to automate it even more by integrating SCOM to request a new deployment during periods of heavy load.

If anyone is interested they can find the information on my blog.

http://www.sinamon.co.uk/press/?p=738

Happy to help anyone else who is interested in doing this, and also if anyone has any ideas on how we could improve this further.

Thanks


Regards,

Denis Cooper

MCITP EA - MCT

Help keep the forums tidy, if this has helped please mark it as an answer

My Blog

LinkedIn:


Deleting user profiles across multiple RDSH servers

$
0
0

I wanted to delegate the task of deleting user profiles to our helpdesk, but with a number of remote desktop session host servers it started getting quite long to check each one and delete the folders one by one.

So I decided to write a script which the helpdesk could run. The script uses PowerShell and WMI queries, to scan all the servers I want, then list all the profiles that existing in a GUI interface. They can then pick the user, click delete, and it deletes the profile folder off all servers.

I've uploaded the script to the galleries (and my blog) should anyone want to use it.

http://gallery.technet.microsoft.com/Delete-user-profiles-over-05348eef

All the best

Denis


Regards,

Denis Cooper

MCITP EA - MCT

Help keep the forums tidy, if this has helped please mark it as an answer

My Blog

LinkedIn:

Webinterface Remote App startet nicht

$
0
0

Hallo zusammen,

wir haben eine Windows 2012 R2 Server aufgesetzt und die Remote Desktopservices mit dem Webinterface installiert. Alles läuft soweit auch wunderbar, jedoch nach der Anmeldung am Webinterface im internen LAN starten die dort angezeigten Remote Apps nicht. Es wird lediglich eine rdp Datei runtergeladen. Wie bekommen wir es hin das die Anwendung sofort startet?

Vielen Dank im Voraus.

gruß

Daniel


Server 2012 RDWeb Apps loading then not loading

$
0
0

Hi

I have a single 2012 server running RDS.

It has a valid SSL Certificate.

I can log in via IE8, IE9 and IE10 and get presented with the correct apps.

However, once I have connected to an App, letssay microsoft word, I disconnect then try to reconnect but it never opens word again.

I dont get any password pop ups or anything like that.

The wierd thing is, it doesnt happen all the time.

It is as if the session locks.

Has anyone come across this before? Could it be a client issue? Are there any logs that I can check to see what, if anything, is causing the apps not to load?

Thanks alot

windows phone error 919

$
0
0
i just downloaded android  on my windows phone  nexus 2 HD and every time i download whats app there is pop message with unknown error code during application install: "919"  please i want to have whats app :(

What's the state of the art thinking in Remote App screen flicker issue?

$
0
0

I'm now +70 days behind in my project to deploy our mission critical application to my users around the globe in RDS 2012 via RemoteApp. Actually check that; I abandoned RDS 2012 and installed RDS 2012 R2 the moment it hit my VLSC so I'm now +70 days behind, two operating systems deep, one ticket opened with MS and so many published, unpublished, rapid-release, or other type of hotfixes that I'm now seeing hotfix numbers everywhere, like the numbers in LOST, into this problem with no resolution in sight.

Problem Description: During a RemoteApp session served from a datacenter in Colorado, users in the UK & New Zealand, Australia and other distant areas, report that our in-house .net4 application (call it SalesApp!) "flickers" rapidly during the remote app session. 

Behavior origin:  This behavior was not observed when deploying the same application via Remote App in RDS 2008 R2 from the same datacenter on the same hardware to the same remote offices from May 2011 to the present day. This flickering behavior is peculiar to the new stack

Server Description: 6x Dell R810 physical hosts running Windows Server Datacenter 2012, patched up as of mid October, with Hyper-V 2012 on the hosts, a non-virtualized but VMM-managed Fabric consisting of 8x1GbE LACP team + 1x iSCSI, 1xiSCSI, 1xAuxiliary NICs on each server. 4x Socket with Xeon 7500 (I think?) Nehalem CPUs with six cores each, for a total of 24 non-hyperthreaded cores. 

VM: 75 virtual machines in cluster. Workloads 100% MS. SalesApp! written in Visual Studio 2010 in C#, SQL 2008 R2 enterprise for back-end SQL crunching, with Crystal Reports 32bit and 64bit plugins for reporting. SalesApp! published out to a Click Once architecture. (Interesting factoid: Click ONce applications were not supported by Microsoft for Remote App publishing in 2008 R2 or 2012, but are now with 2012 R2) 2008 R2 RDS farm contains 4 Session Hosts, a Connection Broker & License server on two, clustered VMs. 

WAN: Global MPLS network on leased lines. Big sites like UK office, HQ in California, and Datacenter in Colorado have 100megE circuit. 37ms latency between HQ & Datacenter. 160ms latency between UK and Datacenter. 180ms latency between NZ & Datacenter. 

PCs: REmote office PCs that have observed this behavior are Dell Optiplex GX 720 or above, with video card updates, driver updates, latest Remote Desktop Appliation, and all that stuff. Same Optiplex in UK or NZ or Australia does not exhibit RemoteApp flicker behavior in 2008 R2 Remote App, only in 2012/2012R2. 

Oddities: UK IT Manager can't replicate flickering behavior on Windows 8 (not 8.1) PC

Have you found any articles mentioning this: Why yes, I have! But to save you all from the link farm I've summarized my thoughts after months of troubleshooting in the spider chart below showing likely cause based on my testing:

As I've tested each idea, each test result has changed the spider chart a bit. 

For instance, yesterday, I wanted to test the latency theory of screen flicker in RemoteApp on both Windows 8 and Windows 7. 

From HQ, I pointed my workstation & win 7 laptop at a WANem VM and added 160ms to my connection and ran some typical actions in SalesApp! to reproduce flicker. 

While Windows 8 was in general faster , in some areas Windows 7 was. As each session was being conducted on the same VM -the single 2012 R2 RDS server I'm trying to get into production, CPU differences between my Win8 desktop & the laptop shouldn't make much of a difference.

So, disappointingly, I could not reproduce screen flicker issue even at +200ms, discounting massively the likelihood that this is related to latency.  

However, at +500ms latency with 10% packet loss tossed in for good measure, I could reproduce behavior resembling the Flicker behavior, but I'd say it was 90% application performance problems over a crappy connection and 10% screen flicker.

It did not resemble, in total, the videos I've seen from my remote users. 

As for what i call the "Metro Hypothesis," that refers to a theory I found from other engineers discussing this problem on a different forum. Metro Hypothesis says: "

A

 Windows developer that states: "The issue lies with W8 and W2012 graphical API management system.  Microsoft, in order to be able to support tactile tablet user interface has rewrite its graphical handler. The new Metro display method is not backward compatible with Windows standards." 

Remote FX: In 2008 R2 Hyper-V, RemoteFX was a niche product, to be used sparingly for high end demands like CAD or such. In 2012 and 2012 R2, RemoteFX is not just a GPU virtualization technology, but a bandwidth manipulator, able to throttle up or down based upon Group Policies, able to leverage UDP or TCP or both in an on-demand fashion, and offers you discrete instrumentation to monitor its cost, impact and weight on your system. 

Unfortunately for me, we never bought RemoteFX capable graphics cards. So all RemoteFX technologies are being done by Host/VM CPU. I have gone from extreme "disable all RemoteFX" to leveraging all performance settings of RemoteFX as best I could to going a more middle-of-the-road route. All RemoteFX policy and setting changes have resulted in no change in flicker behavior. I have watched perfmon counters on most RemoteFX instruments and never once have the instruments shown a lack of resources (there are three counters alone for that). 

I have not run client-side traces because it is enormously difficult to get a user on the other side of the world form you to take a break from their job -making money for the business- so you can run procmon or what not. 

I even bumped up new RDS Session Host server to have Highest priority on hosts with 16 vCPU, 24GB RAM and still, no difference.

What's Left now? I'm out of time, the business is frustrated with me, and our process is such that business users can veto and halt IT projects even if the screen flicker issue doesn't affect all or even a majority of users. 

I can't buy Citrx or Quest or put it in my budget, staying on 2008 R2 is a possibility but is not ideal at all, and I have no idea what to do or test next. Dev team knows of no API changes that could produce this behavior, and a sample application they wrote for me to test modal vs non-modal windowing produced the same flicker behavior in UK & NZ.

R810 stack doesn't support PCIe latest, so investing in Remote FX/DX 11 cards isn't a good spend I feel I've exhausted everything and I'm throwing out a lifeline to anyone who will listen. Thanks. 

I have three videos of this behavior and can email to anyone but don't feel comfortable showing the video online. 


Robert

2012 Licensing Problem

$
0
0

I would like to make everyone aware of an issue with RDS and the FIX from Microsoft services which I consider unacceptable.

The setup is as follows. One 2012 DC with Terminal server licensing installed. Two 2012 servers with RDS enabled. Take note that RDS was NOT deployed using the wizard as there is no need for all of the resources of a server farm for 2 servers. On each of the RDS enabled servers, group policey was used to enable and specify the RDS server and licensing mode. The RD Licensing Diagnoser was used to verify, and report that no licensing problems for the Remote Desktop Session Host Server existed, and the tray icon that reports that you are running a trial version of RDS does NOT appear.

Advance forward a few months and users start reporting that they cannot login and that they are receiving “The remote session was disconnected because there are no RDS license servers available to provide a license."

After doing all that I could I filed a case with Microsoft Support at the Highest Level Possible. After a month I finally was able to talk to someone. After 2 more weeks, here is the solution they gave me….

  1. Open the registry, Navigate to HKLM\System\CurrentControlSet\Control\TerminalServer\RCM
  2. Delete the GracePeriod Key
  3. Reboot

This continues to occur every few months. I wish someone at MS would FIX the problem.

 


Lee


Remote Desktop Easy Print

$
0
0

Bom dia!

Estou tendo problemas para impressão via RDP,

a impressora cliente aparece como padrão e redirecionada,

mando a impressão, não dá erro algum e a impressão não

sai na impressora cliente


Cannot copy paste files from local "C:" folder to Desktop of the TS

$
0
0

I have several users complaining about the fact that they can´t copy/paste file from local "c:" drive of their computers to the desktop of the TS session

If the user tries to copy the file from TS desktop to a local c:\temp folder, Works OK

If the user tries to copy the file from TS desktop to a mapped network drive letter, Works OK

If the user tries to copy the file from a mapped network drive letter to TS desktop, worls OK

Either usiig copy/paste or drive redirection, no matter option he choses, the copy is blocked by the lack of "paste" in context menu or the sign of "forbiiden" appears duting the drag operation.

I have a BIG GPO with several options included and the ones i think are related:

Hide these specified drives in My Computer Enabled 
Pick one of the following combinations Restrict A, B, C and D drives only
 
Prevent access to drives from My Computer Enabled 
Pick one of the following combinations Restrict A, B, C and D drives only
 

These options can prevent the copy from working only from c:\ local folder to Desktop of the TS session?

Remote app, print preference bug

$
0
0

hello,

we use remote app on a 2008 R2 Server and since last update, the print preference dialog are in front. If you logon direct an terminal server it works fine. If you use a app the dialog can be closed


Chris

RDP session freeze when resizing RDP window

$
0
0

Hi 

since last week friday a user reports a freezing RDP session when he resize the RDP window (to move the session window to another screen (PC has 3 screens connected)) of a  . The RDP target is a windows 2008 R2 RDS. Last Friday there were many MS updates installed on this PC.

I determined that the issue must be related to the PC, if user connects from another PC to RD-Server the problem doesn't exists. But i have no starting point to search for the reason. There are no warnings or errors in local eventlog. RDP connections to another RD-Server work fine.

Any hint where to start to solve this issue?

Regards Carsten

Base Template Modification for VDI Pooled-Based and Assigned-Based

$
0
0

Hi All,
Currently I have both Pooled-Based VM and Assigned-Based. I would like to know how to do manage the Windows Patches or changes to base template?

Lets say the scenario is like this:-

I have 20 assignment based vm for my VDI environment. There is some requirement i need to do modification to all the 20 vm. Can I make the changes to my base template? and sysprep again? the 20 assignment will take affect? or i need to re-create the collection?

Also another thing is how do your guys manage the changes and windows patches in your environment? Thank you!

Printers Not Present after logging off and back on

$
0
0
I have four offices logging into our terminal server.   I have one of these offices that does not see its local printer after it logs off and then logs back in.  This only occurs with this one office.  Any ideas.   
Viewing all 562 articles
Browse latest View live


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