The new allusers package of Microsoft-Windows-Terminal has a broken uninstall procedure.
Expected Behavior
This package should uninstall properly for all users, but doesn't uninstall at all and runs into an error. (see at the end)
Current Behavior
Install works for all users, uninstall is broken.
Possible Solution
Replace last part of chocolateyUninstall.ps1 with:
Remove-AppxPackage -AllUsers -Package (Get-AppxPackage -Name $AppxPackageName -AllUsers -PackageTypeFilter Bundle)
Steps to Reproduce (for bugs)
install package
uninstall package
Context
Your Environment
Package Version used: v1.16.10261.0
Operating System and version: Win10 19045.2486
Chocolatey version: 1.3.0
Install/uninstall gist:
part from chocolatey.log `
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='W10'|Information.UserDomainName='USU-VM'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-02-20 21:45:55,183 4188 [DEBUG] - Chocolatey:ChocolateyUninstallCommand - Normal Run Mode
2023-02-20 21:45:55,198 4188 [INFO ] - Uninstalling the following packages:
2023-02-20 21:45:55,198 4188 [INFO ] - microsoft-windows-terminal
2023-02-20 21:45:55,229 4188 [DEBUG] - Running list with the following filter = ''
2023-02-20 21:45:55,229 4188 [DEBUG] - --- Start of List ---
2023-02-20 21:45:55,292 4188 [DEBUG] - chocolatey 1.3.0
2023-02-20 21:45:55,292 4188 [DEBUG] - chocolatey-compatibility.extension 1.0.0
2023-02-20 21:45:55,307 4188 [DEBUG] - chocolatey-core.extension 1.4.0
2023-02-20 21:45:55,307 4188 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2023-02-20 21:45:55,307 4188 [DEBUG] - KB2919355 1.0.20160915
2023-02-20 21:45:55,307 4188 [DEBUG] - KB2919442 1.0.20160915
2023-02-20 21:45:55,307 4188 [DEBUG] - KB2999226 1.0.20181019
2023-02-20 21:45:55,323 4188 [DEBUG] - KB3033929 1.0.5
2023-02-20 21:45:55,323 4188 [DEBUG] - KB3035131 1.0.3
2023-02-20 21:45:55,323 4188 [DEBUG] - microsoft-windows-terminal 1.16.10261.0
2023-02-20 21:45:55,338 4188 [DEBUG] - vcredist140 14.34.31938
2023-02-20 21:45:55,338 4188 [DEBUG] - --- End of List ---
2023-02-20 21:45:55,385 4188 [DEBUG] - Backing up existing microsoft-windows-terminal prior to operation.
2023-02-20 21:45:55,385 4188 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal'
to 'C:\ProgramData\chocolatey\lib-bkp\microsoft-windows-terminal'
2023-02-20 21:45:57,401 4188 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\microsoft-windows-terminal".
2023-02-20 21:45:57,401 4188 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\microsoft-windows-terminal\microsoft-windows-terminal.nupkg"
to "C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\microsoft-windows-terminal.nupkg".
2023-02-20 21:45:57,496 4188 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\microsoft-windows-terminal\microsoft-windows-terminal.nuspec"
to "C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\microsoft-windows-terminal.nuspec".
2023-02-20 21:45:57,496 4188 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\legal".
2023-02-20 21:45:57,511 4188 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\microsoft-windows-terminal\legal\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\legal\LICENSE.txt".
2023-02-20 21:45:57,511 4188 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\microsoft-windows-terminal\legal\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\legal\VERIFICATION.txt".
2023-02-20 21:45:57,527 4188 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools".
2023-02-20 21:45:57,527 4188 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\microsoft-windows-terminal\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyInstall.ps1".
2023-02-20 21:45:57,527 4188 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\microsoft-windows-terminal\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyUninstall.ps1".
2023-02-20 21:45:57,527 4188 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\microsoft-windows-terminal\tools\Microsoft.WindowsTerminal_Win10_1.16.10261.0_8wekyb3d8bbwe.msixbundle"
to "C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\Microsoft.WindowsTerminal_Win10_1.16.10261.0_8wekyb3d8bbwe.msixbundle".
2023-02-20 21:45:59,094 4188 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal'
2023-02-20 21:45:59,157 4188 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\microsoft-windows-terminal.nupkg'
with checksum '0F1114B2BD250716D006FBD577A0110D'
2023-02-20 21:45:59,157 4188 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\microsoft-windows-terminal.nuspec'
with checksum '263C8C28E38F09A048FF6D1E7038000C'
2023-02-20 21:45:59,157 4188 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\legal\LICENSE.txt'
with checksum 'B377DB62B5A030F560ED5BBCA25EA5BE'
2023-02-20 21:45:59,172 4188 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\legal\VERIFICATION.txt'
with checksum 'E4E5C2CB4DB7CB6FE3389D4F54F9EAC1'
2023-02-20 21:45:59,172 4188 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyInstall.ps1'
with checksum 'D68F7E4AB19977D167728292DB40DA22'
2023-02-20 21:45:59,172 4188 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyUninstall.ps1'
with checksum '980764B6027175E167EB69D83C304C37'
2023-02-20 21:45:59,251 4188 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\Microsoft.WindowsTerminal_Win10_1.16.10261.0_8wekyb3d8bbwe.msixbundle'
with checksum 'B8C7A9F6350BE7497371C413EF8D1FD3'
2023-02-20 21:45:59,548 4188 [INFO ] - [NuGet] Uninstalling 'microsoft-windows-terminal 1.16.10261.0'.
2023-02-20 21:45:59,563 4188 [INFO ] -
microsoft-windows-terminal v1.16.10261.0 (forced)
2023-02-20 21:45:59,563 4188 [DEBUG] - Setting installer args for microsoft-windows-terminal
2023-02-20 21:45:59,563 4188 [DEBUG] - Setting package parameters for microsoft-windows-terminal
2023-02-20 21:45:59,563 4188 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyUninstall.ps1':
2023-02-20 21:45:59,579 4188 [DEBUG] - $PreRelease = "False"
$AppxPackageName = "Microsoft.WindowsTerminal"
if ($PreRelease -match "True") {
$AppxPackageName += "Preview"
}
2023-02-20 21:46:00,816 4188 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '-1'.
2023-02-20 21:46:00,816 4188 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-02-20 21:46:00,847 4188 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-02-20 21:46:00,847 4188 [ERROR] - microsoft-windows-terminal uninstall not successful.
2023-02-20 21:46:00,847 4188 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyUninstall.ps1'.
See log for details.
2023-02-20 21:46:00,847 4188 [ERROR] - microsoft-windows-terminal not uninstalled. An error occurred during uninstall:
microsoft-windows-terminal uninstall not successful.
2023-02-20 21:46:00,863 4188 [WARN ] -
Chocolatey uninstalled 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-02-20 21:46:00,863 4188 [INFO ] -
2023-02-20 21:46:00,863 4188 [ERROR] - Failures
2023-02-20 21:46:00,863 4188 [ERROR] - - microsoft-windows-terminal (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyUninstall.ps1'.
See log for details.
2023-02-20 21:46:00,863 4188 [WARN ] -
If a package uninstall is failing and/or you've already uninstalled the
software outside of Chocolatey, you can attempt to run the command
with -n to skip running a chocolateyUninstall script, additionally
adding --skip-autouninstaller to skip an attempt to automatically
remove system-installed software. Only the packaging files are removed
and not things like software installed to Programs and Features.
If a package is failing because it is a dependency of another package
or packages, then you may first need to consider if it needs to be
removed as packages have dependencies for a reason. If
you decide that you still want to remove it, head into
$env:ChocolateyInstall\lib and find the package folder you want to
be removed. Then delete the folder for the package. You should use
this option only as a last resort.
2023-02-20 21:46:00,863 4188 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-02-20 21:46:00,879 4188 [DEBUG] - Exiting with -1
`
The new allusers package of Microsoft-Windows-Terminal has a broken uninstall procedure.
Expected Behavior
This package should uninstall properly for all users, but doesn't uninstall at all and runs into an error. (see at the end)
Current Behavior
Install works for all users, uninstall is broken.
Possible Solution
Replace last part of chocolateyUninstall.ps1 with:
Remove-AppxPackage -AllUsers -Package (Get-AppxPackage -Name $AppxPackageName -AllUsers -PackageTypeFilter Bundle)
Steps to Reproduce (for bugs)
Context
Your Environment
$AppxPackageName = "Microsoft.WindowsTerminal"
if ($PreRelease -match "True") { $AppxPackageName += "Preview" }
Remove-AppxProvisionedPackage -Online -AllUsers -PackageName $AppxPackageName
2023-02-20 21:45:59,579 4188 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] 2023-02-20 21:45:59,579 4188 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-GB, PublicKeyToken=31bf3856ad364e35, requested by '' 2023-02-20 21:45:59,816 4188 [DEBUG] - Host version is 5.1.19041.1, PowerShell Version is '5.1.19041.2364' and CLR Version is '4.0.30319.42000'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'. 2023-02-20 21:46:00,285 4188 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'. 2023-02-20 21:46:00,301 4188 [INFO ] - VERBOSE: Exporting alias 'refreshenv'. 2023-02-20 21:46:00,301 4188 [DEBUG] - Loading community extensions 2023-02-20 21:46:00,316 4188 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1' 2023-02-20 21:46:00,316 4188 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-compatibility\chocolatey-compatibility.psm1'. 2023-02-20 21:46:00,332 4188 [DEBUG] - Function 'Get-PackageParameters' exists, ignoring export. 2023-02-20 21:46:00,332 4188 [DEBUG] - Function 'Get-UninstallRegistryKey' exists, ignoring export. 2023-02-20 21:46:00,332 4188 [DEBUG] - Exporting function 'Install-ChocolateyDesktopLink' for backwards compatibility 2023-02-20 21:46:00,347 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'. 2023-02-20 21:46:00,347 4188 [DEBUG] - Exporting function 'Write-ChocolateyFailure' for backwards compatibility 2023-02-20 21:46:00,347 4188 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'. 2023-02-20 21:46:00,347 4188 [DEBUG] - Exporting function 'Write-ChocolateySuccess' for backwards compatibility 2023-02-20 21:46:00,347 4188 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'. 2023-02-20 21:46:00,347 4188 [DEBUG] - Exporting function 'Write-FileUpdateLog' for backwards compatibility 2023-02-20 21:46:00,347 4188 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'. 2023-02-20 21:46:00,347 4188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'. 2023-02-20 21:46:00,347 4188 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'. 2023-02-20 21:46:00,347 4188 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'. 2023-02-20 21:46:00,347 4188 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'. 2023-02-20 21:46:00,347 4188 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1' 2023-02-20 21:46:00,347 4188 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'. 2023-02-20 21:46:00,394 4188 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'. 2023-02-20 21:46:00,394 4188 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'. 2023-02-20 21:46:00,394 4188 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'. 2023-02-20 21:46:00,394 4188 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'. 2023-02-20 21:46:00,394 4188 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'. 2023-02-20 21:46:00,394 4188 [INFO ] - VERBOSE: Exporting function 'Register-Application'. 2023-02-20 21:46:00,394 4188 [INFO ] - VERBOSE: Exporting function 'Remove-Process'. 2023-02-20 21:46:00,394 4188 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'. 2023-02-20 21:46:00,394 4188 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'. 2023-02-20 21:46:00,394 4188 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'. 2023-02-20 21:46:00,394 4188 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'. 2023-02-20 21:46:00,394 4188 [INFO ] - VERBOSE: Importing function 'Get-WebContent'. 2023-02-20 21:46:00,394 4188 [INFO ] - VERBOSE: Importing function 'Register-Application'. 2023-02-20 21:46:00,394 4188 [INFO ] - VERBOSE: Importing function 'Remove-Process'. 2023-02-20 21:46:00,394 4188 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1' 2023-02-20 21:46:00,394 4188 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'. 2023-02-20 21:46:00,457 4188 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'. 2023-02-20 21:46:00,457 4188 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'. 2023-02-20 21:46:00,457 4188 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'. 2023-02-20 21:46:00,457 4188 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'. 2023-02-20 21:46:00,457 4188 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'. 2023-02-20 21:46:00,457 4188 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'. 2023-02-20 21:46:00,457 4188 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'. 2023-02-20 21:46:00,457 4188 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'. 2023-02-20 21:46:00,457 4188 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'. 2023-02-20 21:46:00,457 4188 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'. 2023-02-20 21:46:00,472 4188 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Exporting function 'Register-Application'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Exporting function 'Remove-Process'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Exporting alias 'refreshenv'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Format-FileSize'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-WebContent'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-WebFile'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'. 2023-02-20 21:46:00,488 4188 [INFO ] - VERBOSE: Importing function 'Install-BinFile'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Install-Vsix'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Register-Application'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Remove-Process'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing alias 'refreshenv'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'. 2023-02-20 21:46:00,504 4188 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'. 2023-02-20 21:46:00,535 4188 [DEBUG] - ---------------------------Script Execution--------------------------- 2023-02-20 21:46:00,535 4188 [DEBUG] - Running 'ChocolateyScriptRunner' for microsoft-windows-terminal v1.16.10261.0 with packageScript 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '', 2023-02-20 21:46:00,550 4188 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyUninstall.ps1' 2023-02-20 21:46:00,613 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Add-WindowsPackage'. 2023-02-20 21:46:00,613 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Remove-WindowsPackage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WindowsPackage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Enable-WindowsOptionalFeature'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Disable-WindowsOptionalFeature'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WindowsOptionalFeature'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Repair-WindowsImage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WindowsCapability'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Export-WindowsCapabilitySource'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Add-WindowsCapability'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Remove-WindowsCapability'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WindowsReservedStorageState'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Set-WindowsReservedStorageState'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WindowsDriver'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Remove-WindowsDriver'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Add-WindowsDriver'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Export-WindowsDriver'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Get-AppxProvisionedPackage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Remove-AppxProvisionedPackage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Add-AppxProvisionedPackage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Set-AppXProvisionedDataFile'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Optimize-AppXProvisionedPackages'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Set-NonRemovableAppsPolicy'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Get-NonRemovableAppsPolicy'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WindowsImage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Mount-WindowsImage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Save-WindowsImage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Dismount-WindowsImage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Clear-WindowsCorruptMountPoint'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Remove-WindowsImage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Split-WindowsImage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'New-WindowsImage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Add-WindowsImage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Expand-WindowsImage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Export-WindowsImage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WindowsImageContent'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'New-WindowsCustomImage'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Update-WIMBootEntry'. 2023-02-20 21:46:00,628 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WIMBootEntry'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Expand-WindowsCustomDataImage'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WindowsEdition'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Set-WindowsEdition'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Set-WindowsProductKey'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Optimize-WindowsImage'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Use-WindowsUnattend'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting cmdlet 'Start-OSUninstall'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting alias 'Apply-WindowsUnattend'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting alias 'Add-ProvisionedAppxPackage'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting alias 'Remove-ProvisionedAppxPackage'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting alias 'Get-ProvisionedAppxPackage'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting alias 'Optimize-ProvisionedAppxPackages'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting alias 'Set-ProvisionedAppXDataFile'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting alias 'Add-AppProvisionedPackage'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting alias 'Remove-AppProvisionedPackage'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting alias 'Get-AppProvisionedPackage'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting alias 'Optimize-AppProvisionedPackages'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting alias 'Set-AppPackageProvisionedDataFile'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting alias 'Add-ProvisionedAppPackage'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting alias 'Remove-ProvisionedAppPackage'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting alias 'Get-ProvisionedAppPackage'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting alias 'Optimize-ProvisionedAppPackages'. 2023-02-20 21:46:00,644 4188 [INFO ] - VERBOSE: Exporting alias 'Set-ProvisionedAppPackageDataFile'. 2023-02-20 21:46:00,769 4188 [INFO ] - VERBOSE: Target Image Version 10.0.19045.2486 2023-02-20 21:46:00,816 4188 [ERROR] - ERROR: The parameter is incorrect.
2023-02-20 21:46:00,816 4188 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '-1'. 2023-02-20 21:46:00,816 4188 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a'] 2023-02-20 21:46:00,847 4188 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116' 2023-02-20 21:46:00,847 4188 [ERROR] - microsoft-windows-terminal uninstall not successful. 2023-02-20 21:46:00,847 4188 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyUninstall.ps1'. See log for details. 2023-02-20 21:46:00,847 4188 [ERROR] - microsoft-windows-terminal not uninstalled. An error occurred during uninstall: microsoft-windows-terminal uninstall not successful. 2023-02-20 21:46:00,863 4188 [WARN ] - Chocolatey uninstalled 0/1 packages. 1 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). 2023-02-20 21:46:00,863 4188 [INFO ] - 2023-02-20 21:46:00,863 4188 [ERROR] - Failures 2023-02-20 21:46:00,863 4188 [ERROR] - - microsoft-windows-terminal (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\microsoft-windows-terminal\tools\chocolateyUninstall.ps1'. See log for details. 2023-02-20 21:46:00,863 4188 [WARN ] - If a package uninstall is failing and/or you've already uninstalled the software outside of Chocolatey, you can attempt to run the command with
-n
to skip running a chocolateyUninstall script, additionally adding--skip-autouninstaller
to skip an attempt to automatically remove system-installed software. Only the packaging files are removed and not things like software installed to Programs and Features.If a package is failing because it is a dependency of another package or packages, then you may first need to consider if it needs to be removed as packages have dependencies for a reason. If you decide that you still want to remove it, head into
$env:ChocolateyInstall\lib
and find the package folder you want to be removed. Then delete the folder for the package. You should use this option only as a last resort.2023-02-20 21:46:00,863 4188 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers... 2023-02-20 21:46:00,879 4188 [DEBUG] - Exiting with -1 `