mirror of
https://github.com/jamesstringerparsec/Easy-GPU-PV.git
synced 2024-08-30 18:22:17 +00:00
Preinstalling the cert doesn't work here
This commit is contained in:
parent
da44dd6bf4
commit
5708a86445
@ -42,7 +42,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
|
||||
#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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user