Quote:
Originally Posted by fireffox
When you disabling your display adapter You don't have blank screen?
Where did You get the script?
|
I run this in Powershell, as Admin....
To open Calibre:
Code:
# Get the display adapter
$adapter = Get-PnpDevice -FriendlyName "NVIDIA GeForce GTX 1060 6GB"
# Disable the display adapter
Disable-PnpDevice -InstanceId $adapter.InstanceId
& "C:\Program Files\Calibre2\Calibre.exe"
To restart the display adapter:
Code:
# Get the display adapter
$adapter = Get-PnpDevice -FriendlyName "NVIDIA GeForce GTX 1060 6GB"
# Enable the display adapter
Enable-PnpDevice -InstanceId $adapter.InstanceId
- You'll need to update the name of the display adapter with the name you'll find in the Device Manager
- You'll need to update the path to the Calibre exe if it's not in the standard location
- Don't forget to run as admin otherwise it won't work