Currently I’m involved in a high-secure virtual infrastructure design and we are required to reduce the number of entry points to the virtual infrastructure. One of the requirements is to allow only a single session to the virtual machine console. Due to the increasing awareness \ demand of security in virtual infrastructure more organizations might want to apply this security setting.
1. Turn of the virtual machine.
2. Open Configuration parameters of the VM to edit the advanced configuration settings
3. Add Remote.Display.maxConnections with a value of 1
4. Power on virtual machine
Update: Arne Fokkema created a Power-CLI function to automate configuring this setting throughout your virtual infrastructure. You can find the power-cli function on ICT-freak.nl.
Follow @frankdenneman on twitter
Subscribe to RSS Get updates sent by RSS
vSphere 5 Clustering technical deepdive By Duncan Epping and Frank Denneman
vSphere 4.1 HA and DRS technical deepdive By Duncan Epping and Frank Denneman
November 30th, 2010 at 16:43
Why not setting it to “0″ and dictate that remote connections are only allowed through RDP?
November 30th, 2010 at 16:45
You might like this too http://www.boche.net/blog/index.php/2010/06/23/disable-copy-and-paste-for-a-vm/
November 30th, 2010 at 19:28
@Jason
This is by default in v4.1 disabled. You can look at KB : 1026437. Thus no need to specify it anymore.
November 30th, 2010 at 19:49
Additional security information can be found in the “VMware vSphere 4.0 Security Hardening Guide” ( http://www.vmware.com/resources/techresources/10109 ) and should be a good read for everyone
November 30th, 2010 at 21:26
So the obvious question is how do I enabled this for each VM, a cluster, dc etc. Looks like Arne Fokkema is frist watch tonight http://ict-freak.nl/2010/11/30/powercli-re-disallowing-multiple-vm-console-sessions/ – nice work all
November 30th, 2010 at 21:42
My Security – Hardening – Part 1 – Virtual Machines post shows one way to apply these recommendations.
February 3rd, 2011 at 22:44
Hi Frank,
First off great blog, I always have to set aside some time to re-read your longer posts to get and understand all the information.
A correction for this post, the advanced setting is “RemoteDisplay.maxConnections”
You have a dot between Remote and Display which doesn’t work on my 4.1 environment and might cause me issues when I redo my VCAP-DCA exam.
January 19th, 2012 at 20:17
is there a way to kick a user out of a console session if he has left it open?
May 21st, 2012 at 17:22