mirror of
https://github.com/zoicware/RemoveWindowsAI.git
synced 2025-12-17 07:06:29 +01:00
remove redirect for reg export
This commit is contained in:
@@ -272,7 +272,7 @@ function Disable-Registry-Keys {
|
|||||||
if (!(Test-Path $backupPath)) {
|
if (!(Test-Path $backupPath)) {
|
||||||
New-Item $backupPath -Force -ItemType Directory | Out-Null
|
New-Item $backupPath -Force -ItemType Directory | Out-Null
|
||||||
}
|
}
|
||||||
Reg.exe export 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WSAIFabricSvc' "$backupPath\$backupFile" >$null
|
Reg.exe export 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WSAIFabricSvc' "$backupPath\$backupFile" | Out-Null
|
||||||
}
|
}
|
||||||
Write-Status -msg 'Removing up WSAIFabricSvc...'
|
Write-Status -msg 'Removing up WSAIFabricSvc...'
|
||||||
#delete the service
|
#delete the service
|
||||||
|
|||||||
Reference in New Issue
Block a user