Fix double command
This commit is contained in:
@@ -70,14 +70,6 @@ Get-ScheduledTask -TaskPath "*asus*" | ForEach-Object {
|
||||
}
|
||||
# Disable the fake Device
|
||||
Get-PnpDevice -FriendlyName "*Armoury Crate*" | Disable-PnpDevice -Confirm:$false
|
||||
# Delete the fake driver
|
||||
Get-CimInstance -ClassName win32_service |
|
||||
?{ $_.PathName -match 'asus' } |
|
||||
ForEach-Object {
|
||||
Write-Host $_.Name
|
||||
Get-Service $_.Name | Set-Service -StartupType Disabled | Stop-Service
|
||||
sc.exe delete $_.Name
|
||||
}
|
||||
</code>
|
||||
<figcaption>Run this as Administrator in a Powershell Terminal</figcaption>
|
||||
</figure>
|
||||
|
||||
Reference in New Issue
Block a user