Introducing VMConnect dynamic resize

    Introducing VMConnect dynamic resize

    Introducing VMConnect dynamic resize


    Posted: 28 Jan 2017

    Starting in the latest Insider’s build, you can resize the display for a session in Virtual Machine Connection just by dragging the corner of the window.



    When you connect to a VM, you’ll still see the normal options which determine the size of the window and the resolution to pass to the virtual machine:



    Once you log in, you can see that the guest OS is using the specified resolution, in this case 1366 x 768.



    Now, if we resize the window, the resolution in the guest OS is automatically adjusted. Neat!



    Additionally, the system DPI settings are passed to the VM. If I change my scaling factor on the host, the VM display will scale as well.

    There are 2 requirements for dynamic resizing to work:

    • You must be running in Enhanced session mode
    • You must be fully logged in to the guest OS (it won’t work on the lockscreen)


    This remains a work in progress, so we would love to hear your thoughts.

    -Andy


    Source: Introducing VMConnect dynamic resize | Virtualization Blog
    Brink's Avatar Posted By: Brink
    28 Jan 2017


  1. Posts : 317
    Microsoft Windows 10 x64
       #1

    this nice feature is now implemented in creator update (v1703)

    Does anyone know where vmconnect store the resolution of the guest ?
    I would like vmconnect to remember the dynamic position and resize from one login to another

    or I would like to chose a setting which is not proposed on this screen

      My Computer


  2. Posts : 15,480
    Windows10
       #2

    D4ni3l said:
    this nice feature is now implemented in creator update (v1703)

    Does anyone know where vmconnect store the resolution of the guest ?
    I would like vmconnect to remember the dynamic position and resize from one login to another

    or I would like to chose a setting which is not proposed on this screen

    Go to (need to show hidden files

    C:\Users\Yourname\AppData\Roaming\Microsoft\Windows\Hyper-V\Client\1.0

    Open the .config file in notepad (it is just a text file)

    Down near bottom are two lines so you can check you have right config file

    <setting name="VmName" type="System.String"> <value>YOUR VM NAME</value>

    Part way down from top are two lines

    <setting name="DesktopSize" type="System.Drawing.Size"> <value>800, 600</value>

    Type in what ever values you like (width, height).

    AFAIK, it is not possible to resize a window by dragging and update the .config file dynamically, but you can set your own default that will always be used.

    Save file.

    Next time you open vm, default size will be as you set.

    I actually pin the path above to quick access, as a slightly strange quirk is the files in the pinned directory remain visible from quick access even if you change settings to hide files again. This makes it easy to find and change the .config files.
      My Computer


  3. Posts : 317
    Microsoft Windows 10 x64
       #3

    thank you for the help, cereberus


    I eventually found the correct file vmconnect.rdp.ac062a8e-1206-4f23-a21d-74037d6e1424.config
    by looking at the file modified date by running : vmconnect <server> <virtual_machine> /edit

    then, i edited this file with notepad++



    Job done !
    Last edited by D4ni3l; 26 Aug 2017 at 13:45.
      My Computer


  4. Posts : 15,480
    Windows10
       #4

    You can get id using powershell.


    Identifying VMs in Hyper-V - Windows 10 Forums
      My Computer


  5. Posts : 317
    Microsoft Windows 10 x64
       #5

    thank you again
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:41.
Find Us




Windows 10 Forums