View Single Post
Old 11-13-2024, 04:12 PM   #12
gavinallen50
Junior Member
gavinallen50 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2024
Device: Amazon Fire
Quote:
Originally Posted by fireffox View Post
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
gavinallen50 is offline   Reply With Quote