Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created February 11, 2025 14:03
Show Gist options
  • Save choco-bot/3231daae3db3a88b532782b1db23e2de to your computer and use it in GitHub Desktop.
Save choco-bot/3231daae3db3a88b532782b1db23e2de to your computer and use it in GitHub Desktop.
cnspec v11.41.0 - Failed - Package Tests Results

cnspec v11.41.0 - Failed - Package Test Results

  • https://community.chocolatey.org/packages/cnspec/11.41.0
  • Tested 11 Feb 2025 14:03:31 +00:00
  • Tested against chocolatey/test-environment 3.0.0 (Windows Server 2019)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.2.2
  • Install failed. Note that the process may have hung, indicating a not completely silent install. This is usually seen when the last entry in the log is calling the install. This can also happen when a window pops up and needs to be closed to continue.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\cnspec\cnspec.nupkg" checksum="BE27A7596ACFB91C57C68A484A5D6A3E" />
<file path="C:\ProgramData\chocolatey\lib\cnspec\cnspec.nuspec" checksum="6C256E0AE117E4B5B2A57FD14759EBDD" />
<file path="C:\ProgramData\chocolatey\lib\cnspec\tools\chocolateyInstall.ps1" checksum="00522BF4D262ADE7B308924C3893A533" />
</files>
</fileSnapshot>
2025-02-11 14:02:55,826 844 [DEBUG] - XmlConfiguration is now operational
2025-02-11 14:02:55,946 844 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-02-11 14:02:55,964 844 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-02-11 14:02:55,964 844 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-02-11 14:02:55,964 844 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2025-02-11 14:02:55,964 844 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-02-11 14:02:55,980 844 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2025-02-11 14:02:55,980 844 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-02-11 14:02:55,980 844 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2025-02-11 14:02:55,980 844 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-02-11 14:02:55,998 844 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2025-02-11 14:02:55,998 844 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2025-02-11 14:02:56,930 844 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-02-11 14:02:56,930 844 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-02-11 14:02:56,930 844 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-02-11 14:02:56,930 844 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-02-11 14:02:56,930 844 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-02-11 14:02:56,930 844 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-02-11 14:02:56,930 844 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-02-11 14:02:56,930 844 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-02-11 14:02:56,955 844 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-02-11 14:02:56,955 844 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2025-02-11 14:02:56,982 844 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2025-02-11 14:02:56,982 844 [DEBUG] - Registering new command 'list' in assembly 'choco'
2025-02-11 14:02:56,995 844 [DEBUG] - Registering new command 'rule' in assembly 'choco'
2025-02-11 14:02:56,995 844 [DEBUG] - Registering new command 'template' in assembly 'choco'
2025-02-11 14:02:56,995 844 [DEBUG] - Registering new command 'export' in assembly 'choco'
2025-02-11 14:02:56,995 844 [DEBUG] - Registering new command 'info' in assembly 'choco'
2025-02-11 14:02:56,995 844 [DEBUG] - Registering new command 'help' in assembly 'choco'
2025-02-11 14:02:56,995 844 [DEBUG] - Registering new command 'config' in assembly 'choco'
2025-02-11 14:02:57,016 844 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2025-02-11 14:02:57,016 844 [DEBUG] - Registering new command 'new' in assembly 'choco'
2025-02-11 14:02:57,016 844 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2025-02-11 14:02:57,026 844 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2025-02-11 14:02:57,026 844 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2025-02-11 14:02:57,026 844 [DEBUG] - Registering new command 'push' in assembly 'choco'
2025-02-11 14:02:57,026 844 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2025-02-11 14:02:57,026 844 [DEBUG] - Registering new command 'source' in assembly 'choco'
2025-02-11 14:02:57,026 844 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2025-02-11 14:02:57,048 844 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2025-02-11 14:02:57,048 844 [DEBUG] - Registering new command 'search' in assembly 'choco'
2025-02-11 14:02:57,056 844 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2025-02-11 14:02:57,056 844 [DEBUG] - Registering new command 'install' in assembly 'choco'
2025-02-11 14:02:57,312 844 [INFO ] - ============================================================
2025-02-11 14:02:57,680 844 [INFO ] - Chocolatey v2.4.2
2025-02-11 14:02:57,700 844 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2025-02-11 14:02:57,714 844 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2025-02-11 14:02:57,714 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2025-02-11 14:02:57,732 844 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install cnspec --version 11.41.0 -fdvy --execution-timeout=2700 --allow-downgrade
2025-02-11 14:02:57,732 844 [DEBUG] - Received arguments: install cnspec --version 11.41.0 -fdvy --execution-timeout=2700 --allow-downgrade
2025-02-11 14:02:57,901 844 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2025-02-11 14:02:57,919 844 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2025-02-11 14:02:57,932 844 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2025-02-11 14:02:58,136 844 [DEBUG] - Performing validation checks.
2025-02-11 14:02:58,151 844 [DEBUG] - Global Configuration Validation Checks:
2025-02-11 14:02:58,151 844 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2025-02-11 14:02:58,170 844 [DEBUG] - System State Validation Checks:
2025-02-11 14:02:58,170 844 [DEBUG] - Reboot Requirement Checks:
2025-02-11 14:02:58,181 844 [DEBUG] - - Pending Computer Rename = Checked
2025-02-11 14:02:58,181 844 [DEBUG] - - Pending Component Based Servicing = Checked
2025-02-11 14:02:58,200 844 [DEBUG] - - Pending Windows Auto Update = Checked
2025-02-11 14:02:58,200 844 [DEBUG] - - Pending File Rename Operations = Ignored
2025-02-11 14:02:58,213 844 [DEBUG] - - Pending Windows Package Installer = Checked
2025-02-11 14:02:58,213 844 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2025-02-11 14:02:58,213 844 [DEBUG] - Cache Folder Lockdown Checks:
2025-02-11 14:02:58,229 844 [DEBUG] - - Elevated State = Checked
2025-02-11 14:02:58,229 844 [DEBUG] - - Folder Exists = Checked
2025-02-11 14:02:58,229 844 [DEBUG] - - Folder lockdown = Checked
2025-02-11 14:02:58,248 844 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2025-02-11 14:02:58,292 844 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2025-02-11 14:02:58,308 844 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2025-02-11 14:02:58,340 844 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|IncludeConfiguredSources='False'|
ShowOnlineHelp='False'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='cnspec'|
Version='11.41.0'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='cnspec'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2019'|
Information.ChocolateyVersion='2.4.2.0'|
Information.ChocolateyProductVersion='2.4.2'|
Information.FullName='choco, Version=2.4.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-RPJE1BNICEQ'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|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='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.UsePackageHashValidation='False'|
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'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
UpgradeCommand.IgnorePinned='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.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2025-02-11 14:02:58,340 844 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2025-02-11 14:02:58,357 844 [INFO ] - Installing the following packages:
2025-02-11 14:02:58,370 844 [INFO ] - cnspec
2025-02-11 14:02:58,370 844 [INFO ] - By installing, you accept licenses for the packages.
2025-02-11 14:02:58,389 844 [DEBUG] - Current environment values (may contain sensitive data):
2025-02-11 14:02:58,401 844 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2025-02-11 14:02:58,401 844 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2025-02-11 14:02:58,401 844 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2025-02-11 14:02:58,401 844 [DEBUG] - * 'ChocolateyLastPathUpdate'='133837507634425939' ('User')
2025-02-11 14:02:58,418 844 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2025-02-11 14:02:58,418 844 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2025-02-11 14:02:58,418 844 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2025-02-11 14:02:58,431 844 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin' ('Machine')
2025-02-11 14:02:58,431 844 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2025-02-11 14:02:58,431 844 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2025-02-11 14:02:58,431 844 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2025-02-11 14:02:58,431 844 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2025-02-11 14:02:58,450 844 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2025-02-11 14:02:58,450 844 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2025-02-11 14:02:58,450 844 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2025-02-11 14:02:58,450 844 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2025-02-11 14:02:58,465 844 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2025-02-11 14:02:58,465 844 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2025-02-11 14:02:58,465 844 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2025-02-11 14:02:58,479 844 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2025-02-11 14:02:58,650 844 [DEBUG] - Unable to get parent process for 'choco'. Ignoring...
2025-02-11 14:02:58,667 844 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
2025-02-11 14:02:58,697 844 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.2 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
2025-02-11 14:02:59,043 844 [DEBUG] - Running list with the following filter = ''
2025-02-11 14:02:59,043 844 [DEBUG] - --- Start of List ---
2025-02-11 14:02:59,109 844 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
2025-02-11 14:02:59,122 844 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.2 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
2025-02-11 14:02:59,122 844 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2025-02-11 14:02:59,607 844 [DEBUG] - chocolatey 2.4.2
2025-02-11 14:02:59,620 844 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2025-02-11 14:02:59,620 844 [DEBUG] - KB2919355 1.0.20160915
2025-02-11 14:02:59,639 844 [DEBUG] - KB2919442 1.0.20160915
2025-02-11 14:02:59,639 844 [DEBUG] - KB2999226 1.0.20181019
2025-02-11 14:02:59,652 844 [DEBUG] - KB3035131 1.0.3
2025-02-11 14:02:59,652 844 [DEBUG] - KB3118401 1.0.5
2025-02-11 14:02:59,671 844 [DEBUG] - virtualbox-guest-additions-guest.install 7.1.0
2025-02-11 14:02:59,671 844 [DEBUG] - --- End of List ---
2025-02-11 14:02:59,680 844 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2025-02-11 14:03:00,351 844 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2025-02-11 14:03:00,936 844 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='cnspec',Version='11.41.0')
2025-02-11 14:03:01,029 844 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='cnspec',Version='11.41.0') 80ms
2025-02-11 14:03:01,169 844 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2025-02-11 14:03:01,834 844 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2025-02-11 14:03:01,869 844 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='cnspec',Version='11.41.0')
2025-02-11 14:03:02,588 844 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/$metadata
2025-02-11 14:03:02,667 844 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/$metadata 57ms
2025-02-11 14:03:02,716 844 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='cnquery'&semVerLevel=2.0.0
2025-02-11 14:03:02,934 844 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='cnquery'&semVerLevel=2.0.0 208ms
2025-02-11 14:03:03,091 844 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='cnquery'&$skiptoken='1721306917723','11.13.2','cnquery'
2025-02-11 14:03:03,355 844 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='cnquery'&$skiptoken='1721306917723','11.13.2','cnquery' 257ms
2025-02-11 14:03:03,420 844 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='cnquery'&$skiptoken='1711829000733','8.28.3','cnquery'
2025-02-11 14:03:03,702 844 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='cnquery'&$skiptoken='1711829000733','8.28.3','cnquery' 276ms
2025-02-11 14:03:03,779 844 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='cnquery'&$skiptoken='1711274612240','8.9.0','cnquery'
2025-02-11 14:03:04,012 844 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='cnquery'&$skiptoken='1711274612240','8.9.0','cnquery' 230ms
2025-02-11 14:03:04,056 844 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='cnquery'&$skiptoken='1709848104700','9.6.1','cnquery'
2025-02-11 14:03:04,241 844 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='cnquery'&$skiptoken='1709848104700','9.6.1','cnquery' 165ms
2025-02-11 14:03:04,241 844 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='cnquery'&$skiptoken='1709848104700','7.4.0','cnquery'
2025-02-11 14:03:04,466 844 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='cnquery'&$skiptoken='1709848104700','7.4.0','cnquery' 205ms
2025-02-11 14:03:04,714 844 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2025-02-11 14:03:04,747 844 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='cnquery',Version='11.40.0')
2025-02-11 14:03:04,906 844 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='cnquery',Version='11.40.0') 159ms
2025-02-11 14:03:04,918 844 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2025-02-11 14:03:04,978 844 [DEBUG] - Attempting to delete file "".
2025-02-11 14:03:04,978 844 [INFO ] - Downloading package from source 'https://community.chocolatey.org/api/v2/'
2025-02-11 14:03:04,996 844 [DEBUG] - Package download location 'https://community.chocolatey.org/api/v2/package/cnquery/11.40.0'
2025-02-11 14:03:05,026 844 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/cnquery/11.40.0
2025-02-11 14:03:05,462 844 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/cnquery/11.40.0 415ms
2025-02-11 14:03:05,495 844 [INFO ] - [NuGet] Acquiring lock for the installation of cnquery 11.40.0
2025-02-11 14:03:05,572 844 [INFO ] - [NuGet] Acquired lock for the installation of cnquery 11.40.0
2025-02-11 14:03:05,934 844 [INFO ] - [NuGet] Installed cnquery 11.40.0 from https://community.chocolatey.org/api/v2/ with content hash gEHIPEDy14Tm+Z2JrXWprqjGP8MmR8NluMrEIimMb972urMQ8l+gIpM63CKunrK2RaAn+KXpkDCq14TXOnqr4A==.
2025-02-11 14:03:05,949 844 [DEBUG] - Skipping package hash validation as feature 'usePackageHashValidation' is not enabled.
2025-02-11 14:03:06,010 844 [INFO ] - [NuGet] Adding package 'cnquery.11.40.0' to folder 'C:\ProgramData\chocolatey\lib'
2025-02-11 14:03:06,076 844 [INFO ] - [NuGet] Added package 'cnquery.11.40.0' to folder 'C:\ProgramData\chocolatey\lib'
2025-02-11 14:03:06,090 844 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\cnquery/11.40.0\cnquery.11.40.0.nupkg".
2025-02-11 14:03:06,090 844 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\cnquery/11.40.0\.nupkg.metadata".
2025-02-11 14:03:06,104 844 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\cnquery/11.40.0\cnquery.11.40.0.nupkg.sha512".
2025-02-11 14:03:06,104 844 [INFO ] -
cnquery v11.40.0 (forced) [Approved]
2025-02-11 14:03:06,185 844 [INFO ] - cnquery package files install completed. Performing other installation steps.
2025-02-11 14:03:06,261 844 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\cnquery\tools\chocolateyInstall.ps1':
2025-02-11 14:03:06,279 844 [DEBUG] - $ErrorActionPreference = 'Stop'; # stop on all errors
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$version = '11.40.0'
$url = "https://releases.mondoo.com/cnquery/11.40.0/cnquery_11.40.0_windows_amd64.zip"
$checksum = 'c7e156c551f71526f1a6de4ccc0e7cd4be191bd2ef45a9e51bcca1dc81b62a7d'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
url64bit = $url
checksum64 = $checksum
checksumType64= 'sha256' #default is checksumType
}
Install-ChocolateyZipPackage @packageArgs
2025-02-11 14:03:06,321 844 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\cnquery\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2025-02-11 14:03:06,321 844 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2025-02-11 14:03:06,979 844 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.5830' and CLR Version is '4.0.30319.42000'.
2025-02-11 14:03:07,527 844 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
2025-02-11 14:03:07,561 844 [DEBUG] - Returning loaded assembly type for 'Chocolatey.PowerShell'
2025-02-11 14:03:07,574 844 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2025-02-11 14:03:07,574 844 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2025-02-11 14:03:07,574 844 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2025-02-11 14:03:07,590 844 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2025-02-11 14:03:07,590 844 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2025-02-11 14:03:07,590 844 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2025-02-11 14:03:07,590 844 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2025-02-11 14:03:07,637 844 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
2025-02-11 14:03:07,652 844 [DEBUG] - Get-EnvironmentVariable
2025-02-11 14:03:07,652 844 [DEBUG] - Get-EnvironmentVariableNames
2025-02-11 14:03:07,670 844 [DEBUG] - Install-ChocolateyPath
2025-02-11 14:03:07,670 844 [DEBUG] - Set-EnvironmentVariable
2025-02-11 14:03:07,670 844 [DEBUG] - Test-ProcessAdminRights
2025-02-11 14:03:07,683 844 [DEBUG] - Uninstall-ChocolateyPath
2025-02-11 14:03:07,683 844 [DEBUG] - Update-SessionEnvironment
2025-02-11 14:03:07,701 844 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2025-02-11 14:03:07,701 844 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2025-02-11 14:03:07,701 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2025-02-11 14:03:07,715 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2025-02-11 14:03:07,715 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2025-02-11 14:03:07,715 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2025-02-11 14:03:07,729 844 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2025-02-11 14:03:07,729 844 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2025-02-11 14:03:07,729 844 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2025-02-11 14:03:07,729 844 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2025-02-11 14:03:07,746 844 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2025-02-11 14:03:07,746 844 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2025-02-11 14:03:07,746 844 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2025-02-11 14:03:07,746 844 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2025-02-11 14:03:07,761 844 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2025-02-11 14:03:07,761 844 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2025-02-11 14:03:07,761 844 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2025-02-11 14:03:07,777 844 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2025-02-11 14:03:07,777 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2025-02-11 14:03:07,777 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2025-02-11 14:03:07,793 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2025-02-11 14:03:07,793 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2025-02-11 14:03:07,793 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2025-02-11 14:03:07,793 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2025-02-11 14:03:07,808 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2025-02-11 14:03:07,808 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2025-02-11 14:03:07,808 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2025-02-11 14:03:07,822 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2025-02-11 14:03:07,822 844 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2025-02-11 14:03:07,822 844 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2025-02-11 14:03:07,822 844 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2025-02-11 14:03:07,842 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2025-02-11 14:03:07,842 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-02-11 14:03:07,842 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2025-02-11 14:03:07,853 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2025-02-11 14:03:07,853 844 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2025-02-11 14:03:07,853 844 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-02-11 14:03:07,871 844 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-02-11 14:03:07,871 844 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-02-11 14:03:07,871 844 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-02-11 14:03:07,883 844 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-02-11 14:03:07,883 844 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-02-11 14:03:07,883 844 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-02-11 14:03:07,905 844 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2025-02-11 14:03:07,905 844 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2025-02-11 14:03:07,917 844 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2025-02-11 14:03:07,917 844 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2025-02-11 14:03:07,917 844 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2025-02-11 14:03:07,935 844 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2025-02-11 14:03:07,935 844 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2025-02-11 14:03:07,935 844 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2025-02-11 14:03:07,949 844 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2025-02-11 14:03:07,965 844 [DEBUG] - Loading community extensions
2025-02-11 14:03:07,982 844 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2025-02-11 14:03:07,997 844 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2025-02-11 14:03:08,123 844 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2025-02-11 14:03:08,138 844 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2025-02-11 14:03:08,138 844 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2025-02-11 14:03:08,150 844 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2025-02-11 14:03:08,150 844 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2025-02-11 14:03:08,170 844 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2025-02-11 14:03:08,170 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2025-02-11 14:03:08,184 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2025-02-11 14:03:08,184 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2025-02-11 14:03:08,184 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2025-02-11 14:03:08,198 844 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2025-02-11 14:03:08,198 844 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2025-02-11 14:03:08,198 844 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2025-02-11 14:03:08,198 844 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2025-02-11 14:03:08,215 844 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2025-02-11 14:03:08,215 844 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2025-02-11 14:03:08,215 844 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2025-02-11 14:03:08,231 844 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2025-02-11 14:03:08,231 844 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2025-02-11 14:03:08,231 844 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2025-02-11 14:03:08,245 844 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2025-02-11 14:03:08,245 844 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2025-02-11 14:03:08,245 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2025-02-11 14:03:08,245 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2025-02-11 14:03:08,262 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2025-02-11 14:03:08,262 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2025-02-11 14:03:08,262 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2025-02-11 14:03:08,277 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2025-02-11 14:03:08,277 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2025-02-11 14:03:08,277 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2025-02-11 14:03:08,277 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2025-02-11 14:03:08,295 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2025-02-11 14:03:08,295 844 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2025-02-11 14:03:08,309 844 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2025-02-11 14:03:08,309 844 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2025-02-11 14:03:08,309 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2025-02-11 14:03:08,322 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-02-11 14:03:08,322 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2025-02-11 14:03:08,322 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2025-02-11 14:03:08,322 844 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2025-02-11 14:03:08,340 844 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2025-02-11 14:03:08,340 844 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2025-02-11 14:03:08,340 844 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-02-11 14:03:08,356 844 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-02-11 14:03:08,356 844 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-02-11 14:03:08,356 844 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-02-11 14:03:08,371 844 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-02-11 14:03:08,371 844 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-02-11 14:03:08,371 844 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-02-11 14:03:08,386 844 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-02-11 14:03:08,386 844 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-02-11 14:03:08,386 844 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-02-11 14:03:08,402 844 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-02-11 14:03:08,402 844 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-02-11 14:03:08,418 844 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-02-11 14:03:08,418 844 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-02-11 14:03:08,418 844 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2025-02-11 14:03:08,434 844 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2025-02-11 14:03:08,434 844 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2025-02-11 14:03:08,446 844 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2025-02-11 14:03:08,446 844 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2025-02-11 14:03:08,446 844 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2025-02-11 14:03:08,446 844 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2025-02-11 14:03:08,446 844 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2025-02-11 14:03:08,467 844 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2025-02-11 14:03:08,467 844 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2025-02-11 14:03:08,467 844 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2025-02-11 14:03:08,480 844 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2025-02-11 14:03:08,480 844 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2025-02-11 14:03:08,480 844 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2025-02-11 14:03:08,496 844 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2025-02-11 14:03:08,496 844 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2025-02-11 14:03:08,496 844 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2025-02-11 14:03:08,510 844 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2025-02-11 14:03:08,510 844 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2025-02-11 14:03:08,510 844 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2025-02-11 14:03:08,510 844 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2025-02-11 14:03:08,576 844 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2025-02-11 14:03:08,590 844 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2025-02-11 14:03:08,590 844 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2025-02-11 14:03:08,590 844 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2025-02-11 14:03:08,605 844 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2025-02-11 14:03:08,605 844 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2025-02-11 14:03:08,605 844 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2025-02-11 14:03:08,605 844 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2025-02-11 14:03:08,622 844 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2025-02-11 14:03:08,622 844 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2025-02-11 14:03:08,622 844 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2025-02-11 14:03:08,636 844 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2025-02-11 14:03:08,636 844 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2025-02-11 14:03:08,636 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2025-02-11 14:03:08,636 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2025-02-11 14:03:08,656 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2025-02-11 14:03:08,656 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2025-02-11 14:03:08,665 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2025-02-11 14:03:08,665 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2025-02-11 14:03:08,665 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2025-02-11 14:03:08,665 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2025-02-11 14:03:08,665 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2025-02-11 14:03:08,686 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2025-02-11 14:03:08,686 844 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2025-02-11 14:03:08,696 844 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2025-02-11 14:03:08,696 844 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2025-02-11 14:03:08,696 844 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2025-02-11 14:03:08,717 844 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2025-02-11 14:03:08,717 844 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2025-02-11 14:03:08,717 844 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-02-11 14:03:08,729 844 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2025-02-11 14:03:08,729 844 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2025-02-11 14:03:08,729 844 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2025-02-11 14:03:08,729 844 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2025-02-11 14:03:08,747 844 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2025-02-11 14:03:08,747 844 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2025-02-11 14:03:08,747 844 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2025-02-11 14:03:08,747 844 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2025-02-11 14:03:08,761 844 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2025-02-11 14:03:08,761 844 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2025-02-11 14:03:08,761 844 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2025-02-11 14:03:08,777 844 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2025-02-11 14:03:08,884 844 [DEBUG] - ---------------------------Script Execution---------------------------
2025-02-11 14:03:08,905 844 [DEBUG] - Running 'ChocolateyScriptRunner' for cnquery v11.40.0 with packageScript 'C:\ProgramData\chocolatey\lib\cnquery\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\cnquery', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2025-02-11 14:03:08,938 844 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\cnquery\tools\chocolateyInstall.ps1'
2025-02-11 14:03:09,106 844 [DEBUG] - Running Install-ChocolateyZipPackage -unzipLocation 'C:\ProgramData\chocolatey\lib\cnquery\tools' -url64bit 'https://releases.mondoo.com/cnquery/11.40.0/cnquery_11.40.0_windows_amd64.zip' -checksumType64 'sha256' -packageName 'cnquery' -checksum64 'c7e156c551f71526f1a6de4ccc0e7cd4be191bd2ef45a9e51bcca1dc81b62a7d'
2025-02-11 14:03:09,214 844 [DEBUG] - Running Get-ChocolateyWebFile -checksum '' -checksumType '' -checksum64 'c7e156c551f71526f1a6de4ccc0e7cd4be191bd2ef45a9e51bcca1dc81b62a7d' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'cnquery' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnquery\11.40.0\cnqueryInstall.zip' -url '' -url64bit 'https://releases.mondoo.com/cnquery/11.40.0/cnquery_11.40.0_windows_amd64.zip'
2025-02-11 14:03:09,275 844 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2025-02-11 14:03:09,319 844 [DEBUG] - CPU is 64 bit
2025-02-11 14:03:09,343 844 [DEBUG] - Setting url to 'https://releases.mondoo.com/cnquery/11.40.0/cnquery_11.40.0_windows_amd64.zip' and bitPackage to 64
2025-02-11 14:03:09,432 844 [DEBUG] - Running Get-WebFileName -url 'https://releases.mondoo.com/cnquery/11.40.0/cnquery_11.40.0_windows_amd64.zip' -defaultName 'cnqueryInstall.zip'
2025-02-11 14:03:09,968 844 [DEBUG] - Using response url to determine file name. 'https://releases.mondoo.com/cnquery/11.40.0/cnquery_11.40.0_windows_amd64.zip'
2025-02-11 14:03:09,996 844 [DEBUG] - File name determined from url is 'cnquery_11.40.0_windows_amd64.zip'
2025-02-11 14:03:10,060 844 [DEBUG] - Running Get-WebHeaders -url 'https://releases.mondoo.com/cnquery/11.40.0/cnquery_11.40.0_windows_amd64.zip' -ErrorAction 'Stop'
2025-02-11 14:03:10,074 844 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2025-02-11 14:03:10,074 844 [DEBUG] - Request Headers:
2025-02-11 14:03:10,091 844 [DEBUG] - 'Accept':'*/*'
2025-02-11 14:03:10,104 844 [DEBUG] - 'User-Agent':'chocolatey command line'
2025-02-11 14:03:10,230 844 [DEBUG] - Response Headers:
2025-02-11 14:03:10,248 844 [DEBUG] - 'X-GUploader-UploadID':'AHMx-iFKPBP_tCJCKscZxKasyVh1OqtrgYSS-4tG6PzWA_Nw7m7fN1SZjwHqgh8HFQ8Zr6JWgU9rl6Y'
2025-02-11 14:03:10,248 844 [DEBUG] - 'x-goog-generation':'1738665728618007'
2025-02-11 14:03:10,248 844 [DEBUG] - 'x-goog-metageneration':'1'
2025-02-11 14:03:10,260 844 [DEBUG] - 'x-goog-stored-content-encoding':'identity'
2025-02-11 14:03:10,260 844 [DEBUG] - 'x-goog-stored-content-length':'16561363'
2025-02-11 14:03:10,260 844 [DEBUG] - 'x-goog-hash':'crc32c=jaALYQ==,md5=aOA3fZd1EhJ8c1RCjIk+8w=='
2025-02-11 14:03:10,278 844 [DEBUG] - 'x-goog-storage-class':'STANDARD'
2025-02-11 14:03:10,278 844 [DEBUG] - 'Access-Control-Allow-Origin':'*'
2025-02-11 14:03:10,278 844 [DEBUG] - 'Access-Control-Expose-Headers':'Content-Type'
2025-02-11 14:03:10,293 844 [DEBUG] - 'Age':'1'
2025-02-11 14:03:10,293 844 [DEBUG] - 'Strict-Transport-Security':'max-age=31536000; includeSubDomains'
2025-02-11 14:03:10,293 844 [DEBUG] - 'X-Frame-Options':'SAMEORIGIN'
2025-02-11 14:03:10,309 844 [DEBUG] - 'Alt-Svc':'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'
2025-02-11 14:03:10,309 844 [DEBUG] - 'Accept-Ranges':'bytes'
2025-02-11 14:03:10,324 844 [DEBUG] - 'Content-Length':'16561363'
2025-02-11 14:03:10,324 844 [DEBUG] - 'Cache-Control':'public,max-age=3600'
2025-02-11 14:03:10,341 844 [DEBUG] - 'Content-Type':'application/zip'
2025-02-11 14:03:10,341 844 [DEBUG] - 'Date':'Tue, 11 Feb 2025 14:03:09 GMT'
2025-02-11 14:03:10,341 844 [DEBUG] - 'ETag':'"68e0377d977512127c7354428c893ef3"'
2025-02-11 14:03:10,353 844 [DEBUG] - 'Last-Modified':'Tue, 04 Feb 2025 10:42:08 GMT'
2025-02-11 14:03:10,353 844 [DEBUG] - 'Server':'UploadServer'
2025-02-11 14:03:10,397 844 [INFO ] - Downloading cnquery 64 bit
from 'https://releases.mondoo.com/cnquery/11.40.0/cnquery_11.40.0_windows_amd64.zip'
2025-02-11 14:03:10,460 844 [DEBUG] - Running Get-WebFile -url 'https://releases.mondoo.com/cnquery/11.40.0/cnquery_11.40.0_windows_amd64.zip' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnquery\11.40.0\cnquery_11.40.0_windows_amd64.zip' -options 'System.Collections.Hashtable'
2025-02-11 14:03:10,500 844 [DEBUG] - Setting request timeout to 30000
2025-02-11 14:03:10,500 844 [DEBUG] - Setting read/write timeout to 2700000
2025-02-11 14:03:10,511 844 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2025-02-11 14:03:11,025 844 [DEBUG] - Downloading https://releases.mondoo.com/cnquery/11.40.0/cnquery_11.40.0_windows_amd64.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnquery\11.40.0\cnquery_11.40.0_windows_amd64.zip
2025-02-11 14:03:13,092 844 [INFO ] -
2025-02-11 14:03:13,106 844 [INFO ] - Download of cnquery_11.40.0_windows_amd64.zip (15.79 MB) completed.
2025-02-11 14:03:16,154 844 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2025-02-11 14:03:16,169 844 [DEBUG] - Verifying package provided checksum of 'c7e156c551f71526f1a6de4ccc0e7cd4be191bd2ef45a9e51bcca1dc81b62a7d' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnquery\11.40.0\cnquery_11.40.0_windows_amd64.zip'.
2025-02-11 14:03:16,203 844 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnquery\11.40.0\cnquery_11.40.0_windows_amd64.zip' -checksum 'c7e156c551f71526f1a6de4ccc0e7cd4be191bd2ef45a9e51bcca1dc81b62a7d' -checksumType 'sha256' -originalUrl 'https://releases.mondoo.com/cnquery/11.40.0/cnquery_11.40.0_windows_amd64.zip'
2025-02-11 14:03:16,213 844 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2025-02-11 14:03:16,213 844 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="c7e156c551f71526f1a6de4ccc0e7cd4be191bd2ef45a9e51bcca1dc81b62a7d" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnquery\11.40.0\cnquery_11.40.0_windows_amd64.zip"]
2025-02-11 14:03:17,304 844 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="c7e156c551f71526f1a6de4ccc0e7cd4be191bd2ef45a9e51bcca1dc81b62a7d" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnquery\11.40.0\cnquery_11.40.0_windows_amd64.zip"] exited with '0'.
2025-02-11 14:03:17,368 844 [DEBUG] - Running Get-ChocolateyUnzip -disableLogging 'False' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnquery\11.40.0\cnquery_11.40.0_windows_amd64.zip' -destination 'C:\ProgramData\chocolatey\lib\cnquery\tools' -specificFolder '' -packageName 'cnquery'
2025-02-11 14:03:17,392 844 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2025-02-11 14:03:17,400 844 [INFO ] - Extracting C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnquery\11.40.0\cnquery_11.40.0_windows_amd64.zip to C:\ProgramData\chocolatey\lib\cnquery\tools...
2025-02-11 14:03:17,423 844 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2025-02-11 14:03:17,462 844 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\cnquery\tools" -y "C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnquery\11.40.0\cnquery_11.40.0_windows_amd64.zip"]
2025-02-11 14:03:18,292 844 [INFO ] - VERBOSE: 7-Zip 24.08 (x86) : Copyright (c) 1999-2024 Igor Pavlov : 2024-08-11
2025-02-11 14:03:18,292 844 [INFO ] - VERBOSE:
2025-02-11 14:03:18,311 844 [INFO ] - VERBOSE:
2025-02-11 14:03:18,323 844 [INFO ] - VERBOSE: Extracting archive: C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnquery\11.40.0\cnquery_11.40.0_windows_amd64.zip
2025-02-11 14:03:18,323 844 [INFO ] - VERBOSE: 1 file, 16561363 bytes (16 MiB)
2025-02-11 14:03:18,342 844 [INFO ] - VERBOSE: Scanning the drive for archives:
2025-02-11 14:03:18,342 844 [INFO ] - VERBOSE:
2025-02-11 14:03:18,342 844 [INFO ] - VERBOSE: --
2025-02-11 14:03:18,355 844 [INFO ] - VERBOSE: Type = zip
2025-02-11 14:03:18,355 844 [INFO ] - VERBOSE: Path = C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnquery\11.40.0\cnquery_11.40.0_windows_amd64.zip
2025-02-11 14:03:18,355 844 [INFO ] - VERBOSE: Physical Size = 16561363
2025-02-11 14:03:18,372 844 [INFO ] - VERBOSE:
2025-02-11 14:03:18,372 844 [INFO ] - VERBOSE: - cnquery.exe
2025-02-11 14:03:18,387 844 [INFO ] - VERBOSE:
2025-02-11 14:03:18,418 844 [INFO ] - VERBOSE: Everything is Ok
2025-02-11 14:03:18,418 844 [INFO ] - VERBOSE: Size: 50703608
2025-02-11 14:03:18,435 844 [INFO ] - VERBOSE: Compressed: 16561363
2025-02-11 14:03:18,481 844 [DEBUG] - $exitCode was passed null
2025-02-11 14:03:18,498 844 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\ProgramData\chocolatey\lib\cnquery\tools" -y "C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnquery\11.40.0\cnquery_11.40.0_windows_amd64.zip"] exited with '0'.
2025-02-11 14:03:18,530 844 [DEBUG] - 7z exit code: 0
2025-02-11 14:03:18,543 844 [INFO ] - C:\ProgramData\chocolatey\lib\cnquery\tools
2025-02-11 14:03:18,575 844 [DEBUG] - ----------------------------------------------------------------------
2025-02-11 14:03:18,591 844 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\cnquery\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2025-02-11 14:03:18,591 844 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2025-02-11 14:03:18,714 844 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2025-02-11 14:03:18,885 844 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\cnquery'
2025-02-11 14:03:18,902 844 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cnquery\cnquery.nupkg'
with checksum '52B1D1A3182D4CF4B1CF93FC786E881D'
2025-02-11 14:03:18,902 844 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cnquery\cnquery.nuspec'
with checksum 'E86654BE2F516C2B3F88B2D1A91E846F'
2025-02-11 14:03:18,902 844 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cnquery\cnquery_11.40.0_windows_amd64.zip.txt'
with checksum '8B9D97DCAB35C610601040E86AF7E7ED'
2025-02-11 14:03:18,902 844 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cnquery\tools\chocolateyInstall.ps1'
with checksum '83C3917D5EDAC70C83B76E106A03A67C'
2025-02-11 14:03:19,103 844 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cnquery\tools\cnquery.exe'
with checksum '1C226F31676C27154667060B54B7502F'
2025-02-11 14:03:19,154 844 [DEBUG] - Calling command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\cnquery\tools\cnquery.exe" --output="C:\ProgramData\chocolatey\bin\cnquery.exe" --iconpath="C:\ProgramData\chocolatey\lib\cnquery\tools\cnquery.exe"']
2025-02-11 14:03:19,967 844 [DEBUG] - [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
2025-02-11 14:03:19,977 844 [DEBUG] - [ShimGen] Selected Icon is invalid
2025-02-11 14:03:20,328 844 [DEBUG] - [ShimGen] Microsoft (R) Visual C# Compiler version 4.8.3761.0
2025-02-11 14:03:20,335 844 [DEBUG] - [ShimGen] for C# 5
2025-02-11 14:03:20,335 844 [DEBUG] - [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
2025-02-11 14:03:20,351 844 [DEBUG] - [ShimGen] This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
2025-02-11 14:03:20,351 844 [DEBUG] - [ShimGen] ShimGen has successfully created 'C:\ProgramData\chocolatey\bin\cnquery.exe'
2025-02-11 14:03:20,371 844 [DEBUG] - Command ['"C:\ProgramData\chocolatey\tools\shimgen.exe" --path="..\\lib\cnquery\tools\cnquery.exe" --output="C:\ProgramData\chocolatey\bin\cnquery.exe" --iconpath="C:\ProgramData\chocolatey\lib\cnquery\tools\cnquery.exe"'] exited with '0'
2025-02-11 14:03:20,383 844 [INFO ] - ShimGen has successfully created a shim for cnquery.exe
2025-02-11 14:03:20,383 844 [DEBUG] - Created: C:\ProgramData\chocolatey\bin\cnquery.exe
Targeting: C:\ProgramData\chocolatey\lib\cnquery\tools\cnquery.exe
IsGui:False
2025-02-11 14:03:20,436 844 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\cnquery.11.40.0".
2025-02-11 14:03:20,480 844 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\cnquery.11.40.0\.files'
2025-02-11 14:03:20,531 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cnquery.11.40.0\.extra".
2025-02-11 14:03:20,531 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cnquery.11.40.0\.version".
2025-02-11 14:03:20,543 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cnquery.11.40.0\.sxs".
2025-02-11 14:03:20,543 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cnquery.11.40.0\.pin".
2025-02-11 14:03:20,560 844 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2025-02-11 14:03:20,560 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\cnquery\.chocolateyPending".
2025-02-11 14:03:20,573 844 [INFO ] - The install of cnquery was successful.
2025-02-11 14:03:20,573 844 [INFO ] - Deployed to 'C:\ProgramData\chocolatey\lib\cnquery\tools'
2025-02-11 14:03:20,590 844 [DEBUG] - Attempting to delete file "".
2025-02-11 14:03:20,590 844 [INFO ] - Downloading package from source 'https://community.chocolatey.org/api/v2/'
2025-02-11 14:03:20,590 844 [DEBUG] - Package download location 'https://community.chocolatey.org/api/v2/package/cnspec/11.41.0'
2025-02-11 14:03:20,605 844 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/cnspec/11.41.0
2025-02-11 14:03:20,806 844 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/cnspec/11.41.0 201ms
2025-02-11 14:03:20,806 844 [INFO ] - [NuGet] Acquiring lock for the installation of cnspec 11.41.0
2025-02-11 14:03:20,824 844 [INFO ] - [NuGet] Acquired lock for the installation of cnspec 11.41.0
2025-02-11 14:03:20,838 844 [INFO ] - [NuGet] Installed cnspec 11.41.0 from https://community.chocolatey.org/api/v2/ with content hash cgPHswkEQajjlPE6eUxWDpHksL6sANwmZ6DN/gYGk8h0ETk/MUBNHK3Gi1rRR2Ov39TZxccE5Q2dN0hbPG/3pg==.
2025-02-11 14:03:20,838 844 [DEBUG] - Skipping package hash validation as feature 'usePackageHashValidation' is not enabled.
2025-02-11 14:03:20,872 844 [INFO ] - [NuGet] Adding package 'cnspec.11.41.0 : cnquery (, )' to folder 'C:\ProgramData\chocolatey\lib'
2025-02-11 14:03:20,885 844 [INFO ] - [NuGet] Added package 'cnspec.11.41.0 : cnquery (, )' to folder 'C:\ProgramData\chocolatey\lib'
2025-02-11 14:03:20,902 844 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\cnspec/11.41.0\cnspec.11.41.0.nupkg".
2025-02-11 14:03:20,902 844 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\cnspec/11.41.0\.nupkg.metadata".
2025-02-11 14:03:20,923 844 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\cnspec/11.41.0\cnspec.11.41.0.nupkg.sha512".
2025-02-11 14:03:20,931 844 [INFO ] -
cnspec v11.41.0 (forced)
2025-02-11 14:03:20,931 844 [INFO ] - cnspec package files install completed. Performing other installation steps.
2025-02-11 14:03:20,952 844 [DEBUG] - Setting installer args for cnspec
2025-02-11 14:03:20,952 844 [DEBUG] - Setting package parameters for cnspec
2025-02-11 14:03:20,964 844 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\cnspec\tools\chocolateyInstall.ps1':
2025-02-11 14:03:20,964 844 [DEBUG] - $ErrorActionPreference = 'Stop'; # stop on all errors
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$version = '11.41.0'
$url = "https://releases.mondoo.com/cnspec/11.41.0/cnspec_11.41.0_windows_amd64.zip"
$checksum = 'internal server error'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
url64bit = $url
checksum64 = $checksum
checksumType64= 'sha256' #default is checksumType
}
Install-ChocolateyZipPackage @packageArgs
2025-02-11 14:03:20,964 844 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\cnspec\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2025-02-11 14:03:21,011 844 [DEBUG] - Redirecting Microsoft.WSMan.Management.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2025-02-11 14:03:21,074 844 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.5830' and CLR Version is '4.0.30319.42000'.
2025-02-11 14:03:21,243 844 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
2025-02-11 14:03:21,263 844 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2025-02-11 14:03:21,263 844 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2025-02-11 14:03:21,278 844 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2025-02-11 14:03:21,278 844 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2025-02-11 14:03:21,278 844 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2025-02-11 14:03:21,292 844 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2025-02-11 14:03:21,292 844 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2025-02-11 14:03:21,292 844 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
2025-02-11 14:03:21,309 844 [DEBUG] - Get-EnvironmentVariable
2025-02-11 14:03:21,309 844 [DEBUG] - Get-EnvironmentVariableNames
2025-02-11 14:03:21,309 844 [DEBUG] - Install-ChocolateyPath
2025-02-11 14:03:21,323 844 [DEBUG] - Set-EnvironmentVariable
2025-02-11 14:03:21,323 844 [DEBUG] - Test-ProcessAdminRights
2025-02-11 14:03:21,323 844 [DEBUG] - Uninstall-ChocolateyPath
2025-02-11 14:03:21,341 844 [DEBUG] - Update-SessionEnvironment
2025-02-11 14:03:21,341 844 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2025-02-11 14:03:21,355 844 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2025-02-11 14:03:21,355 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2025-02-11 14:03:21,355 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2025-02-11 14:03:21,371 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2025-02-11 14:03:21,371 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2025-02-11 14:03:21,371 844 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2025-02-11 14:03:21,371 844 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2025-02-11 14:03:21,386 844 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2025-02-11 14:03:21,386 844 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2025-02-11 14:03:21,386 844 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2025-02-11 14:03:21,403 844 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2025-02-11 14:03:21,403 844 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2025-02-11 14:03:21,403 844 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2025-02-11 14:03:21,418 844 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2025-02-11 14:03:21,418 844 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2025-02-11 14:03:21,418 844 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2025-02-11 14:03:21,433 844 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2025-02-11 14:03:21,433 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2025-02-11 14:03:21,433 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2025-02-11 14:03:21,433 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2025-02-11 14:03:21,450 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2025-02-11 14:03:21,450 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2025-02-11 14:03:21,463 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2025-02-11 14:03:21,463 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2025-02-11 14:03:21,463 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2025-02-11 14:03:21,463 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2025-02-11 14:03:21,481 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2025-02-11 14:03:21,481 844 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2025-02-11 14:03:21,481 844 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2025-02-11 14:03:21,496 844 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2025-02-11 14:03:21,496 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2025-02-11 14:03:21,512 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-02-11 14:03:21,512 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2025-02-11 14:03:21,512 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2025-02-11 14:03:21,527 844 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2025-02-11 14:03:21,527 844 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-02-11 14:03:21,540 844 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-02-11 14:03:21,540 844 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-02-11 14:03:21,540 844 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-02-11 14:03:21,540 844 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-02-11 14:03:21,565 844 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-02-11 14:03:21,569 844 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-02-11 14:03:21,569 844 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2025-02-11 14:03:21,569 844 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2025-02-11 14:03:21,569 844 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2025-02-11 14:03:21,592 844 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2025-02-11 14:03:21,592 844 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2025-02-11 14:03:21,592 844 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2025-02-11 14:03:21,603 844 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2025-02-11 14:03:21,603 844 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2025-02-11 14:03:21,603 844 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2025-02-11 14:03:21,624 844 [DEBUG] - Loading community extensions
2025-02-11 14:03:21,656 844 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2025-02-11 14:03:21,665 844 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2025-02-11 14:03:21,698 844 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2025-02-11 14:03:21,719 844 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2025-02-11 14:03:21,719 844 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2025-02-11 14:03:21,728 844 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2025-02-11 14:03:21,728 844 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2025-02-11 14:03:21,728 844 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2025-02-11 14:03:21,749 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2025-02-11 14:03:21,749 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2025-02-11 14:03:21,761 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2025-02-11 14:03:21,761 844 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2025-02-11 14:03:21,761 844 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2025-02-11 14:03:21,778 844 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2025-02-11 14:03:21,778 844 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2025-02-11 14:03:21,778 844 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2025-02-11 14:03:21,793 844 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2025-02-11 14:03:21,793 844 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2025-02-11 14:03:21,793 844 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2025-02-11 14:03:21,808 844 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2025-02-11 14:03:21,808 844 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2025-02-11 14:03:21,808 844 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2025-02-11 14:03:21,825 844 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2025-02-11 14:03:21,841 844 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2025-02-11 14:03:21,841 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2025-02-11 14:03:21,841 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2025-02-11 14:03:21,854 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2025-02-11 14:03:21,854 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2025-02-11 14:03:21,854 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2025-02-11 14:03:21,854 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2025-02-11 14:03:21,872 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2025-02-11 14:03:21,872 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2025-02-11 14:03:21,872 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2025-02-11 14:03:21,886 844 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2025-02-11 14:03:21,886 844 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2025-02-11 14:03:21,886 844 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2025-02-11 14:03:21,903 844 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2025-02-11 14:03:21,903 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2025-02-11 14:03:21,903 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-02-11 14:03:21,917 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2025-02-11 14:03:21,917 844 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2025-02-11 14:03:21,917 844 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2025-02-11 14:03:21,917 844 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2025-02-11 14:03:21,934 844 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2025-02-11 14:03:21,934 844 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-02-11 14:03:21,934 844 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-02-11 14:03:21,949 844 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-02-11 14:03:21,949 844 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-02-11 14:03:21,949 844 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-02-11 14:03:21,965 844 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-02-11 14:03:21,965 844 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-02-11 14:03:21,965 844 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
2025-02-11 14:03:21,980 844 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
2025-02-11 14:03:21,980 844 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
2025-02-11 14:03:21,980 844 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
2025-02-11 14:03:21,995 844 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
2025-02-11 14:03:21,995 844 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
2025-02-11 14:03:21,995 844 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
2025-02-11 14:03:22,012 844 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2025-02-11 14:03:22,012 844 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2025-02-11 14:03:22,012 844 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2025-02-11 14:03:22,027 844 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2025-02-11 14:03:22,027 844 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2025-02-11 14:03:22,027 844 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2025-02-11 14:03:22,027 844 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2025-02-11 14:03:22,043 844 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2025-02-11 14:03:22,043 844 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2025-02-11 14:03:22,043 844 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
2025-02-11 14:03:22,060 844 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
2025-02-11 14:03:22,060 844 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
2025-02-11 14:03:22,060 844 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
2025-02-11 14:03:22,074 844 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
2025-02-11 14:03:22,074 844 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
2025-02-11 14:03:22,074 844 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
2025-02-11 14:03:22,091 844 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2025-02-11 14:03:22,091 844 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2025-02-11 14:03:22,091 844 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2025-02-11 14:03:22,103 844 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2025-02-11 14:03:22,103 844 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2025-02-11 14:03:22,103 844 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2025-02-11 14:03:22,103 844 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2025-02-11 14:03:22,103 844 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2025-02-11 14:03:22,122 844 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2025-02-11 14:03:22,122 844 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2025-02-11 14:03:22,122 844 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2025-02-11 14:03:22,136 844 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2025-02-11 14:03:22,136 844 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2025-02-11 14:03:22,136 844 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2025-02-11 14:03:22,152 844 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2025-02-11 14:03:22,152 844 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2025-02-11 14:03:22,152 844 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2025-02-11 14:03:22,168 844 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2025-02-11 14:03:22,168 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2025-02-11 14:03:22,168 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2025-02-11 14:03:22,185 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2025-02-11 14:03:22,185 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2025-02-11 14:03:22,198 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2025-02-11 14:03:22,198 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2025-02-11 14:03:22,198 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2025-02-11 14:03:22,198 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2025-02-11 14:03:22,215 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2025-02-11 14:03:22,215 844 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2025-02-11 14:03:22,229 844 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2025-02-11 14:03:22,229 844 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2025-02-11 14:03:22,229 844 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2025-02-11 14:03:22,249 844 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2025-02-11 14:03:22,249 844 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2025-02-11 14:03:22,260 844 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2025-02-11 14:03:22,260 844 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2025-02-11 14:03:22,260 844 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2025-02-11 14:03:22,260 844 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2025-02-11 14:03:22,276 844 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2025-02-11 14:03:22,276 844 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2025-02-11 14:03:22,276 844 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2025-02-11 14:03:22,292 844 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2025-02-11 14:03:22,292 844 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2025-02-11 14:03:22,292 844 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2025-02-11 14:03:22,308 844 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2025-02-11 14:03:22,308 844 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2025-02-11 14:03:22,308 844 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2025-02-11 14:03:22,308 844 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2025-02-11 14:03:22,325 844 [DEBUG] - ---------------------------Script Execution---------------------------
2025-02-11 14:03:22,325 844 [DEBUG] - Running 'ChocolateyScriptRunner' for cnspec v11.41.0 with packageScript 'C:\ProgramData\chocolatey\lib\cnspec\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\cnspec', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2025-02-11 14:03:22,341 844 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\cnspec\tools\chocolateyInstall.ps1'
2025-02-11 14:03:22,355 844 [DEBUG] - Running Install-ChocolateyZipPackage -unzipLocation 'C:\ProgramData\chocolatey\lib\cnspec\tools' -url64bit 'https://releases.mondoo.com/cnspec/11.41.0/cnspec_11.41.0_windows_amd64.zip' -checksumType64 'sha256' -packageName 'cnspec' -checksum64 'internal server error'
2025-02-11 14:03:22,372 844 [DEBUG] - Running Get-ChocolateyWebFile -checksum '' -checksumType '' -checksum64 'internal server error' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'cnspec' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnspec\11.41.0\cnspecInstall.zip' -url '' -url64bit 'https://releases.mondoo.com/cnspec/11.41.0/cnspec_11.41.0_windows_amd64.zip'
2025-02-11 14:03:22,387 844 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2025-02-11 14:03:22,387 844 [DEBUG] - CPU is 64 bit
2025-02-11 14:03:22,387 844 [DEBUG] - Setting url to 'https://releases.mondoo.com/cnspec/11.41.0/cnspec_11.41.0_windows_amd64.zip' and bitPackage to 64
2025-02-11 14:03:22,403 844 [DEBUG] - Running Get-WebFileName -url 'https://releases.mondoo.com/cnspec/11.41.0/cnspec_11.41.0_windows_amd64.zip' -defaultName 'cnspecInstall.zip'
2025-02-11 14:03:22,601 844 [DEBUG] - Using response url to determine file name. 'https://releases.mondoo.com/cnspec/11.41.0/cnspec_11.41.0_windows_amd64.zip'
2025-02-11 14:03:22,636 844 [DEBUG] - File name determined from url is 'cnspec_11.41.0_windows_amd64.zip'
2025-02-11 14:03:22,664 844 [DEBUG] - Running Get-WebHeaders -url 'https://releases.mondoo.com/cnspec/11.41.0/cnspec_11.41.0_windows_amd64.zip' -ErrorAction 'Stop'
2025-02-11 14:03:22,664 844 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2025-02-11 14:03:22,664 844 [DEBUG] - Request Headers:
2025-02-11 14:03:22,690 844 [DEBUG] - 'Accept':'*/*'
2025-02-11 14:03:22,695 844 [DEBUG] - 'User-Agent':'chocolatey command line'
2025-02-11 14:03:22,899 844 [DEBUG] - Response Headers:
2025-02-11 14:03:22,899 844 [DEBUG] - 'X-GUploader-UploadID':'AHMx-iF-CIWtPODSPPfSVhiCHXzGKr3STTUwY-oDiQzsDrvuxS22RKukwbLdfMfKK_6LPYMhAJfVSWI'
2025-02-11 14:03:22,899 844 [DEBUG] - 'x-goog-generation':'1739279886739138'
2025-02-11 14:03:22,899 844 [DEBUG] - 'x-goog-metageneration':'1'
2025-02-11 14:03:22,899 844 [DEBUG] - 'x-goog-stored-content-encoding':'identity'
2025-02-11 14:03:22,922 844 [DEBUG] - 'x-goog-stored-content-length':'22008131'
2025-02-11 14:03:22,931 844 [DEBUG] - 'x-goog-hash':'crc32c=UbQeOg==,md5=W46ahhctqvLXt8937HDgNQ=='
2025-02-11 14:03:22,931 844 [DEBUG] - 'x-goog-storage-class':'STANDARD'
2025-02-11 14:03:22,931 844 [DEBUG] - 'Access-Control-Allow-Origin':'*'
2025-02-11 14:03:22,950 844 [DEBUG] - 'Access-Control-Expose-Headers':'Content-Type'
2025-02-11 14:03:22,950 844 [DEBUG] - 'Age':'0'
2025-02-11 14:03:22,965 844 [DEBUG] - 'Strict-Transport-Security':'max-age=31536000; includeSubDomains'
2025-02-11 14:03:22,965 844 [DEBUG] - 'X-Frame-Options':'SAMEORIGIN'
2025-02-11 14:03:22,981 844 [DEBUG] - 'Alt-Svc':'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000'
2025-02-11 14:03:22,981 844 [DEBUG] - 'Accept-Ranges':'bytes'
2025-02-11 14:03:22,981 844 [DEBUG] - 'Content-Length':'22008131'
2025-02-11 14:03:22,997 844 [DEBUG] - 'Cache-Control':'public,max-age=3600'
2025-02-11 14:03:22,997 844 [DEBUG] - 'Content-Type':'application/zip'
2025-02-11 14:03:23,012 844 [DEBUG] - 'Date':'Tue, 11 Feb 2025 14:03:22 GMT'
2025-02-11 14:03:23,012 844 [DEBUG] - 'ETag':'"5b8e9a86172daaf2d7b7cf77ec70e035"'
2025-02-11 14:03:23,012 844 [DEBUG] - 'Last-Modified':'Tue, 11 Feb 2025 13:18:06 GMT'
2025-02-11 14:03:23,026 844 [DEBUG] - 'Server':'UploadServer'
2025-02-11 14:03:23,026 844 [INFO ] - Downloading cnspec 64 bit
from 'https://releases.mondoo.com/cnspec/11.41.0/cnspec_11.41.0_windows_amd64.zip'
2025-02-11 14:03:23,044 844 [DEBUG] - Running Get-WebFile -url 'https://releases.mondoo.com/cnspec/11.41.0/cnspec_11.41.0_windows_amd64.zip' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnspec\11.41.0\cnspec_11.41.0_windows_amd64.zip' -options 'System.Collections.Hashtable'
2025-02-11 14:03:23,044 844 [DEBUG] - Setting request timeout to 30000
2025-02-11 14:03:23,059 844 [DEBUG] - Setting read/write timeout to 2700000
2025-02-11 14:03:23,059 844 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2025-02-11 14:03:23,186 844 [DEBUG] - Downloading https://releases.mondoo.com/cnspec/11.41.0/cnspec_11.41.0_windows_amd64.zip to C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnspec\11.41.0\cnspec_11.41.0_windows_amd64.zip
2025-02-11 14:03:25,340 844 [INFO ] -
2025-02-11 14:03:25,357 844 [INFO ] - Download of cnspec_11.41.0_windows_amd64.zip (20.99 MB) completed.
2025-02-11 14:03:28,382 844 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2025-02-11 14:03:28,382 844 [DEBUG] - Verifying package provided checksum of 'internal server error' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnspec\11.41.0\cnspec_11.41.0_windows_amd64.zip'.
2025-02-11 14:03:28,382 844 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnspec\11.41.0\cnspec_11.41.0_windows_amd64.zip' -checksum 'internal server error' -checksumType 'sha256' -originalUrl 'https://releases.mondoo.com/cnspec/11.41.0/cnspec_11.41.0_windows_amd64.zip'
2025-02-11 14:03:28,382 844 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2025-02-11 14:03:28,408 844 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="internal server error" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnspec\11.41.0\cnspec_11.41.0_windows_amd64.zip"]
2025-02-11 14:03:28,745 844 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="internal server error" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnspec\11.41.0\cnspec_11.41.0_windows_amd64.zip"] exited with '1'.
2025-02-11 14:03:28,762 844 [ERROR] - ERROR: Checksum for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\cnspec\11.41.0\cnspec_11.41.0_windows_amd64.zip' did not meet 'internal server error' for checksum type 'sha256'. Consider passing the actual checksums through with --checksum --checksum64 once you validate the checksums are appropriate. A less secure option is to pass --ignore-checksums if necessary.
at Get-ChecksumValid, C:\ProgramData\chocolatey\helpers\functions\Get-CheckSumValid.ps1: line 215
at Get-ChocolateyWebFile, C:\ProgramData\chocolatey\helpers\functions\Get-ChocolateyWebFile.ps1: line 421
at Install-ChocolateyZipPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyZipPackage.ps1: line 228
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\cnspec\tools\chocolateyInstall.ps1: line 17
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 63
at <ScriptBlock>, <No file>: line 1
2025-02-11 14:03:28,780 844 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\cnspec\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '-1'.
2025-02-11 14:03:28,790 844 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2025-02-11 14:03:28,899 844 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2025-02-11 14:03:28,899 844 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\cnspec'
2025-02-11 14:03:28,899 844 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cnspec\cnspec.nupkg'
with checksum 'BE27A7596ACFB91C57C68A484A5D6A3E'
2025-02-11 14:03:28,899 844 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cnspec\cnspec.nuspec'
with checksum '6C256E0AE117E4B5B2A57FD14759EBDD'
2025-02-11 14:03:28,921 844 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\cnspec\tools\chocolateyInstall.ps1'
with checksum '00522BF4D262ADE7B308924C3893A533'
2025-02-11 14:03:28,932 844 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\cnspec.11.41.0".
2025-02-11 14:03:28,932 844 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\cnspec.11.41.0\.files'
2025-02-11 14:03:28,952 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cnspec.11.41.0\.arguments".
2025-02-11 14:03:28,961 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cnspec.11.41.0\.extra".
2025-02-11 14:03:28,961 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cnspec.11.41.0\.version".
2025-02-11 14:03:28,961 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cnspec.11.41.0\.sxs".
2025-02-11 14:03:28,961 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cnspec.11.41.0\.pin".
2025-02-11 14:03:28,961 844 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\cnspec.11.41.0\.deploymentLocation".
2025-02-11 14:03:28,983 844 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2025-02-11 14:03:28,996 844 [ERROR] - The install of cnspec was NOT successful.
2025-02-11 14:03:29,007 844 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\cnspec\tools\chocolateyInstall.ps1'.
See log for details.
2025-02-11 14:03:29,007 844 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2025-02-11 14:03:29,032 844 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\cnspec".
2025-02-11 14:03:29,032 844 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\cnspec to C:\ProgramData\chocolatey\lib-bad\cnspec\11.41.0
2025-02-11 14:03:29,040 844 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\cnspec'
to 'C:\ProgramData\chocolatey\lib-bad\cnspec\11.41.0'
2025-02-11 14:03:31,093 844 [WARN ] -
Chocolatey installed 1/2 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2025-02-11 14:03:31,103 844 [INFO ] -
2025-02-11 14:03:31,103 844 [ERROR] - Failures
2025-02-11 14:03:31,103 844 [ERROR] - - cnspec (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\cnspec\tools\chocolateyInstall.ps1'.
See log for details.
2025-02-11 14:03:31,123 844 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2025-02-11 14:03:31,123 844 [DEBUG] - Exiting with -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment