diff --git a/scripts/main.ps1 b/scripts/main.ps1 index a5e1a1bf..2452e92a 100644 --- a/scripts/main.ps1 +++ b/scripts/main.ps1 @@ -240,24 +240,6 @@ $sync.keys | ForEach-Object { } } -#=========================================================================== -# Setup background config -#=========================================================================== - -# Load computer information in the background -Invoke-WPFRunspace -ScriptBlock { - try { - $ProgressPreference = "SilentlyContinue" - $sync.ConfigLoaded = $False - $sync.ComputerInfo = Get-ComputerInfo - $sync.ConfigLoaded = $True - } - finally{ - $ProgressPreference = $oldProgressPreference - } - -} | Out-Null - #=========================================================================== # Setup and Show the Form #===========================================================================