Change Server 2012 display resolution inside of a Hyper-V VM?

18

5

Running Server 2012 inside of a Hyper-V VM, clicking on "Display Settings" to try and change the screen resolution, but it says "The display settings can't be changed from a remote session".

Anyone know how to change the resolution?

J. Scott Elblein

Posted 2014-02-01T03:05:27.747

Reputation: 413

1Thanks Devid, I'll give your solution a try on my Linux VM's. Have you come across a solution for Windows VM's? – J. Scott Elblein – 2014-07-12T16:50:58.697

Ok if it helps +1. I am not running Windows in Hyper-V but I think it should be easier to do. Well I think if you install the Integration Services it should be easy to change. But as I said I am not sure because I don't run Windows in Hyper-V – Devid – 2014-07-12T17:09:21.537

K. I don't have 15 rep yet though, so I can't +1, lol. I have installed the Integration Services, but now luck. – J. Scott Elblein – 2014-07-12T17:16:56.570

Answers

20

For Windows 8.1, with HyperV Manager 6.3.9600.16384

From HyperV Manager:
- Select 'Hyper-V Settings' for the host
- Under 'Server', Select 'Enhanced Session Mode Policy'
- UnCheck 'Enhanced Session Mode'

You may have to stop/restart the VM/session before/after doing this.

Connect to the VM, and change the resolution as per normal.

Undo changes above to re-enable Enhanced Session Mode connection, if so desired.

david.barkhuizen

Posted 2014-02-01T03:05:27.747

Reputation: 1 288

Thanks David, that did the trick. I marked yours as best answer because you listed exact steps, even though it was the same answer as Tomas' (so I upvoted his). =) – J. Scott Elblein – 2014-09-14T13:10:52.083

12

If you do not want to go back to a 'basic session', try this:

  • Close the session if you have it open. Just 'orange x' it out. No need to shut it down.
  • When closed, some settings behaviors change. Right click on your VM and under 'Connect', there should now be 'Edit Session Settings'.
  • This should now bring you back to the dialog that lets you select resolution and attach local devices to the VM.
  • Once you have a new resolution selected, just re-connect.

Joe

Posted 2014-02-01T03:05:27.747

Reputation: 221

This works as long as the VM is running. This solution works the best for me – Off The Gold – 2016-03-03T11:33:11.910

This is the best solution in as of Oct 2018, now that enhanced session Ubuntu is available. – OrangeSherbet – 2018-10-20T04:52:39.077

2

What worked for me was going to Hyper V settings, selecting on the left panel, under User, "Reset Check Boxes", and clicking on the Reset button. This cause all dialogs that are hidden to reappear, including the one that asks for the resolution when connecting.

Mau

Posted 2014-02-01T03:05:27.747

Reputation: 21

2

This is meant as a comment to DavidB's answer

Hyper-V Manager > (right click on guest) > (select) Edit Session settings ...

Sometimes Hyper-V Manager does not show the option "Edit Session settings ..." in a machine's context menu. If that's the case first make sure the machine is running (OffThe Gold already said that). If the option still doesn't show:

  • go to the left pane where your Hyper-V hosts are listed
  • right click the corresponding host and select "refresh"

This should bring the option back to the context menu.

Before clicking "Edit Session settings ..." make sure there is no open VMConnect window! Otherwise you will simply be taken there without session settings showing up...

wmelonman

Posted 2014-02-01T03:05:27.747

Reputation: 21

Hi there, welcome to Superuser. Please remember that the answer box is only ever to be used for answers - if you must leave a comment, then you'd have to earn the necessary points first. However, this answer builds on another answer, so I see no reason it should be flagged. Just something to keep in mind for the future :) – Mikey T.K. – 2016-03-16T21:10:47.690

2

You can easily edit your connection settings for VMConnect by running the following command in Windows PowerShell or the command prompt (as an Administrator):

VMConnect.exe <ServerName> <VMName> /edit

Source: https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/learn-more/use-local-resources-on-hyper-v-virtual-machine-with-vmconnect

Jaro

Posted 2014-02-01T03:05:27.747

Reputation: 21

2

Hyper-V Manager > (right click on guest) > (select) Edit Session settings ...

DavidB

Posted 2014-02-01T03:05:27.747

Reputation: 21

This "Edit Session settings" shows up if the VM is running in my win 10 hyper-v instance, but only if the VM is running. Anyway, all it did was bring me to the VM with no options to change anything. – Off The Gold – 2016-03-03T11:29:50.813

4Thanks @DavidB, I don't seem to have that in my HyperV manager, unless I'm missing it somehow, ya mind taking a screenshot of it on yours for me? – J. Scott Elblein – 2014-06-01T04:07:55.463

2

To allow you change resolution, you need to set "Basic Session" from HyperV Virtual Machine connection (last button on top panel)

Tomas Ryba

Posted 2014-02-01T03:05:27.747

Reputation: 21