Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created December 20, 2023 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save choco-bot/0ca48562b00568c6b87a5efe0bbb0a6f to your computer and use it in GitHub Desktop.
Save choco-bot/0ca48562b00568c6b87a5efe0bbb0a6f to your computer and use it in GitHub Desktop.
wazuh-agent v4.7.1 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-2229267518-1259388820-2834677184-1000</user>
<keys>
<key installerType="Msi" displayName="Wazuh Agent" displayVersion="4.7.1">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F963F67A-C6DD-4458-925D-1CA4219B8E0C}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{F963F67A-C6DD-4458-925D-1CA4219B8E0C}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Wazuh, Inc.]]></Publisher>
<InstallDate>20231220</InstallDate>
<InstallSource><![CDATA[C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.1\]]></InstallSource>
<Language>1033</Language>
<Version>67567617</Version>
<VersionMajor>4</VersionMajor>
<VersionMinor>7</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>true</NoModify>
<NoRepair>true</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\8ffb9.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

wazuh-agent v4.7.1 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/wazuh-agent/4.7.1
  • Tested 20 Dec 2023 13:50:37 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.0.1
  • Install was successful.
  • Uninstall was successful.
<?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\wazuh-agent\wazuh-agent.nupkg" checksum="6C7FFDA1B635BEC91F3046C32F1E40EF" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec" checksum="C8A9D8AF4C76F8F61610354C05A969F8" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1" checksum="28DB587308BFA09AFB4E39D666CD52F7" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1" checksum="E64EA2365BF83508C2E5F4D2E40253BB" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1" checksum="C7DA559B5059ADC05A97BE553DB2573F" />
</files>
</fileSnapshot>
2023-12-20 13:47:39,366 5104 [DEBUG] - XmlConfiguration is now operational
2023-12-20 13:47:39,584 5104 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-12-20 13:47:39,599 5104 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-12-20 13:47:39,616 5104 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-12-20 13:47:39,631 5104 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-12-20 13:47:39,646 5104 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-12-20 13:47:39,662 5104 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-12-20 13:47:39,681 5104 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-12-20 13:47:39,699 5104 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-12-20 13:47:39,756 5104 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-12-20 13:47:39,778 5104 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-12-20 13:47:39,789 5104 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-12-20 13:47:40,871 5104 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:47:40,884 5104 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:47:40,903 5104 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:47:40,913 5104 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:47:40,963 5104 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:47:40,979 5104 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:47:40,979 5104 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:47:40,990 5104 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:47:40,990 5104 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:47:41,008 5104 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:47:41,037 5104 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-12-20 13:47:41,037 5104 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-12-20 13:47:41,037 5104 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-12-20 13:47:41,058 5104 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-12-20 13:47:41,151 5104 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-12-20 13:47:41,151 5104 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-12-20 13:47:41,170 5104 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-12-20 13:47:41,178 5104 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-12-20 13:47:41,178 5104 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-12-20 13:47:41,210 5104 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-12-20 13:47:41,225 5104 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-12-20 13:47:41,242 5104 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-12-20 13:47:41,242 5104 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-12-20 13:47:41,258 5104 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-12-20 13:47:41,258 5104 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-12-20 13:47:41,276 5104 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-12-20 13:47:41,276 5104 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-12-20 13:47:41,288 5104 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-12-20 13:47:41,288 5104 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-12-20 13:47:41,303 5104 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-12-20 13:47:41,776 5104 [INFO ] - ============================================================
2023-12-20 13:47:42,383 5104 [INFO ] - Chocolatey v2.2.2
2023-12-20 13:47:42,436 5104 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-12-20 13:47:42,476 5104 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-12-20 13:47:42,476 5104 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-12-20 13:47:42,555 5104 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install wazuh-agent --version 4.7.1 -fdvy --execution-timeout=2700 --allow-downgrade
2023-12-20 13:47:42,600 5104 [DEBUG] - Received arguments: install wazuh-agent --version 4.7.1 -fdvy --execution-timeout=2700 --allow-downgrade
2023-12-20 13:47:42,836 5104 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-12-20 13:47:42,898 5104 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-12-20 13:47:42,944 5104 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-12-20 13:47:43,373 5104 [DEBUG] - Performing validation checks.
2023-12-20 13:47:43,434 5104 [DEBUG] - Global Configuration Validation Checks:
2023-12-20 13:47:43,449 5104 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-12-20 13:47:43,482 5104 [DEBUG] - System State Validation Checks:
2023-12-20 13:47:43,493 5104 [DEBUG] - Reboot Requirement Checks:
2023-12-20 13:47:43,543 5104 [DEBUG] - - Pending Computer Rename = Checked
2023-12-20 13:47:43,556 5104 [DEBUG] - - Pending Component Based Servicing = Checked
2023-12-20 13:47:43,574 5104 [DEBUG] - - Pending Windows Auto Update = Checked
2023-12-20 13:47:43,588 5104 [DEBUG] - - Pending File Rename Operations = Ignored
2023-12-20 13:47:43,588 5104 [DEBUG] - - Pending Windows Package Installer = Checked
2023-12-20 13:47:43,607 5104 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-12-20 13:47:43,634 5104 [DEBUG] - Cache Folder Lockdown Checks:
2023-12-20 13:47:43,648 5104 [DEBUG] - - Elevated State = Checked
2023-12-20 13:47:43,648 5104 [DEBUG] - - Folder Exists = Checked
2023-12-20 13:47:43,666 5104 [DEBUG] - - Folder lockdown = Checked
2023-12-20 13:47:43,694 5104 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-12-20 13:47:43,757 5104 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-12-20 13:47:43,797 5104 [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.
2023-12-20 13:47:43,904 5104 [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'|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='wazuh-agent'|
Version='4.7.1'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='wazuh-agent'|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 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-N7987J3PHS7'|
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'|
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'|
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'|
2023-12-20 13:47:43,932 5104 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-12-20 13:47:43,991 5104 [INFO ] - Installing the following packages:
2023-12-20 13:47:44,007 5104 [INFO ] - wazuh-agent
2023-12-20 13:47:44,022 5104 [INFO ] - By installing, you accept licenses for the packages.
2023-12-20 13:47:44,037 5104 [DEBUG] - Current environment values (may contain sensitive data):
2023-12-20 13:47:44,052 5104 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-12-20 13:47:44,052 5104 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-12-20 13:47:44,069 5104 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-12-20 13:47:44,069 5104 [DEBUG] - * 'ChocolateyLastPathUpdate'='133475488643138245' ('User')
2023-12-20 13:47:44,089 5104 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-12-20 13:47:44,101 5104 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-12-20 13:47:44,101 5104 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-12-20 13:47:44,118 5104 [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')
2023-12-20 13:47:44,118 5104 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-12-20 13:47:44,133 5104 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-12-20 13:47:44,148 5104 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-12-20 13:47:44,148 5104 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-12-20 13:47:44,162 5104 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-12-20 13:47:44,162 5104 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-12-20 13:47:44,180 5104 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-12-20 13:47:44,194 5104 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2023-12-20 13:47:44,194 5104 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-12-20 13:47:44,210 5104 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2023-12-20 13:47:44,210 5104 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2023-12-20 13:47:44,225 5104 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-12-20 13:47:45,134 5104 [DEBUG] - Running list with the following filter = ''
2023-12-20 13:47:45,169 5104 [DEBUG] - --- Start of List ---
2023-12-20 13:47:45,228 5104 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-12-20 13:47:46,103 5104 [DEBUG] - chocolatey 2.2.2
2023-12-20 13:47:46,197 5104 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2023-12-20 13:47:46,226 5104 [DEBUG] - KB2919355 1.0.20160915
2023-12-20 13:47:46,273 5104 [DEBUG] - KB2919442 1.0.20160915
2023-12-20 13:47:46,290 5104 [DEBUG] - KB2999226 1.0.20181019
2023-12-20 13:47:46,305 5104 [DEBUG] - KB3035131 1.0.3
2023-12-20 13:47:46,334 5104 [DEBUG] - KB3118401 1.0.5
2023-12-20 13:47:46,383 5104 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
2023-12-20 13:47:46,398 5104 [DEBUG] - --- End of List ---
2023-12-20 13:47:46,445 5104 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2023-12-20 13:47:47,414 5104 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2023-12-20 13:47:48,651 5104 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.7.1')
2023-12-20 13:47:48,978 5104 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.7.1') 276ms
2023-12-20 13:47:49,367 5104 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2023-12-20 13:47:50,477 5104 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2023-12-20 13:47:50,511 5104 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.7.1')
2023-12-20 13:47:50,945 5104 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2023-12-20 13:47:51,007 5104 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2023-12-20 13:47:51,116 5104 [DEBUG] - Attempting to delete file "".
2023-12-20 13:47:51,194 5104 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/wazuh-agent/4.7.1
2023-12-20 13:47:51,885 5104 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/wazuh-agent/4.7.1 656ms
2023-12-20 13:47:51,976 5104 [INFO ] - [NuGet] Acquiring lock for the installation of wazuh-agent 4.7.1
2023-12-20 13:47:52,130 5104 [INFO ] - [NuGet] Acquired lock for the installation of wazuh-agent 4.7.1
2023-12-20 13:47:52,802 5104 [INFO ] - [NuGet] Installed wazuh-agent 4.7.1 from https://community.chocolatey.org/api/v2/ with content hash cSTrr7EwfterII9bENheSOpjXa6pogOY+5Evd/Iz0xtklpbx7M1rAWi03BzrcSpz2EQN1pY4lJlWhxozWJQ5Lw==.
2023-12-20 13:47:52,953 5104 [INFO ] - [NuGet] Adding package 'wazuh-agent.4.7.1' to folder 'C:\ProgramData\chocolatey\lib'
2023-12-20 13:47:53,105 5104 [INFO ] - [NuGet] Added package 'wazuh-agent.4.7.1' to folder 'C:\ProgramData\chocolatey\lib'
2023-12-20 13:47:53,152 5104 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.7.1\wazuh-agent.4.7.1.nupkg".
2023-12-20 13:47:53,185 5104 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.7.1\.nupkg.metadata".
2023-12-20 13:47:53,199 5104 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.7.1\wazuh-agent.4.7.1.nupkg.sha512".
2023-12-20 13:47:53,226 5104 [INFO ] -
wazuh-agent v4.7.1 (forced)
2023-12-20 13:47:53,396 5104 [INFO ] - wazuh-agent package files install completed. Performing other installation steps.
2023-12-20 13:47:53,522 5104 [DEBUG] - Setting installer args for wazuh-agent
2023-12-20 13:47:53,601 5104 [DEBUG] - Setting package parameters for wazuh-agent
2023-12-20 13:47:53,616 5104 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1':
2023-12-20 13:47:53,649 5104 [DEBUG] - $ErrorActionPreference = 'Stop';
$PackageParameters = Get-PackageParameters
$toolsDir = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)"
$urlPackage = 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.1-1.msi'
$checksumPackage = '6583f037a4c6c641e32de26a224f11ba699396bb9bd07485dd502aaa602e6b14c999ee4921b3101c29c214104618aff6ba3d03307c418a4888f13e9be0f71487'
Import-Module -Name "$($toolsDir)\helpers.ps1"
$args = ""
if ($PackageParameters['ApplicationFolder']) {
$args = $args + " APPLICATIONFOLDER=" + $PackageParameters['ApplicationFolder']
}
if ($PackageParameters['Manager']) {
$args = $args + " WAZUH_MANAGER=" + $PackageParameters['Manager']
}
if ($PackageParameters['ManagerPort']) {
$args = $args + " WAZUH_MANAGER_PORT=" + $PackageParameters['ManagerPort']
}
if ($PackageParameters['Protocol']) {
$args = $args + " WAZUH_PROTOCOL=" + $PackageParameters['Protocol']
}
if ($PackageParameters['RegistrationServer']) {
$args = $args + " WAZUH_REGISTRATION_SERVER=" + $PackageParameters['RegistrationServer']
}
if ($PackageParameters['RegistrationPort']) {
$args = $args + " WAZUH_REGISTRATION_SERVER=" + $PackageParameters['RegistrationPort']
}
if ($PackageParameters['RegistrationPassword']) {
$args = $args + " WAZUH_REGISTRATION_PASSWORD=" + $PackageParameters['RegistrationPassword']
}
if ($PackageParameters['KeepAliveInterval']) {
$args = $args + " WAZUH_KEEP_ALIVE_INTERVAL=" + $PackageParameters['KeepAliveInterval']
}
if ($PackageParameters['TimeReconnect']) {
$args = $args + " WAZUH_TIME_RECONNECT=" + $PackageParameters['TimeReconnect']
}
if ($PackageParameters['RegistrationCA']) {
$args = $args + " WAZUH_REGISTRATION_CA=" + $PackageParameters['RegistrationCA']
}
if ($PackageParameters['RegistrationCertificate']) {
$args = $args + " WAZUH_REGISTRATION_CERTIFICATE=" + $PackageParameters['RegistrationCertificate']
}
if ($PackageParameters['RegistrationKey']) {
$args = $args + " WAZUH_REGISTRATION_KEY=" + $PackageParameters['RegistrationKey']
}
if ($PackageParameters['AgentName']) {
$args = $args + " WAZUH_AGENT_NAME=" + $PackageParameters['AgentName']
}
if ($PackageParameters['AgentGroup']) {
$args = $args + " WAZUH_AGENT_GROUP=" + $PackageParameters['AgentGroup']
}
Write-Output $args
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'msi'
url = $urlPackage
checksum = $checksumPackage
checksumType = 'SHA512'
url64 = $urlPackage
checksum64 = $checksumPackage
checksumType64 = 'SHA512'
silentArgs = "$($args) /q"
ValidExitCodes = @(0, 1000, 1101)
}
Install-ChocolateyPackage @packageArgs
if ($PackageParameters.CleanStartmenu) {
Remove-FileItem `
-Path "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\OSSEC"
}
2023-12-20 13:47:53,710 5104 [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\wazuh-agent\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-12-20 13:47:53,725 5104 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-12-20 13:47:55,058 5104 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-12-20 13:47:55,997 5104 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-12-20 13:47:56,012 5104 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-12-20 13:47:56,026 5104 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-12-20 13:47:56,041 5104 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-12-20 13:47:56,041 5104 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-12-20 13:47:56,054 5104 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-12-20 13:47:56,070 5104 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-12-20 13:47:56,084 5104 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-12-20 13:47:56,084 5104 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-12-20 13:47:56,101 5104 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-12-20 13:47:56,132 5104 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-12-20 13:47:56,147 5104 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-12-20 13:47:56,147 5104 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-12-20 13:47:56,172 5104 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-12-20 13:47:56,178 5104 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-12-20 13:47:56,194 5104 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-12-20 13:47:56,194 5104 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-12-20 13:47:56,211 5104 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-12-20 13:47:56,211 5104 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-12-20 13:47:56,235 5104 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-12-20 13:47:56,240 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-12-20 13:47:56,258 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-12-20 13:47:56,258 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-12-20 13:47:56,273 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-12-20 13:47:56,273 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-12-20 13:47:56,291 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-12-20 13:47:56,305 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-12-20 13:47:56,386 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-12-20 13:47:56,413 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-12-20 13:47:56,431 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-12-20 13:47:56,445 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-12-20 13:47:56,445 5104 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-12-20 13:47:56,445 5104 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-12-20 13:47:56,479 5104 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-12-20 13:47:56,492 5104 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-12-20 13:47:56,492 5104 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-12-20 13:47:56,518 5104 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-12-20 13:47:56,538 5104 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-12-20 13:47:56,538 5104 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-12-20 13:47:56,558 5104 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-12-20 13:47:56,558 5104 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-12-20 13:47:56,573 5104 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-12-20 13:47:56,605 5104 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-12-20 13:47:56,605 5104 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-12-20 13:47:56,619 5104 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-12-20 13:47:56,634 5104 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-12-20 13:47:56,634 5104 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-12-20 13:47:56,648 5104 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-12-20 13:47:56,664 5104 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-12-20 13:47:56,678 5104 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-12-20 13:47:56,693 5104 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-12-20 13:47:56,740 5104 [DEBUG] - Loading community extensions
2023-12-20 13:47:56,886 5104 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-12-20 13:47:56,898 5104 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-12-20 13:47:57,119 5104 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-12-20 13:47:57,147 5104 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-12-20 13:47:57,181 5104 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-12-20 13:47:57,210 5104 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-12-20 13:47:57,231 5104 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-12-20 13:47:57,249 5104 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-12-20 13:47:57,260 5104 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-12-20 13:47:57,273 5104 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-12-20 13:47:57,273 5104 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-12-20 13:47:57,294 5104 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-12-20 13:47:57,305 5104 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-12-20 13:47:57,320 5104 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-12-20 13:47:57,320 5104 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-12-20 13:47:57,336 5104 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-12-20 13:47:57,351 5104 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-12-20 13:47:57,372 5104 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-12-20 13:47:57,382 5104 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-12-20 13:47:57,382 5104 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-12-20 13:47:57,397 5104 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-12-20 13:47:57,412 5104 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-12-20 13:47:57,412 5104 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-12-20 13:47:57,429 5104 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-12-20 13:47:57,429 5104 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-12-20 13:47:57,445 5104 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-12-20 13:47:57,460 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-12-20 13:47:57,460 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-12-20 13:47:57,475 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-12-20 13:47:57,475 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-12-20 13:47:57,493 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-12-20 13:47:57,508 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-12-20 13:47:57,508 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-12-20 13:47:57,524 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-12-20 13:47:57,539 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-12-20 13:47:57,539 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-12-20 13:47:57,554 5104 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-12-20 13:47:57,569 5104 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-12-20 13:47:57,586 5104 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-12-20 13:47:57,617 5104 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-12-20 13:47:57,633 5104 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-12-20 13:47:57,633 5104 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-12-20 13:47:57,655 5104 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-12-20 13:47:57,730 5104 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-12-20 13:47:57,773 5104 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-12-20 13:47:57,806 5104 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-12-20 13:47:57,825 5104 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-12-20 13:47:57,837 5104 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-12-20 13:47:57,837 5104 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-12-20 13:47:57,861 5104 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-12-20 13:47:57,870 5104 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-12-20 13:47:57,885 5104 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-12-20 13:47:57,885 5104 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-12-20 13:47:57,901 5104 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-12-20 13:47:57,913 5104 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-12-20 13:47:57,929 5104 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-12-20 13:47:57,929 5104 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-12-20 13:47:57,946 5104 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-12-20 13:47:57,960 5104 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-12-20 13:47:57,960 5104 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-12-20 13:47:57,993 5104 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-12-20 13:47:57,993 5104 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-12-20 13:47:58,013 5104 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-12-20 13:47:58,023 5104 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-12-20 13:47:58,023 5104 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-12-20 13:47:58,043 5104 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-12-20 13:47:58,046 5104 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-12-20 13:47:58,055 5104 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-12-20 13:47:58,070 5104 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-12-20 13:47:58,085 5104 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-12-20 13:47:58,085 5104 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-12-20 13:47:58,104 5104 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-12-20 13:47:58,118 5104 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-12-20 13:47:58,131 5104 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-12-20 13:47:58,131 5104 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-12-20 13:47:58,151 5104 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-12-20 13:47:58,163 5104 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-12-20 13:47:58,163 5104 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-12-20 13:47:58,181 5104 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-12-20 13:47:58,193 5104 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-12-20 13:47:58,193 5104 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-12-20 13:47:58,211 5104 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-12-20 13:47:58,228 5104 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-12-20 13:47:58,241 5104 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-12-20 13:47:58,241 5104 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-12-20 13:47:58,274 5104 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-12-20 13:47:58,274 5104 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-12-20 13:47:58,291 5104 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-12-20 13:47:58,291 5104 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-12-20 13:47:58,320 5104 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-12-20 13:47:58,320 5104 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-12-20 13:47:58,337 5104 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-12-20 13:47:58,337 5104 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-12-20 13:47:58,353 5104 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-12-20 13:47:58,368 5104 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-12-20 13:47:58,368 5104 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-12-20 13:47:58,381 5104 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-12-20 13:47:58,398 5104 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-12-20 13:47:58,398 5104 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-12-20 13:47:58,414 5104 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-12-20 13:47:58,428 5104 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-12-20 13:47:58,428 5104 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-12-20 13:47:58,443 5104 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-12-20 13:47:58,443 5104 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-12-20 13:47:58,459 5104 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-12-20 13:47:58,459 5104 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-12-20 13:47:58,476 5104 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-12-20 13:47:58,492 5104 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-12-20 13:47:58,507 5104 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-12-20 13:47:58,524 5104 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-12-20 13:47:58,540 5104 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-12-20 13:47:58,556 5104 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-12-20 13:47:58,808 5104 [DEBUG] - ---------------------------Script Execution---------------------------
2023-12-20 13:47:58,881 5104 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.7.1 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-12-20 13:47:58,980 5104 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
2023-12-20 13:47:59,229 5104 [DEBUG] - Running Get-PackageParameters
2023-12-20 13:47:59,276 5104 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2023-12-20 13:47:59,414 5104 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
2023-12-20 13:47:59,452 5104 [INFO ] - VERBOSE: Dot-sourcing the script file 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
2023-12-20 13:47:59,492 5104 [INFO ] -
2023-12-20 13:47:59,773 5104 [DEBUG] - Running Install-ChocolateyPackage -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.1-1.msi' -checksum '6583f037a4c6c641e32de26a224f11ba699396bb9bd07485dd502aaa602e6b14c999ee4921b3101c29c214104618aff6ba3d03307c418a4888f13e9be0f71487' -checksum64 '6583f037a4c6c641e32de26a224f11ba699396bb9bd07485dd502aaa602e6b14c999ee4921b3101c29c214104618aff6ba3d03307c418a4888f13e9be0f71487' -silentArgs ' /q' -packageName 'wazuh-agent' -checksumType 'SHA512' -fileType 'msi' -validExitCodes '0 1000 1101' -checksumType64 'SHA512' -url64bit 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.1-1.msi'
2023-12-20 13:48:00,059 5104 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'wazuh-agent' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.1\wazuh-agentInstall.msi' -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.1-1.msi' -url64bit 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.1-1.msi' -checksum '6583f037a4c6c641e32de26a224f11ba699396bb9bd07485dd502aaa602e6b14c999ee4921b3101c29c214104618aff6ba3d03307c418a4888f13e9be0f71487' -checksumType 'SHA512' -checksum64 '6583f037a4c6c641e32de26a224f11ba699396bb9bd07485dd502aaa602e6b14c999ee4921b3101c29c214104618aff6ba3d03307c418a4888f13e9be0f71487' -checksumType64 'SHA512' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2023-12-20 13:48:00,195 5104 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-12-20 13:48:00,326 5104 [DEBUG] - CPU is 64 bit
2023-12-20 13:48:00,380 5104 [DEBUG] - Setting url to 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.1-1.msi' and bitPackage to 64
2023-12-20 13:48:00,556 5104 [DEBUG] - Running Get-WebFileName -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.1-1.msi' -defaultName 'wazuh-agentInstall.msi'
2023-12-20 13:48:01,876 5104 [DEBUG] - Using response url to determine file name. 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.1-1.msi'
2023-12-20 13:48:01,945 5104 [DEBUG] - File name determined from url is 'wazuh-agent-4.7.1-1.msi'
2023-12-20 13:48:02,056 5104 [DEBUG] - Running Get-WebHeaders -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.1-1.msi' -ErrorAction 'Stop'
2023-12-20 13:48:02,104 5104 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-12-20 13:48:02,133 5104 [DEBUG] - Request Headers:
2023-12-20 13:48:02,164 5104 [DEBUG] - 'Accept':'*/*'
2023-12-20 13:48:02,197 5104 [DEBUG] - 'User-Agent':'chocolatey command line'
2023-12-20 13:48:02,633 5104 [DEBUG] - Response Headers:
2023-12-20 13:48:02,664 5104 [DEBUG] - 'Connection':'keep-alive'
2023-12-20 13:48:02,694 5104 [DEBUG] - 'x-amz-server-side-encryption':'AES256'
2023-12-20 13:48:02,741 5104 [DEBUG] - 'x-amz-version-id':'zycCtIMcwEfs8S7euo.V4o04tnEGBv3n'
2023-12-20 13:48:02,768 5104 [DEBUG] - 'X-Cache':'Miss from cloudfront'
2023-12-20 13:48:02,840 5104 [DEBUG] - 'X-Amz-Cf-Pop':'MCI50-P1'
2023-12-20 13:48:02,871 5104 [DEBUG] - 'X-Amz-Cf-Id':'I_X1ArJOBEaq6_TMTJe7fHnBI-yGLvTK6ijICSDeibFLSHZhm81Z4w=='
2023-12-20 13:48:02,881 5104 [DEBUG] - 'Accept-Ranges':'bytes'
2023-12-20 13:48:02,881 5104 [DEBUG] - 'Content-Length':'6524928'
2023-12-20 13:48:02,929 5104 [DEBUG] - 'Content-Type':'binary/octet-stream'
2023-12-20 13:48:02,943 5104 [DEBUG] - 'Date':'Wed, 20 Dec 2023 13:48:03 GMT'
2023-12-20 13:48:02,959 5104 [DEBUG] - 'ETag':'"f471736b368f9a892f2f1836d4327680"'
2023-12-20 13:48:02,959 5104 [DEBUG] - 'Last-Modified':'Wed, 20 Dec 2023 13:01:31 GMT'
2023-12-20 13:48:02,980 5104 [DEBUG] - 'Server':'AmazonS3'
2023-12-20 13:48:02,992 5104 [DEBUG] - 'Via':'1.1 a32c95e360d4eb0b33f08b3a74cb0984.cloudfront.net (CloudFront)'
2023-12-20 13:48:03,038 5104 [INFO ] - Downloading wazuh-agent 64 bit
from 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.1-1.msi'
2023-12-20 13:48:03,215 5104 [DEBUG] - Running Get-WebFile -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.1-1.msi' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.1\wazuh-agent-4.7.1-1.msi' -options 'System.Collections.Hashtable'
2023-12-20 13:48:03,274 5104 [DEBUG] - Setting request timeout to 30000
2023-12-20 13:48:03,287 5104 [DEBUG] - Setting read/write timeout to 2700000
2023-12-20 13:48:03,319 5104 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-12-20 13:48:04,179 5104 [DEBUG] - Downloading https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.1-1.msi to C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.1\wazuh-agent-4.7.1-1.msi
2023-12-20 13:48:05,513 5104 [INFO ] -
2023-12-20 13:48:05,553 5104 [INFO ] - Download of wazuh-agent-4.7.1-1.msi (6.22 MB) completed.
2023-12-20 13:48:08,778 5104 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-12-20 13:48:08,820 5104 [DEBUG] - Verifying package provided checksum of '6583f037a4c6c641e32de26a224f11ba699396bb9bd07485dd502aaa602e6b14c999ee4921b3101c29c214104618aff6ba3d03307c418a4888f13e9be0f71487' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.1\wazuh-agent-4.7.1-1.msi'.
2023-12-20 13:48:08,955 5104 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.1\wazuh-agent-4.7.1-1.msi' -checksum '6583f037a4c6c641e32de26a224f11ba699396bb9bd07485dd502aaa602e6b14c999ee4921b3101c29c214104618aff6ba3d03307c418a4888f13e9be0f71487' -checksumType 'SHA512' -originalUrl 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.7.1-1.msi'
2023-12-20 13:48:09,008 5104 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-12-20 13:48:09,008 5104 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="6583f037a4c6c641e32de26a224f11ba699396bb9bd07485dd502aaa602e6b14c999ee4921b3101c29c214104618aff6ba3d03307c418a4888f13e9be0f71487" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.1\wazuh-agent-4.7.1-1.msi"]
2023-12-20 13:48:12,461 5104 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="6583f037a4c6c641e32de26a224f11ba699396bb9bd07485dd502aaa602e6b14c999ee4921b3101c29c214104618aff6ba3d03307c418a4888f13e9be0f71487" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.1\wazuh-agent-4.7.1-1.msi"] exited with '0'.
2023-12-20 13:48:12,618 5104 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'wazuh-agent' -fileType 'msi' -silentArgs ' /q' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.1\wazuh-agent-4.7.1-1.msi' -validExitCodes '0 1000 1101' -useOnlyPackageSilentArguments 'False'
2023-12-20 13:48:12,650 5104 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-12-20 13:48:12,700 5104 [INFO ] - Installing wazuh-agent...
2023-12-20 13:48:12,980 5104 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1000 1101' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.1' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.1\wazuh-agent-4.7.1-1.msi" /q ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-12-20 13:48:13,194 5104 [DEBUG] - Test-ProcessAdminRights: returning True
2023-12-20 13:48:13,288 5104 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.1\wazuh-agent-4.7.1-1.msi" /q ]. This may take a while, depending on the statements.
2023-12-20 13:49:11,224 5104 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.1\wazuh-agent-4.7.1-1.msi" /q ] exited with '0'.
2023-12-20 13:49:11,646 5104 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-12-20 13:49:11,731 5104 [INFO ] - wazuh-agent has been installed.
2023-12-20 13:49:11,786 5104 [DEBUG] - ----------------------------------------------------------------------
2023-12-20 13:49:11,868 5104 [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\wazuh-agent\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-12-20 13:49:11,923 5104 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-12-20 13:49:12,349 5104 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-12-20 13:49:12,434 5104 [INFO ] - wazuh-agent may be able to be automatically uninstalled.
2023-12-20 13:49:12,724 5104 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
2023-12-20 13:49:12,765 5104 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum '6C7FFDA1B635BEC91F3046C32F1E40EF'
2023-12-20 13:49:12,795 5104 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum 'C8A9D8AF4C76F8F61610354C05A969F8'
2023-12-20 13:49:12,818 5104 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum '28DB587308BFA09AFB4E39D666CD52F7'
2023-12-20 13:49:12,818 5104 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2023-12-20 13:49:12,818 5104 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2023-12-20 13:49:12,953 5104 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.1".
2023-12-20 13:49:13,108 5104 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.1\.registry'
2023-12-20 13:49:13,228 5104 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.1\.files'
2023-12-20 13:49:13,368 5104 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.1\.extra".
2023-12-20 13:49:13,396 5104 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.1\.version".
2023-12-20 13:49:13,422 5104 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.1\.sxs".
2023-12-20 13:49:13,429 5104 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.7.1\.pin".
2023-12-20 13:49:13,459 5104 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-12-20 13:49:13,474 5104 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\.chocolateyPending".
2023-12-20 13:49:13,506 5104 [INFO ] - The install of wazuh-agent was successful.
2023-12-20 13:49:13,526 5104 [INFO ] - Software installed as 'msi', install location is likely default.
2023-12-20 13:49:13,600 5104 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-12-20 13:49:13,655 5104 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-12-20 13:49:13,695 5104 [DEBUG] - Exiting with 0
2023-12-20 13:49:39,446 4592 [DEBUG] - XmlConfiguration is now operational
2023-12-20 13:49:39,650 4592 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-12-20 13:49:39,662 4592 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-12-20 13:49:39,678 4592 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-12-20 13:49:39,716 4592 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-12-20 13:49:39,731 4592 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-12-20 13:49:39,794 4592 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-12-20 13:49:39,838 4592 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-12-20 13:49:39,851 4592 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-12-20 13:49:39,900 4592 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-12-20 13:49:39,913 4592 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-12-20 13:49:39,946 4592 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-12-20 13:49:41,115 4592 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:49:41,154 4592 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:49:41,181 4592 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:49:41,195 4592 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:49:41,211 4592 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:49:41,243 4592 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:49:41,263 4592 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:49:41,263 4592 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:49:41,291 4592 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:49:41,291 4592 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-12-20 13:49:41,335 4592 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-12-20 13:49:41,350 4592 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-12-20 13:49:41,367 4592 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-12-20 13:49:41,386 4592 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-12-20 13:49:41,403 4592 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-12-20 13:49:41,414 4592 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-12-20 13:49:41,414 4592 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-12-20 13:49:41,436 4592 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-12-20 13:49:41,449 4592 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-12-20 13:49:41,449 4592 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-12-20 13:49:41,476 4592 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-12-20 13:49:41,494 4592 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-12-20 13:49:41,511 4592 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-12-20 13:49:41,511 4592 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-12-20 13:49:41,527 4592 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-12-20 13:49:41,527 4592 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-12-20 13:49:41,538 4592 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-12-20 13:49:41,538 4592 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-12-20 13:49:41,538 4592 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-12-20 13:49:41,555 4592 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-12-20 13:49:41,898 4592 [INFO ] - ============================================================
2023-12-20 13:49:42,493 4592 [INFO ] - Chocolatey v2.2.2
2023-12-20 13:49:42,553 4592 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-12-20 13:49:42,578 4592 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-12-20 13:49:42,588 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-12-20 13:49:42,617 4592 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall wazuh-agent --version 4.7.1 -dvy --execution-timeout=2700
2023-12-20 13:49:42,617 4592 [DEBUG] - Received arguments: uninstall wazuh-agent --version 4.7.1 -dvy --execution-timeout=2700
2023-12-20 13:49:42,851 4592 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-12-20 13:49:42,979 4592 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-12-20 13:49:43,053 4592 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-12-20 13:49:43,288 4592 [DEBUG] - Performing validation checks.
2023-12-20 13:49:43,337 4592 [DEBUG] - Global Configuration Validation Checks:
2023-12-20 13:49:43,354 4592 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-12-20 13:49:43,413 4592 [DEBUG] - System State Validation Checks:
2023-12-20 13:49:43,446 4592 [DEBUG] - Reboot Requirement Checks:
2023-12-20 13:49:43,460 4592 [DEBUG] - - Pending Computer Rename = Checked
2023-12-20 13:49:43,476 4592 [DEBUG] - - Pending Component Based Servicing = Checked
2023-12-20 13:49:43,491 4592 [DEBUG] - - Pending Windows Auto Update = Checked
2023-12-20 13:49:43,511 4592 [DEBUG] - - Pending File Rename Operations = Ignored
2023-12-20 13:49:43,521 4592 [DEBUG] - - Pending Windows Package Installer = Checked
2023-12-20 13:49:43,536 4592 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-12-20 13:49:43,553 4592 [DEBUG] - Cache Folder Lockdown Checks:
2023-12-20 13:49:43,553 4592 [DEBUG] - - Elevated State = Checked
2023-12-20 13:49:43,569 4592 [DEBUG] - - Folder Exists = Checked
2023-12-20 13:49:43,585 4592 [DEBUG] - - Folder lockdown = Checked
2023-12-20 13:49:43,615 4592 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-12-20 13:49:43,664 4592 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-12-20 13:49:43,679 4592 [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.
2023-12-20 13:49:43,804 4592 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|Debug='True'|Verbose='True'|
Trace='False'|Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='wazuh-agent'|
Version='4.7.1'|AllVersions='False'|SkipPackageInstallProvider='False'|
SkipHookScripts='False'|PackageNames='wazuh-agent'|Prerelease='False'|
ForceX86='False'|OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-N7987J3PHS7'|
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'|
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'|
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'|
2023-12-20 13:49:43,853 4592 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-12-20 13:49:43,901 4592 [INFO ] - Uninstalling the following packages:
2023-12-20 13:49:43,914 4592 [INFO ] - wazuh-agent
2023-12-20 13:49:43,928 4592 [DEBUG] - Current environment values (may contain sensitive data):
2023-12-20 13:49:43,960 4592 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-12-20 13:49:43,960 4592 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-12-20 13:49:43,977 4592 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-12-20 13:49:43,977 4592 [DEBUG] - * 'ChocolateyLastPathUpdate'='133475488643138245' ('User')
2023-12-20 13:49:43,991 4592 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-12-20 13:49:43,991 4592 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-12-20 13:49:44,007 4592 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-12-20 13:49:44,023 4592 [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')
2023-12-20 13:49:44,023 4592 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-12-20 13:49:44,023 4592 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-12-20 13:49:44,038 4592 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-12-20 13:49:44,038 4592 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-12-20 13:49:44,053 4592 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-12-20 13:49:44,053 4592 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-12-20 13:49:44,069 4592 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-12-20 13:49:44,069 4592 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2023-12-20 13:49:44,069 4592 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-12-20 13:49:44,088 4592 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2023-12-20 13:49:44,101 4592 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2023-12-20 13:49:44,101 4592 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-12-20 13:49:44,382 4592 [DEBUG] - Running list with the following filter = ''
2023-12-20 13:49:44,414 4592 [DEBUG] - --- Start of List ---
2023-12-20 13:49:44,905 4592 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-12-20 13:49:45,792 4592 [DEBUG] - chocolatey 2.2.2
2023-12-20 13:49:45,836 4592 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2023-12-20 13:49:45,857 4592 [DEBUG] - KB2919355 1.0.20160915
2023-12-20 13:49:45,900 4592 [DEBUG] - KB2919442 1.0.20160915
2023-12-20 13:49:45,914 4592 [DEBUG] - KB2999226 1.0.20181019
2023-12-20 13:49:45,929 4592 [DEBUG] - KB3035131 1.0.3
2023-12-20 13:49:45,960 4592 [DEBUG] - KB3118401 1.0.5
2023-12-20 13:49:45,977 4592 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
2023-12-20 13:49:46,306 4592 [DEBUG] - wazuh-agent 4.7.1
2023-12-20 13:49:46,340 4592 [DEBUG] - --- End of List ---
2023-12-20 13:49:46,382 4592 [DEBUG] - Running list with the following filter = ''
2023-12-20 13:49:46,413 4592 [DEBUG] - --- Start of List ---
2023-12-20 13:49:46,482 4592 [DEBUG] - chocolatey 2.2.2
2023-12-20 13:49:46,546 4592 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2023-12-20 13:49:46,601 4592 [DEBUG] - KB2919355 1.0.20160915
2023-12-20 13:49:46,651 4592 [DEBUG] - KB2919442 1.0.20160915
2023-12-20 13:49:46,663 4592 [DEBUG] - KB2999226 1.0.20181019
2023-12-20 13:49:46,680 4592 [DEBUG] - KB3035131 1.0.3
2023-12-20 13:49:46,700 4592 [DEBUG] - KB3118401 1.0.5
2023-12-20 13:49:46,725 4592 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
2023-12-20 13:49:46,789 4592 [DEBUG] - wazuh-agent 4.7.1
2023-12-20 13:49:46,805 4592 [DEBUG] - --- End of List ---
2023-12-20 13:49:46,928 4592 [DEBUG] - Running list with the following filter = ''
2023-12-20 13:49:46,944 4592 [DEBUG] - --- Start of List ---
2023-12-20 13:49:47,022 4592 [DEBUG] - chocolatey 2.2.2
2023-12-20 13:49:47,056 4592 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2023-12-20 13:49:47,086 4592 [DEBUG] - KB2919355 1.0.20160915
2023-12-20 13:49:47,116 4592 [DEBUG] - KB2919442 1.0.20160915
2023-12-20 13:49:47,147 4592 [DEBUG] - KB2999226 1.0.20181019
2023-12-20 13:49:47,163 4592 [DEBUG] - KB3035131 1.0.3
2023-12-20 13:49:47,181 4592 [DEBUG] - KB3118401 1.0.5
2023-12-20 13:49:47,212 4592 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.12
2023-12-20 13:49:47,273 4592 [DEBUG] - wazuh-agent 4.7.1
2023-12-20 13:49:47,291 4592 [DEBUG] - --- End of List ---
2023-12-20 13:49:47,428 4592 [INFO ] -
wazuh-agent v4.7.1
2023-12-20 13:49:47,524 4592 [DEBUG] - Running beforeModify step for 'wazuh-agent'
2023-12-20 13:49:47,587 4592 [DEBUG] - Backing up package files for 'wazuh-agent'
2023-12-20 13:49:47,792 4592 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent".
2023-12-20 13:49:47,806 4592 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\wazuh-agent to C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.1
2023-12-20 13:49:47,825 4592 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\wazuh-agent'
to 'C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.1'
2023-12-20 13:49:49,904 4592 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\wazuh-agent".
2023-12-20 13:49:49,935 4592 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.1\wazuh-agent.nupkg"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg".
2023-12-20 13:49:49,961 4592 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.1\wazuh-agent.nuspec"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec".
2023-12-20 13:49:49,982 4592 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\wazuh-agent\tools".
2023-12-20 13:49:49,996 4592 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.1\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1".
2023-12-20 13:49:50,006 4592 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.1\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1".
2023-12-20 13:49:50,006 4592 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.7.1\tools\helpers.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1".
2023-12-20 13:49:51,560 4592 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
2023-12-20 13:49:51,587 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum '6C7FFDA1B635BEC91F3046C32F1E40EF'
2023-12-20 13:49:51,619 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum 'C8A9D8AF4C76F8F61610354C05A969F8'
2023-12-20 13:49:51,632 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum '28DB587308BFA09AFB4E39D666CD52F7'
2023-12-20 13:49:51,648 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2023-12-20 13:49:51,648 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2023-12-20 13:49:51,716 4592 [DEBUG] - Setting installer args for wazuh-agent
2023-12-20 13:49:51,741 4592 [DEBUG] - Setting package parameters for wazuh-agent
2023-12-20 13:49:51,774 4592 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1':
2023-12-20 13:49:51,823 4592 [DEBUG] - $ErrorActionPreference = 'Stop';
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = ''
fileType = ''
silentArgs = ''
validExitCodes = @(0, 3010, 1605, 1614, 1641)
}
if ($key.Count -eq 1) {
$key | ForEach-Object {
$packageArgs['file'] = "$($_.UninstallString)"
if ($packageArgs['fileType'] -eq 'MSI') {
$packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
$packageArgs['file'] = ''
}
Uninstall-ChocolateyPackage @packageArgs
}
} elseif ($key.Count -eq 0) {
Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
Write-Warning "$($key.Count) matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert package maintainer the following keys were matched:"
$key | ForEach-Object {Write-Warning "- $($_.DisplayName)"}
}
# Custom settings from package
## Remove files and folders
if (Get-Item -Path "<Path>" -ErrorAction SilentlyContinue) {
Remove-Item `
-Path "<Path>" `
-Recurse
Write-Output `
-InputObject "Remove Shortcut <Path>"
}
2023-12-20 13:49:51,900 4592 [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\wazuh-agent\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2023-12-20 13:49:51,931 4592 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-12-20 13:49:53,318 4592 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-12-20 13:49:54,195 4592 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-12-20 13:49:54,195 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-12-20 13:49:54,215 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-12-20 13:49:54,228 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-12-20 13:49:54,244 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-12-20 13:49:54,260 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-12-20 13:49:54,272 4592 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-12-20 13:49:54,272 4592 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-12-20 13:49:54,305 4592 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-12-20 13:49:54,320 4592 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-12-20 13:49:54,342 4592 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-12-20 13:49:54,351 4592 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-12-20 13:49:54,369 4592 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-12-20 13:49:54,369 4592 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-12-20 13:49:54,398 4592 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-12-20 13:49:54,398 4592 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-12-20 13:49:54,429 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-12-20 13:49:54,449 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-12-20 13:49:54,463 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-12-20 13:49:54,463 4592 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-12-20 13:49:54,480 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-12-20 13:49:54,491 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-12-20 13:49:54,491 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-12-20 13:49:54,506 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-12-20 13:49:54,506 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-12-20 13:49:54,526 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-12-20 13:49:54,526 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-12-20 13:49:54,554 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-12-20 13:49:54,569 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-12-20 13:49:54,585 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-12-20 13:49:54,602 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-12-20 13:49:54,632 4592 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-12-20 13:49:54,632 4592 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-12-20 13:49:54,648 4592 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-12-20 13:49:54,681 4592 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-12-20 13:49:54,681 4592 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-12-20 13:49:54,711 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-12-20 13:49:54,725 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-12-20 13:49:54,821 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-12-20 13:49:54,836 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-12-20 13:49:54,866 4592 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-12-20 13:49:54,887 4592 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-12-20 13:49:54,914 4592 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-12-20 13:49:54,914 4592 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-12-20 13:49:54,945 4592 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-12-20 13:49:54,961 4592 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-12-20 13:49:54,961 4592 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-12-20 13:49:54,976 4592 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-12-20 13:49:54,976 4592 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-12-20 13:49:55,010 4592 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-12-20 13:49:55,024 4592 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-12-20 13:49:55,071 4592 [DEBUG] - Loading community extensions
2023-12-20 13:49:55,162 4592 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-12-20 13:49:55,193 4592 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-12-20 13:49:55,398 4592 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-12-20 13:49:55,398 4592 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-12-20 13:49:55,448 4592 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-12-20 13:49:55,476 4592 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-12-20 13:49:55,491 4592 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-12-20 13:49:55,524 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-12-20 13:49:55,537 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-12-20 13:49:55,537 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-12-20 13:49:55,558 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-12-20 13:49:55,558 4592 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-12-20 13:49:55,575 4592 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-12-20 13:49:55,586 4592 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-12-20 13:49:55,586 4592 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-12-20 13:49:55,586 4592 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-12-20 13:49:55,609 4592 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-12-20 13:49:55,619 4592 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-12-20 13:49:55,634 4592 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-12-20 13:49:55,634 4592 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-12-20 13:49:55,648 4592 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-12-20 13:49:55,664 4592 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-12-20 13:49:55,680 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-12-20 13:49:55,702 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-12-20 13:49:55,710 4592 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-12-20 13:49:55,724 4592 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-12-20 13:49:55,724 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-12-20 13:49:55,740 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-12-20 13:49:55,740 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-12-20 13:49:55,766 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-12-20 13:49:55,773 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-12-20 13:49:55,773 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-12-20 13:49:55,796 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-12-20 13:49:55,818 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-12-20 13:49:55,835 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-12-20 13:49:55,835 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-12-20 13:49:55,853 4592 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-12-20 13:49:55,853 4592 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-12-20 13:49:55,869 4592 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-12-20 13:49:55,882 4592 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-12-20 13:49:55,882 4592 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-12-20 13:49:55,913 4592 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-12-20 13:49:55,913 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-12-20 13:49:55,928 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-12-20 13:49:55,928 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-12-20 13:49:55,950 4592 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-12-20 13:49:55,961 4592 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-12-20 13:49:55,961 4592 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-12-20 13:49:55,961 4592 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-12-20 13:49:55,981 4592 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-12-20 13:49:55,991 4592 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-12-20 13:49:55,991 4592 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-12-20 13:49:56,010 4592 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-12-20 13:49:56,010 4592 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-12-20 13:49:56,024 4592 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-12-20 13:49:56,037 4592 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-12-20 13:49:56,052 4592 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-12-20 13:49:56,069 4592 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-12-20 13:49:56,087 4592 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-12-20 13:49:56,103 4592 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-12-20 13:49:56,123 4592 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-12-20 13:49:56,133 4592 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-12-20 13:49:56,147 4592 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-12-20 13:49:56,162 4592 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-12-20 13:49:56,195 4592 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-12-20 13:49:56,226 4592 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-12-20 13:49:56,261 4592 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-12-20 13:49:56,273 4592 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-12-20 13:49:56,288 4592 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-12-20 13:49:56,288 4592 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-12-20 13:49:56,308 4592 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-12-20 13:49:56,308 4592 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-12-20 13:49:56,321 4592 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-12-20 13:49:56,321 4592 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-12-20 13:49:56,338 4592 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-12-20 13:49:56,350 4592 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-12-20 13:49:56,368 4592 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-12-20 13:49:56,368 4592 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-12-20 13:49:56,384 4592 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-12-20 13:49:56,397 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-12-20 13:49:56,414 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-12-20 13:49:56,429 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-12-20 13:49:56,446 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-12-20 13:49:56,461 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-12-20 13:49:56,478 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-12-20 13:49:56,478 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-12-20 13:49:56,500 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-12-20 13:49:56,507 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-12-20 13:49:56,523 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-12-20 13:49:56,541 4592 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-12-20 13:49:56,553 4592 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-12-20 13:49:56,553 4592 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-12-20 13:49:56,571 4592 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-12-20 13:49:56,571 4592 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-12-20 13:49:56,605 4592 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-12-20 13:49:56,616 4592 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-12-20 13:49:56,616 4592 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-12-20 13:49:56,638 4592 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-12-20 13:49:56,650 4592 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-12-20 13:49:56,650 4592 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-12-20 13:49:56,667 4592 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-12-20 13:49:56,683 4592 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-12-20 13:49:56,683 4592 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-12-20 13:49:56,699 4592 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-12-20 13:49:56,711 4592 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-12-20 13:49:56,727 4592 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-12-20 13:49:56,756 4592 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-12-20 13:49:56,787 4592 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-12-20 13:49:56,806 4592 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-12-20 13:49:56,806 4592 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-12-20 13:49:56,827 4592 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-12-20 13:49:56,838 4592 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-12-20 13:49:57,039 4592 [DEBUG] - ---------------------------Script Execution---------------------------
2023-12-20 13:49:57,087 4592 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.7.1 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-12-20 13:49:57,184 4592 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
2023-12-20 13:49:57,275 4592 [WARN ] - WARNING: wazuh-agent has already been uninstalled by other means.
2023-12-20 13:49:57,337 4592 [DEBUG] - ----------------------------------------------------------------------
2023-12-20 13:49:57,398 4592 [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\wazuh-agent\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2023-12-20 13:49:57,512 4592 [INFO ] - Running auto uninstaller...
2023-12-20 13:49:57,575 4592 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-12-20 13:49:59,669 4592 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{F963F67A-C6DD-4458-925D-1CA4219B8E0C}' for 'Wazuh Agent'
2023-12-20 13:49:59,772 4592 [DEBUG] - Uninstaller path is 'MsiExec.exe'
2023-12-20 13:49:59,809 4592 [DEBUG] - Installer type is 'MsiInstaller'
2023-12-20 13:49:59,835 4592 [DEBUG] - Setting up uninstall logging directory at C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.7.1
2023-12-20 13:49:59,867 4592 [DEBUG] - Args are '/X{F963F67A-C6DD-4458-925D-1CA4219B8E0C} /qn /norestart'
2023-12-20 13:49:59,881 4592 [DEBUG] - Calling command ['"MsiExec.exe" /X{F963F67A-C6DD-4458-925D-1CA4219B8E0C} /qn /norestart']
2023-12-20 13:50:35,663 4592 [DEBUG] - Command ['"MsiExec.exe" /X{F963F67A-C6DD-4458-925D-1CA4219B8E0C} /qn /norestart'] exited with '0'
2023-12-20 13:50:35,694 4592 [INFO ] - Auto uninstaller has successfully uninstalled wazuh-agent or detected previous uninstall.
2023-12-20 13:50:35,709 4592 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-12-20 13:50:35,986 4592 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-12-20 13:50:36,007 4592 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent".
2023-12-20 13:50:36,043 4592 [DEBUG] - Ensuring removal of installation files.
2023-12-20 13:50:36,075 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum '6C7FFDA1B635BEC91F3046C32F1E40EF'
2023-12-20 13:50:36,085 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg".
2023-12-20 13:50:36,115 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum 'C8A9D8AF4C76F8F61610354C05A969F8'
2023-12-20 13:50:36,132 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec".
2023-12-20 13:50:36,163 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum '28DB587308BFA09AFB4E39D666CD52F7'
2023-12-20 13:50:36,179 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1".
2023-12-20 13:50:36,202 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2023-12-20 13:50:36,213 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1".
2023-12-20 13:50:36,213 4592 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2023-12-20 13:50:36,233 4592 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1".
2023-12-20 13:50:36,242 4592 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\wazuh-agent".
2023-12-20 13:50:36,242 4592 [INFO ] - wazuh-agent has been successfully uninstalled.
2023-12-20 13:50:36,257 4592 [DEBUG] - Removing nupkg if it still exists.
2023-12-20 13:50:36,274 4592 [DEBUG] - Ensuring removal of installation files.
2023-12-20 13:50:36,338 4592 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-12-20 13:50:36,384 4592 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-12-20 13:50:36,418 4592 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment