
Well here is one that works nicely under Windows 7, haven't tried Windows 8 yet. It was mentioned that the solution no longer worked under Windows 7 en 8.
(I guessed you needed a C# solution, because that's the only tag you applied). Note: If you have an Enterprise subscription, you can configure computers remotely or in bulk using Group Policy.I am not surprised you need to use some DLL's supplied by Windows. Create a String value named CaptureMethod and set a value of 1. This can also be specified using the Registry, in the HKLM\Software\RealVNC\vncserver key.
On the Expert tab, filter the list for CaptureMethod, and set the value to 1. Select Options from the hamburger menu. On the remote Windows computer, open the VNC Server dialog. Change the VNC Server CaptureMethod parameter:. Note: RealVNC have not tested this particular emulator and it is only provided as an example An example EDID emulator can be seen here Connect an EDID emulator to the VNC Server computer. Check that Windows is not set to a "Battery Saver" power mode. Change your Power settings on the VNC Server computer to never turn off the monitors/displays. Upgrade VNC Server to version 6.5.0, as this version contains some changes to try and automatically recover from a blank screen. At this time, there are some known workarounds you can try below: However, impossible for me to turn the monitor back on: the 'mouse move' trick did not work, the SendMessage() technique would turn the screen back on for one second then back off and using PostMessage() did not. It appears that in the above situations, Windows does not correctly report graphical updates to be captured by VNC Server using DirectX. For Windows 10 (tested on Pro 64 bits), I was able to turn off the monitor using the SendMessage() technique mentioned in this page. The issue is most commonly seen when connecting to a computer with no monitors attached (headless), or a monitor using HDMI/DisplayPort is connected but powered off. the Start Menu is smaller than expected. In some circumstances, your Windows 10 (1803 or later)/ Windows Server (2016 or later) remote computer will not display correctly in VNC Viewer.