Tag Archives: r2

RDSH 2012 R2: Shadow Users without Connection Broker admin rights

It seems as though the only way to use the PowerShell Get-RDUserSession cmdlet against the Connection Broker is if the user running the command is a member of the  Administrators group on the Connection Broker server. This might be undesirable…! This … Continue reading

Rate this:

Posted in Remote Desktop, Windows | Tagged , , , , , , , , , , , , , | 2 Comments

Basic RDS 2012 R2 Shadowing Console

Whereas older versions of Windows had the tsadmin.exe utility, Server 2012 R2 doesn’t have anything equivalent. Helpdesk staff need a simple, easy to manage and configure console to allow them to shadow Remote Desktop users. Luckily this is pretty easy to achieve … Continue reading

Rate this:

Posted in PowerShell, Remote Desktop, Scripting | Tagged , , , , , , , , , , | 5 Comments

How to get ClientName within logon script on Server 2008 R2 XenApp 6

You could get the client name from the %CLIENTNAME% environment variable on a Server 2003 terminal server and get your logon script to do different things depending on its value. Using VBScript you could do oShell.ExpandEnvironmentStrings(“%CLIENTNAME%”). Try this on a Server … Continue reading

Rate this:

Posted in Scripting, Windows, XenApp | Tagged , , , , , , | 12 Comments

Add an Inbound Rule for an executable to Windows Firewall

As of Server 2008 R2 I’m now leaving the firewall switched on for all servers, and adding inbound rules (exceptions) where necessary during application installation. Outbound connections are all allowed by default and I’m not changing this. Note that some … Continue reading

Rate this:

Posted in Windows | Tagged , , , , , , , | Leave a comment

Which executable is listening on a port

So you know that something is listening on TCP port 1120 on your server, but how to determine what it is? You could look it up, but that list doesn’t include every piece of software, by far. And in any … Continue reading

Rate this:

Posted in Windows | Tagged , , , , , , , , , | 1 Comment