From 4a16e02668608e4fd9a0f752db601031b3b281c4 Mon Sep 17 00:00:00 2001 From: zoicware <118035521+zoicware@users.noreply.github.com> Date: Wed, 29 Oct 2025 11:47:23 -0400 Subject: [PATCH] remove redirect for reg export --- RemoveWindowsAi.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RemoveWindowsAi.ps1 b/RemoveWindowsAi.ps1 index c91a90e..bfacff6 100644 --- a/RemoveWindowsAi.ps1 +++ b/RemoveWindowsAi.ps1 @@ -272,7 +272,7 @@ function Disable-Registry-Keys { if (!(Test-Path $backupPath)) { 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...' #delete the service