Disable Hyper-V Video Adapter

Required in order for Parsec Virtual Display Adapter to work correctly
This commit is contained in:
James Stringer 2021-11-14 09:15:54 -08:00
parent a791b35df1
commit eccd42187a

View File

@ -43,6 +43,7 @@ if (!(Test-Path C:\ProgramData\Easy-GPU-P\second.txt)) {
#if(((Get-ChildItem -Path Cert:\CurrentUser\TrustedPublisher).DnsNameList.Unicode -like "Parsec Cloud, Inc.")) {
if (!(Get-WmiObject Win32_VideoController | Where-Object name -like "Parsec Virtual Display Adapter")) {
cmd /c C:\ProgramFiles\Easy-GPU-P\cert.bat
Get-PnpDevice | Where-Object {$_.friendlyname -like "Microsoft Hyper-V Video" -and $_.status -eq "OK"} | Disable-PnpDevice -confirm:$false
Start-Process "C:\Users\$env:USERNAME\Downloads\parsec-vdd.exe" -ArgumentList "/silent"
}