remove redirect for reg export

This commit is contained in:
zoicware
2025-10-29 11:47:23 -04:00
committed by GitHub
parent 7a04d81442
commit 4a16e02668

View File

@@ -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