I want to automate this function in Windows Settings.
Nirsoft's Multi-monitor tool works for the first part of disabling the monitor, but after it disables it, the monitor disappears from the list and I can't re-enable it anymore other than going to Windows Settings to re-enable it.
Is there a different tool I can use? Or is there a registry entry I can modify?