Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created August 13, 2023 13:40
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/807cd46b55705584c90a33404df10c63 to your computer and use it in GitHub Desktop.
Save choco-bot/807cd46b55705584c90a33404df10c63 to your computer and use it in GitHub Desktop.
wazuh-agent v4.5.0 - 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-4273238978-2823608510-3274962749-1000</user>
<keys>
<key installerType="Msi" displayName="Wazuh Agent" displayVersion="4.5.0">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{78568301-EF9E-4FEA-ABB8-85B6B6436F26}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{78568301-EF9E-4FEA-ABB8-85B6B6436F26}]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[Wazuh, Inc.]]></Publisher>
<InstallDate>20230813</InstallDate>
<InstallSource><![CDATA[C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.0\]]></InstallSource>
<Language>1033</Language>
<Version>67436544</Version>
<VersionMajor>4</VersionMajor>
<VersionMinor>5</VersionMinor>
<SystemComponent>false</SystemComponent>
<WindowsInstaller>true</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>true</NoModify>
<NoRepair>true</NoRepair>
<ReleaseType />
<ParentKeyName />
<LocalPackage><![CDATA[C:\Windows\Installer\42c8d.msi]]></LocalPackage>
</key>
</keys>
</registrySnapshot>

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

  • https://community.chocolatey.org/packages/wazuh-agent/4.5.0
  • Tested 13 Aug 2023 13:40:18 +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="1FBEDC80382FE20C67983C7E9B5421A9" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec" checksum="C245CED4863F9EB70902E7927148F2AB" />
<file path="C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1" checksum="4E5629413CBDAC3C1CF13A855BD47E58" />
<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-08-13 13:39:16,671 3600 [DEBUG] - XmlConfiguration is now operational
2023-08-13 13:39:16,812 3600 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-13 13:39:16,812 3600 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-13 13:39:16,827 3600 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-13 13:39:16,827 3600 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-08-13 13:39:16,827 3600 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-13 13:39:16,827 3600 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-08-13 13:39:16,842 3600 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-13 13:39:16,842 3600 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-08-13 13:39:16,842 3600 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-13 13:39:16,842 3600 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-08-13 13:39:16,858 3600 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-08-13 13:39:17,703 3600 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:17,703 3600 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:17,703 3600 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:17,717 3600 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:17,717 3600 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:17,717 3600 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:17,717 3600 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:17,717 3600 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:17,733 3600 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:17,733 3600 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:17,765 3600 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-08-13 13:39:17,765 3600 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-08-13 13:39:17,781 3600 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-08-13 13:39:17,781 3600 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-08-13 13:39:17,781 3600 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-08-13 13:39:17,781 3600 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-08-13 13:39:17,796 3600 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-08-13 13:39:17,796 3600 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-08-13 13:39:17,796 3600 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-08-13 13:39:17,796 3600 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-08-13 13:39:17,811 3600 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-08-13 13:39:17,811 3600 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-08-13 13:39:17,811 3600 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-08-13 13:39:17,811 3600 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-08-13 13:39:17,827 3600 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-08-13 13:39:17,827 3600 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-08-13 13:39:17,827 3600 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-08-13 13:39:17,827 3600 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-08-13 13:39:17,844 3600 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-08-13 13:39:17,844 3600 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-08-13 13:39:18,171 3600 [INFO ] - ============================================================
2023-08-13 13:39:18,796 3600 [INFO ] - Chocolatey v2.2.2
2023-08-13 13:39:18,968 3600 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-08-13 13:39:18,968 3600 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-08-13 13:39:18,983 3600 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-08-13 13:39:19,031 3600 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install wazuh-agent --version 4.5.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-08-13 13:39:19,031 3600 [DEBUG] - Received arguments: install wazuh-agent --version 4.5.0 -fdvy --execution-timeout=2700 --allow-downgrade
2023-08-13 13:39:19,218 3600 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-08-13 13:39:19,249 3600 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-08-13 13:39:19,282 3600 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-08-13 13:39:19,468 3600 [DEBUG] - Performing validation checks.
2023-08-13 13:39:19,483 3600 [DEBUG] - Global Configuration Validation Checks:
2023-08-13 13:39:19,499 3600 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-08-13 13:39:19,516 3600 [DEBUG] - System State Validation Checks:
2023-08-13 13:39:19,516 3600 [DEBUG] - Reboot Requirement Checks:
2023-08-13 13:39:19,530 3600 [DEBUG] - - Pending Computer Rename = Checked
2023-08-13 13:39:19,546 3600 [DEBUG] - - Pending Component Based Servicing = Checked
2023-08-13 13:39:19,546 3600 [DEBUG] - - Pending Windows Auto Update = Checked
2023-08-13 13:39:19,561 3600 [DEBUG] - - Pending File Rename Operations = Ignored
2023-08-13 13:39:19,561 3600 [DEBUG] - - Pending Windows Package Installer = Checked
2023-08-13 13:39:19,577 3600 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-08-13 13:39:19,593 3600 [DEBUG] - Cache Folder Lockdown Checks:
2023-08-13 13:39:19,609 3600 [DEBUG] - - Elevated State = Checked
2023-08-13 13:39:19,609 3600 [DEBUG] - - Folder Exists = Checked
2023-08-13 13:39:19,625 3600 [DEBUG] - - Folder lockdown = Checked
2023-08-13 13:39:19,640 3600 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-08-13 13:39:19,687 3600 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-08-13 13:39:19,687 3600 [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-08-13 13:39:19,733 3600 [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.5.0'|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-N0VEFAPQC10'|
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-08-13 13:39:19,749 3600 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2023-08-13 13:39:19,781 3600 [INFO ] - Installing the following packages:
2023-08-13 13:39:19,781 3600 [INFO ] - wazuh-agent
2023-08-13 13:39:19,796 3600 [INFO ] - By installing, you accept licenses for the packages.
2023-08-13 13:39:19,812 3600 [DEBUG] - Current environment values (may contain sensitive data):
2023-08-13 13:39:19,812 3600 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-08-13 13:39:19,828 3600 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-08-13 13:39:19,828 3600 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-08-13 13:39:19,843 3600 [DEBUG] - * 'ChocolateyLastPathUpdate'='133364020871507165' ('User')
2023-08-13 13:39:19,843 3600 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-08-13 13:39:19,859 3600 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-08-13 13:39:19,876 3600 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-08-13 13:39:19,890 3600 [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-08-13 13:39:19,890 3600 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-08-13 13:39:19,890 3600 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-08-13 13:39:19,905 3600 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-08-13 13:39:19,905 3600 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-08-13 13:39:19,921 3600 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-08-13 13:39:19,921 3600 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-08-13 13:39:19,937 3600 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-08-13 13:39:19,937 3600 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-08-13 13:39:19,952 3600 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-08-13 13:39:19,952 3600 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-08-13 13:39:19,967 3600 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-08-13 13:39:19,967 3600 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-08-13 13:39:20,499 3600 [DEBUG] - Running list with the following filter = ''
2023-08-13 13:39:20,515 3600 [DEBUG] - --- Start of List ---
2023-08-13 13:39:20,563 3600 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-08-13 13:39:21,093 3600 [DEBUG] - chocolatey 2.2.2
2023-08-13 13:39:21,108 3600 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-08-13 13:39:21,125 3600 [DEBUG] - KB2919355 1.0.20160915
2023-08-13 13:39:21,139 3600 [DEBUG] - KB2919442 1.0.20160915
2023-08-13 13:39:21,155 3600 [DEBUG] - KB2999226 1.0.20181019
2023-08-13 13:39:21,170 3600 [DEBUG] - KB3035131 1.0.3
2023-08-13 13:39:21,170 3600 [DEBUG] - KB3118401 1.0.5
2023-08-13 13:39:21,186 3600 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-08-13 13:39:21,186 3600 [DEBUG] - --- End of List ---
2023-08-13 13:39:21,202 3600 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2023-08-13 13:39:21,968 3600 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2023-08-13 13:39:22,657 3600 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.5.0')
2023-08-13 13:39:22,967 3600 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.5.0') 297ms
2023-08-13 13:39:23,109 3600 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2023-08-13 13:39:23,843 3600 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2023-08-13 13:39:23,858 3600 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='wazuh-agent',Version='4.5.0')
2023-08-13 13:39:24,063 3600 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2023-08-13 13:39:24,077 3600 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2023-08-13 13:39:24,140 3600 [DEBUG] - Attempting to delete file "".
2023-08-13 13:39:24,187 3600 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/wazuh-agent/4.5.0
2023-08-13 13:39:24,702 3600 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/wazuh-agent/4.5.0 499ms
2023-08-13 13:39:24,734 3600 [INFO ] - [NuGet] Acquiring lock for the installation of wazuh-agent 4.5.0
2023-08-13 13:39:24,812 3600 [INFO ] - [NuGet] Acquired lock for the installation of wazuh-agent 4.5.0
2023-08-13 13:39:25,202 3600 [INFO ] - [NuGet] Installed wazuh-agent 4.5.0 from https://community.chocolatey.org/api/v2/ with content hash 3c5OQO0+N8h7cIEuiacJfeDDSGUbNAbnQsiQeJYpZzQrS/mRCW89sh4cVYWQFKOsBZ+eiCKxtbg8R+i8regPOw==.
2023-08-13 13:39:25,297 3600 [INFO ] - [NuGet] Adding package 'wazuh-agent.4.5.0' to folder 'C:\ProgramData\chocolatey\lib'
2023-08-13 13:39:25,390 3600 [INFO ] - [NuGet] Added package 'wazuh-agent.4.5.0' to folder 'C:\ProgramData\chocolatey\lib'
2023-08-13 13:39:25,406 3600 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.5.0\wazuh-agent.4.5.0.nupkg".
2023-08-13 13:39:25,406 3600 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.5.0\.nupkg.metadata".
2023-08-13 13:39:25,406 3600 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\wazuh-agent/4.5.0\wazuh-agent.4.5.0.nupkg.sha512".
2023-08-13 13:39:25,421 3600 [INFO ] -
wazuh-agent v4.5.0 (forced)
2023-08-13 13:39:25,499 3600 [INFO ] - wazuh-agent package files install completed. Performing other installation steps.
2023-08-13 13:39:25,578 3600 [DEBUG] - Setting installer args for wazuh-agent
2023-08-13 13:39:25,593 3600 [DEBUG] - Setting package parameters for wazuh-agent
2023-08-13 13:39:25,593 3600 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1':
2023-08-13 13:39:25,624 3600 [DEBUG] - $ErrorActionPreference = 'Stop';
$PackageParameters = Get-PackageParameters
$toolsDir = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)"
$urlPackage = 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.0-1.msi'
$checksumPackage = '94179e1bf54ca607aeb71087acd5166519503e148dc20a597c28249b0e4aa2d150f2bb3cca0653591b0fe7e1d061f0ef9e3baed965edae2df93059fd4ac27915'
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-08-13 13:39:25,672 3600 [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-08-13 13:39:25,687 3600 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-08-13 13:39:26,422 3600 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-08-13 13:39:26,905 3600 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-13 13:39:26,905 3600 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-13 13:39:26,905 3600 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-13 13:39:26,921 3600 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-13 13:39:26,921 3600 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-13 13:39:26,937 3600 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-13 13:39:26,937 3600 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-13 13:39:26,952 3600 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-13 13:39:26,952 3600 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-13 13:39:26,968 3600 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-13 13:39:26,968 3600 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-13 13:39:26,983 3600 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-13 13:39:26,983 3600 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-13 13:39:27,000 3600 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-13 13:39:27,014 3600 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-13 13:39:27,014 3600 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-13 13:39:27,014 3600 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-13 13:39:27,030 3600 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-13 13:39:27,030 3600 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-13 13:39:27,046 3600 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-13 13:39:27,061 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-13 13:39:27,061 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-13 13:39:27,124 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-13 13:39:27,139 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-13 13:39:27,139 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-13 13:39:27,156 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-13 13:39:27,156 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-13 13:39:27,171 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-13 13:39:27,171 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-13 13:39:27,186 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-13 13:39:27,186 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-13 13:39:27,202 3600 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-13 13:39:27,202 3600 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-13 13:39:27,218 3600 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-13 13:39:27,218 3600 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-13 13:39:27,233 3600 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-13 13:39:27,233 3600 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-13 13:39:27,249 3600 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-13 13:39:27,249 3600 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-13 13:39:27,264 3600 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-13 13:39:27,264 3600 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-13 13:39:27,280 3600 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-13 13:39:27,296 3600 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-13 13:39:27,296 3600 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-13 13:39:27,311 3600 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-13 13:39:27,311 3600 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-13 13:39:27,327 3600 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-13 13:39:27,327 3600 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-13 13:39:27,343 3600 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-13 13:39:27,343 3600 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-13 13:39:27,358 3600 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-13 13:39:27,391 3600 [DEBUG] - Loading community extensions
2023-08-13 13:39:27,421 3600 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-08-13 13:39:27,437 3600 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-08-13 13:39:27,547 3600 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-13 13:39:27,562 3600 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-13 13:39:27,577 3600 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-13 13:39:27,577 3600 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-13 13:39:27,593 3600 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-13 13:39:27,609 3600 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-13 13:39:27,609 3600 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-13 13:39:27,625 3600 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-13 13:39:27,625 3600 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-13 13:39:27,639 3600 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-13 13:39:27,656 3600 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-13 13:39:27,656 3600 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-13 13:39:27,670 3600 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-13 13:39:27,670 3600 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-13 13:39:27,687 3600 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-13 13:39:27,702 3600 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-13 13:39:27,702 3600 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-13 13:39:27,718 3600 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-13 13:39:27,718 3600 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-13 13:39:27,733 3600 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-13 13:39:27,733 3600 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-13 13:39:27,733 3600 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-13 13:39:27,749 3600 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-13 13:39:27,765 3600 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-13 13:39:27,765 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-13 13:39:27,765 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-13 13:39:27,780 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-13 13:39:27,780 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-13 13:39:27,796 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-13 13:39:27,796 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-13 13:39:27,811 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-13 13:39:27,811 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-13 13:39:27,827 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-13 13:39:27,827 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-13 13:39:27,844 3600 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-13 13:39:27,844 3600 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-13 13:39:27,859 3600 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-13 13:39:27,859 3600 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-13 13:39:27,874 3600 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-13 13:39:27,874 3600 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-13 13:39:27,889 3600 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-13 13:39:27,889 3600 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-13 13:39:27,889 3600 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-13 13:39:27,905 3600 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-13 13:39:27,905 3600 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-13 13:39:27,921 3600 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-13 13:39:27,921 3600 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-13 13:39:27,937 3600 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-13 13:39:27,937 3600 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-13 13:39:27,952 3600 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-13 13:39:27,952 3600 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-13 13:39:27,968 3600 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-13 13:39:27,968 3600 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-13 13:39:27,983 3600 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-13 13:39:27,983 3600 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-13 13:39:27,999 3600 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-13 13:39:27,999 3600 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-13 13:39:28,014 3600 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-08-13 13:39:28,014 3600 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-08-13 13:39:28,030 3600 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-08-13 13:39:28,030 3600 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-08-13 13:39:28,045 3600 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-08-13 13:39:28,045 3600 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-08-13 13:39:28,061 3600 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-08-13 13:39:28,061 3600 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-08-13 13:39:28,076 3600 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-08-13 13:39:28,076 3600 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-08-13 13:39:28,076 3600 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-08-13 13:39:28,093 3600 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-08-13 13:39:28,093 3600 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-08-13 13:39:28,108 3600 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-08-13 13:39:28,108 3600 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-08-13 13:39:28,124 3600 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-08-13 13:39:28,124 3600 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-08-13 13:39:28,139 3600 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-08-13 13:39:28,139 3600 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-08-13 13:39:28,155 3600 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-08-13 13:39:28,155 3600 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-08-13 13:39:28,170 3600 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-08-13 13:39:28,170 3600 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-08-13 13:39:28,187 3600 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-08-13 13:39:28,187 3600 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-08-13 13:39:28,203 3600 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-08-13 13:39:28,203 3600 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-13 13:39:28,217 3600 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-08-13 13:39:28,217 3600 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-08-13 13:39:28,233 3600 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-08-13 13:39:28,233 3600 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-08-13 13:39:28,249 3600 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-08-13 13:39:28,249 3600 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-13 13:39:28,265 3600 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-08-13 13:39:28,265 3600 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-08-13 13:39:28,280 3600 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-08-13 13:39:28,280 3600 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-08-13 13:39:28,296 3600 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-13 13:39:28,312 3600 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-08-13 13:39:28,328 3600 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-13 13:39:28,328 3600 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-08-13 13:39:28,343 3600 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-08-13 13:39:28,358 3600 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-08-13 13:39:28,358 3600 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-08-13 13:39:28,374 3600 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-08-13 13:39:28,374 3600 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-08-13 13:39:28,389 3600 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-08-13 13:39:28,389 3600 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-08-13 13:39:28,405 3600 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-08-13 13:39:28,405 3600 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-08-13 13:39:28,405 3600 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-08-13 13:39:28,421 3600 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-08-13 13:39:28,421 3600 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-08-13 13:39:28,546 3600 [DEBUG] - ---------------------------Script Execution---------------------------
2023-08-13 13:39:28,577 3600 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.5.0 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-08-13 13:39:28,624 3600 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
2023-08-13 13:39:28,719 3600 [DEBUG] - Running Get-PackageParameters
2023-08-13 13:39:28,733 3600 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
2023-08-13 13:39:28,765 3600 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
2023-08-13 13:39:28,780 3600 [INFO ] - VERBOSE: Dot-sourcing the script file 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'.
2023-08-13 13:39:28,796 3600 [INFO ] -
2023-08-13 13:39:28,890 3600 [DEBUG] - Running Install-ChocolateyPackage -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.0-1.msi' -checksum '94179e1bf54ca607aeb71087acd5166519503e148dc20a597c28249b0e4aa2d150f2bb3cca0653591b0fe7e1d061f0ef9e3baed965edae2df93059fd4ac27915' -checksum64 '94179e1bf54ca607aeb71087acd5166519503e148dc20a597c28249b0e4aa2d150f2bb3cca0653591b0fe7e1d061f0ef9e3baed965edae2df93059fd4ac27915' -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.5.0-1.msi'
2023-08-13 13:39:29,062 3600 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'wazuh-agent' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.0\wazuh-agentInstall.msi' -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.0-1.msi' -url64bit 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.0-1.msi' -checksum '94179e1bf54ca607aeb71087acd5166519503e148dc20a597c28249b0e4aa2d150f2bb3cca0653591b0fe7e1d061f0ef9e3baed965edae2df93059fd4ac27915' -checksumType 'SHA512' -checksum64 '94179e1bf54ca607aeb71087acd5166519503e148dc20a597c28249b0e4aa2d150f2bb3cca0653591b0fe7e1d061f0ef9e3baed965edae2df93059fd4ac27915' -checksumType64 'SHA512' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2023-08-13 13:39:29,124 3600 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2023-08-13 13:39:29,233 3600 [DEBUG] - CPU is 64 bit
2023-08-13 13:39:29,265 3600 [DEBUG] - Setting url to 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.0-1.msi' and bitPackage to 64
2023-08-13 13:39:29,360 3600 [DEBUG] - Running Get-WebFileName -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.0-1.msi' -defaultName 'wazuh-agentInstall.msi'
2023-08-13 13:39:29,796 3600 [DEBUG] - Using response url to determine file name. 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.0-1.msi'
2023-08-13 13:39:29,811 3600 [DEBUG] - File name determined from url is 'wazuh-agent-4.5.0-1.msi'
2023-08-13 13:39:29,859 3600 [DEBUG] - Running Get-WebHeaders -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.0-1.msi' -ErrorAction 'Stop'
2023-08-13 13:39:29,874 3600 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-08-13 13:39:29,890 3600 [DEBUG] - Request Headers:
2023-08-13 13:39:29,905 3600 [DEBUG] - 'Accept':'*/*'
2023-08-13 13:39:29,921 3600 [DEBUG] - 'User-Agent':'chocolatey command line'
2023-08-13 13:39:30,045 3600 [DEBUG] - Response Headers:
2023-08-13 13:39:30,061 3600 [DEBUG] - 'Connection':'keep-alive'
2023-08-13 13:39:30,061 3600 [DEBUG] - 'x-amz-server-side-encryption':'AES256'
2023-08-13 13:39:30,077 3600 [DEBUG] - 'x-amz-version-id':'Sjt3b3MG3aXshHCGE0ymEzGx4YtQVbPJ'
2023-08-13 13:39:30,092 3600 [DEBUG] - 'X-Cache':'Hit from cloudfront'
2023-08-13 13:39:30,108 3600 [DEBUG] - 'X-Amz-Cf-Pop':'MCI50-P2'
2023-08-13 13:39:30,125 3600 [DEBUG] - 'X-Amz-Cf-Id':'onMcpF1YgyTBdeKmxHFiMGpU3UL6BQNS3HO8HmFq8ZaUG6Z4x3cyXQ=='
2023-08-13 13:39:30,155 3600 [DEBUG] - 'Age':'85469'
2023-08-13 13:39:30,155 3600 [DEBUG] - 'Accept-Ranges':'bytes'
2023-08-13 13:39:30,171 3600 [DEBUG] - 'Content-Length':'5390336'
2023-08-13 13:39:30,171 3600 [DEBUG] - 'Content-Type':'binary/octet-stream'
2023-08-13 13:39:30,187 3600 [DEBUG] - 'Date':'Sat, 12 Aug 2023 13:55:02 GMT'
2023-08-13 13:39:30,187 3600 [DEBUG] - 'ETag':'"fd53c0afc26394ef5ce6a0922186de29"'
2023-08-13 13:39:30,202 3600 [DEBUG] - 'Last-Modified':'Thu, 10 Aug 2023 13:59:12 GMT'
2023-08-13 13:39:30,202 3600 [DEBUG] - 'Server':'AmazonS3'
2023-08-13 13:39:30,202 3600 [DEBUG] - 'Via':'1.1 1df1262df2a0c8e02035c15069e756c0.cloudfront.net (CloudFront)'
2023-08-13 13:39:30,249 3600 [INFO ] - Downloading wazuh-agent 64 bit
from 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.0-1.msi'
2023-08-13 13:39:30,312 3600 [DEBUG] - Running Get-WebFile -url 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.0-1.msi' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.0\wazuh-agent-4.5.0-1.msi' -options 'System.Collections.Hashtable'
2023-08-13 13:39:30,327 3600 [DEBUG] - Setting request timeout to 30000
2023-08-13 13:39:30,327 3600 [DEBUG] - Setting read/write timeout to 2700000
2023-08-13 13:39:30,343 3600 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2023-08-13 13:39:30,780 3600 [DEBUG] - Downloading https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.0-1.msi to C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.0\wazuh-agent-4.5.0-1.msi
2023-08-13 13:39:31,499 3600 [INFO ] -
2023-08-13 13:39:31,515 3600 [INFO ] - Download of wazuh-agent-4.5.0-1.msi (5.14 MB) completed.
2023-08-13 13:39:34,576 3600 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2023-08-13 13:39:34,608 3600 [DEBUG] - Verifying package provided checksum of '94179e1bf54ca607aeb71087acd5166519503e148dc20a597c28249b0e4aa2d150f2bb3cca0653591b0fe7e1d061f0ef9e3baed965edae2df93059fd4ac27915' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.0\wazuh-agent-4.5.0-1.msi'.
2023-08-13 13:39:34,641 3600 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.0\wazuh-agent-4.5.0-1.msi' -checksum '94179e1bf54ca607aeb71087acd5166519503e148dc20a597c28249b0e4aa2d150f2bb3cca0653591b0fe7e1d061f0ef9e3baed965edae2df93059fd4ac27915' -checksumType 'SHA512' -originalUrl 'https://packages.wazuh.com/4.x/windows/wazuh-agent-4.5.0-1.msi'
2023-08-13 13:39:34,670 3600 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2023-08-13 13:39:34,670 3600 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="94179e1bf54ca607aeb71087acd5166519503e148dc20a597c28249b0e4aa2d150f2bb3cca0653591b0fe7e1d061f0ef9e3baed965edae2df93059fd4ac27915" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.0\wazuh-agent-4.5.0-1.msi"]
2023-08-13 13:39:35,593 3600 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="94179e1bf54ca607aeb71087acd5166519503e148dc20a597c28249b0e4aa2d150f2bb3cca0653591b0fe7e1d061f0ef9e3baed965edae2df93059fd4ac27915" -t="SHA512" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.0\wazuh-agent-4.5.0-1.msi"] exited with '0'.
2023-08-13 13:39:35,671 3600 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'wazuh-agent' -fileType 'msi' -silentArgs ' /q' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.0\wazuh-agent-4.5.0-1.msi' -validExitCodes '0 1000 1101' -useOnlyPackageSilentArguments 'False'
2023-08-13 13:39:35,686 3600 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2023-08-13 13:39:35,701 3600 [INFO ] - Installing wazuh-agent...
2023-08-13 13:39:35,828 3600 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1000 1101' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.0' -statements '/i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.0\wazuh-agent-4.5.0-1.msi" /q ' -exeToRun 'C:\Windows\System32\msiexec.exe'
2023-08-13 13:39:35,905 3600 [DEBUG] - Test-ProcessAdminRights: returning True
2023-08-13 13:39:35,951 3600 [DEBUG] - Elevating permissions and running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.0\wazuh-agent-4.5.0-1.msi" /q ]. This may take a while, depending on the statements.
2023-08-13 13:39:42,670 3600 [DEBUG] - Command ["C:\Windows\System32\msiexec.exe" /i "C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.0\wazuh-agent-4.5.0-1.msi" /q ] exited with '0'.
2023-08-13 13:39:42,703 3600 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2023-08-13 13:39:42,717 3600 [INFO ] - wazuh-agent has been installed.
2023-08-13 13:39:42,751 3600 [DEBUG] - ----------------------------------------------------------------------
2023-08-13 13:39:42,764 3600 [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-08-13 13:39:42,780 3600 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-08-13 13:39:42,905 3600 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-08-13 13:39:42,952 3600 [INFO ] - wazuh-agent may be able to be automatically uninstalled.
2023-08-13 13:39:43,124 3600 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
2023-08-13 13:39:43,139 3600 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum '1FBEDC80382FE20C67983C7E9B5421A9'
2023-08-13 13:39:43,139 3600 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum 'C245CED4863F9EB70902E7927148F2AB'
2023-08-13 13:39:43,155 3600 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum '4E5629413CBDAC3C1CF13A855BD47E58'
2023-08-13 13:39:43,155 3600 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2023-08-13 13:39:43,170 3600 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2023-08-13 13:39:43,218 3600 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.0".
2023-08-13 13:39:43,281 3600 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.0\.registry'
2023-08-13 13:39:43,327 3600 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.0\.files'
2023-08-13 13:39:43,342 3600 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.0\.extra".
2023-08-13 13:39:43,342 3600 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.0\.version".
2023-08-13 13:39:43,358 3600 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.0\.sxs".
2023-08-13 13:39:43,358 3600 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\wazuh-agent.4.5.0\.pin".
2023-08-13 13:39:43,373 3600 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-08-13 13:39:43,388 3600 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\.chocolateyPending".
2023-08-13 13:39:43,388 3600 [INFO ] - The install of wazuh-agent was successful.
2023-08-13 13:39:43,405 3600 [INFO ] - Software installed as 'msi', install location is likely default.
2023-08-13 13:39:43,437 3600 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-08-13 13:39:43,451 3600 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-08-13 13:39:43,467 3600 [DEBUG] - Exiting with 0
2023-08-13 13:39:58,873 3252 [DEBUG] - XmlConfiguration is now operational
2023-08-13 13:39:59,030 3252 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-13 13:39:59,045 3252 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-13 13:39:59,045 3252 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-13 13:39:59,045 3252 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2023-08-13 13:39:59,060 3252 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-13 13:39:59,060 3252 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2023-08-13 13:39:59,060 3252 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2023-08-13 13:39:59,060 3252 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2023-08-13 13:39:59,076 3252 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2023-08-13 13:39:59,076 3252 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-08-13 13:39:59,076 3252 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2023-08-13 13:39:59,936 3252 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:59,936 3252 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:59,952 3252 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:59,952 3252 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:59,952 3252 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:59,952 3252 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:59,967 3252 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:59,967 3252 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:59,967 3252 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:39:59,967 3252 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2023-08-13 13:40:00,030 3252 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2023-08-13 13:40:00,030 3252 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-08-13 13:40:00,030 3252 [DEBUG] - Registering new command 'template' in assembly 'choco'
2023-08-13 13:40:00,046 3252 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-08-13 13:40:00,046 3252 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-08-13 13:40:00,046 3252 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-08-13 13:40:00,060 3252 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-08-13 13:40:00,060 3252 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-08-13 13:40:00,060 3252 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-08-13 13:40:00,060 3252 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-08-13 13:40:00,076 3252 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-08-13 13:40:00,076 3252 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-08-13 13:40:00,076 3252 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-08-13 13:40:00,076 3252 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-08-13 13:40:00,091 3252 [DEBUG] - Registering new command 'source' in assembly 'choco'
2023-08-13 13:40:00,091 3252 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-08-13 13:40:00,091 3252 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-08-13 13:40:00,091 3252 [DEBUG] - Registering new command 'search' in assembly 'choco'
2023-08-13 13:40:00,107 3252 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-08-13 13:40:00,107 3252 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-08-13 13:40:00,435 3252 [INFO ] - ============================================================
2023-08-13 13:40:00,842 3252 [INFO ] - Chocolatey v2.2.2
2023-08-13 13:40:00,889 3252 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2023-08-13 13:40:00,889 3252 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-08-13 13:40:00,904 3252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-08-13 13:40:00,920 3252 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall wazuh-agent --version 4.5.0 -dvy --execution-timeout=2700
2023-08-13 13:40:00,935 3252 [DEBUG] - Received arguments: uninstall wazuh-agent --version 4.5.0 -dvy --execution-timeout=2700
2023-08-13 13:40:01,170 3252 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-08-13 13:40:01,202 3252 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-08-13 13:40:01,232 3252 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-08-13 13:40:01,468 3252 [DEBUG] - Performing validation checks.
2023-08-13 13:40:01,483 3252 [DEBUG] - Global Configuration Validation Checks:
2023-08-13 13:40:01,497 3252 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2023-08-13 13:40:01,529 3252 [DEBUG] - System State Validation Checks:
2023-08-13 13:40:01,529 3252 [DEBUG] - Reboot Requirement Checks:
2023-08-13 13:40:01,545 3252 [DEBUG] - - Pending Computer Rename = Checked
2023-08-13 13:40:01,560 3252 [DEBUG] - - Pending Component Based Servicing = Checked
2023-08-13 13:40:01,560 3252 [DEBUG] - - Pending Windows Auto Update = Checked
2023-08-13 13:40:01,576 3252 [DEBUG] - - Pending File Rename Operations = Ignored
2023-08-13 13:40:01,593 3252 [DEBUG] - - Pending Windows Package Installer = Checked
2023-08-13 13:40:01,593 3252 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2023-08-13 13:40:01,607 3252 [DEBUG] - Cache Folder Lockdown Checks:
2023-08-13 13:40:01,623 3252 [DEBUG] - - Elevated State = Checked
2023-08-13 13:40:01,623 3252 [DEBUG] - - Folder Exists = Checked
2023-08-13 13:40:01,639 3252 [DEBUG] - - Folder lockdown = Checked
2023-08-13 13:40:01,655 3252 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2023-08-13 13:40:01,701 3252 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2023-08-13 13:40:01,717 3252 [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-08-13 13:40:01,748 3252 [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.5.0'|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-N0VEFAPQC10'|
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-08-13 13:40:01,779 3252 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2023-08-13 13:40:01,795 3252 [INFO ] - Uninstalling the following packages:
2023-08-13 13:40:01,811 3252 [INFO ] - wazuh-agent
2023-08-13 13:40:01,858 3252 [DEBUG] - Current environment values (may contain sensitive data):
2023-08-13 13:40:01,873 3252 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2023-08-13 13:40:01,873 3252 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-08-13 13:40:01,873 3252 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2023-08-13 13:40:01,888 3252 [DEBUG] - * 'ChocolateyLastPathUpdate'='133364020871507165' ('User')
2023-08-13 13:40:01,888 3252 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2023-08-13 13:40:01,904 3252 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2023-08-13 13:40:01,904 3252 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2023-08-13 13:40:01,920 3252 [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-08-13 13:40:01,920 3252 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2023-08-13 13:40:01,920 3252 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2023-08-13 13:40:01,935 3252 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2023-08-13 13:40:01,935 3252 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2023-08-13 13:40:01,951 3252 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2023-08-13 13:40:01,951 3252 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2023-08-13 13:40:01,966 3252 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2023-08-13 13:40:01,966 3252 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
2023-08-13 13:40:01,982 3252 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2023-08-13 13:40:01,982 3252 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
2023-08-13 13:40:01,982 3252 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
2023-08-13 13:40:01,998 3252 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2023-08-13 13:40:02,233 3252 [DEBUG] - Running list with the following filter = ''
2023-08-13 13:40:02,233 3252 [DEBUG] - --- Start of List ---
2023-08-13 13:40:02,513 3252 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2023-08-13 13:40:03,061 3252 [DEBUG] - chocolatey 2.2.2
2023-08-13 13:40:03,076 3252 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-08-13 13:40:03,107 3252 [DEBUG] - KB2919355 1.0.20160915
2023-08-13 13:40:03,123 3252 [DEBUG] - KB2919442 1.0.20160915
2023-08-13 13:40:03,123 3252 [DEBUG] - KB2999226 1.0.20181019
2023-08-13 13:40:03,139 3252 [DEBUG] - KB3035131 1.0.3
2023-08-13 13:40:03,154 3252 [DEBUG] - KB3118401 1.0.5
2023-08-13 13:40:03,185 3252 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-08-13 13:40:03,326 3252 [DEBUG] - wazuh-agent 4.5.0
2023-08-13 13:40:03,326 3252 [DEBUG] - --- End of List ---
2023-08-13 13:40:03,342 3252 [DEBUG] - Running list with the following filter = ''
2023-08-13 13:40:03,342 3252 [DEBUG] - --- Start of List ---
2023-08-13 13:40:03,388 3252 [DEBUG] - chocolatey 2.2.2
2023-08-13 13:40:03,404 3252 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-08-13 13:40:03,420 3252 [DEBUG] - KB2919355 1.0.20160915
2023-08-13 13:40:03,436 3252 [DEBUG] - KB2919442 1.0.20160915
2023-08-13 13:40:03,452 3252 [DEBUG] - KB2999226 1.0.20181019
2023-08-13 13:40:03,467 3252 [DEBUG] - KB3035131 1.0.3
2023-08-13 13:40:03,467 3252 [DEBUG] - KB3118401 1.0.5
2023-08-13 13:40:03,482 3252 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-08-13 13:40:03,513 3252 [DEBUG] - wazuh-agent 4.5.0
2023-08-13 13:40:03,529 3252 [DEBUG] - --- End of List ---
2023-08-13 13:40:03,591 3252 [DEBUG] - Running list with the following filter = ''
2023-08-13 13:40:03,591 3252 [DEBUG] - --- Start of List ---
2023-08-13 13:40:03,655 3252 [DEBUG] - chocolatey 2.2.2
2023-08-13 13:40:03,670 3252 [DEBUG] - chocolatey-windowsupdate.extension 1.0.4
2023-08-13 13:40:03,685 3252 [DEBUG] - KB2919355 1.0.20160915
2023-08-13 13:40:03,685 3252 [DEBUG] - KB2919442 1.0.20160915
2023-08-13 13:40:03,701 3252 [DEBUG] - KB2999226 1.0.20181019
2023-08-13 13:40:03,716 3252 [DEBUG] - KB3035131 1.0.3
2023-08-13 13:40:03,732 3252 [DEBUG] - KB3118401 1.0.5
2023-08-13 13:40:03,732 3252 [DEBUG] - virtualbox-guest-additions-guest.install 6.1.34
2023-08-13 13:40:03,778 3252 [DEBUG] - wazuh-agent 4.5.0
2023-08-13 13:40:03,778 3252 [DEBUG] - --- End of List ---
2023-08-13 13:40:03,858 3252 [INFO ] -
wazuh-agent v4.5.0
2023-08-13 13:40:03,888 3252 [DEBUG] - Running beforeModify step for 'wazuh-agent'
2023-08-13 13:40:03,921 3252 [DEBUG] - Backing up package files for 'wazuh-agent'
2023-08-13 13:40:04,092 3252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent".
2023-08-13 13:40:04,107 3252 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\wazuh-agent to C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.0
2023-08-13 13:40:04,123 3252 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\wazuh-agent'
to 'C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.0'
2023-08-13 13:40:06,138 3252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\wazuh-agent".
2023-08-13 13:40:06,138 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.0\wazuh-agent.nupkg"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg".
2023-08-13 13:40:06,155 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.0\wazuh-agent.nuspec"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec".
2023-08-13 13:40:06,170 3252 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\wazuh-agent\tools".
2023-08-13 13:40:06,170 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.0\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1".
2023-08-13 13:40:06,185 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.0\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1".
2023-08-13 13:40:06,201 3252 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent\4.5.0\tools\helpers.ps1"
to "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1".
2023-08-13 13:40:07,716 3252 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\wazuh-agent'
2023-08-13 13:40:07,733 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum '1FBEDC80382FE20C67983C7E9B5421A9'
2023-08-13 13:40:07,733 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum 'C245CED4863F9EB70902E7927148F2AB'
2023-08-13 13:40:07,748 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum '4E5629413CBDAC3C1CF13A855BD47E58'
2023-08-13 13:40:07,748 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2023-08-13 13:40:07,764 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2023-08-13 13:40:07,810 3252 [DEBUG] - Setting installer args for wazuh-agent
2023-08-13 13:40:07,810 3252 [DEBUG] - Setting package parameters for wazuh-agent
2023-08-13 13:40:07,826 3252 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1':
2023-08-13 13:40:07,842 3252 [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-08-13 13:40:07,889 3252 [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-08-13 13:40:07,905 3252 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2023-08-13 13:40:08,608 3252 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2023-08-13 13:40:09,123 3252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-13 13:40:09,138 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-13 13:40:09,138 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-13 13:40:09,154 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-13 13:40:09,154 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-13 13:40:09,154 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-13 13:40:09,170 3252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-13 13:40:09,185 3252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-13 13:40:09,201 3252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-13 13:40:09,201 3252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-13 13:40:09,201 3252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-13 13:40:09,216 3252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-13 13:40:09,216 3252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-13 13:40:09,232 3252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-13 13:40:09,232 3252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-13 13:40:09,248 3252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-13 13:40:09,248 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-13 13:40:09,263 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-13 13:40:09,263 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-13 13:40:09,279 3252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-13 13:40:09,279 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-13 13:40:09,295 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-13 13:40:09,295 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-13 13:40:09,310 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-13 13:40:09,310 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-13 13:40:09,326 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-13 13:40:09,326 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-13 13:40:09,326 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-13 13:40:09,342 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-13 13:40:09,342 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-13 13:40:09,357 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-13 13:40:09,357 3252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-13 13:40:09,372 3252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-13 13:40:09,388 3252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-13 13:40:09,388 3252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-13 13:40:09,404 3252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-13 13:40:09,404 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-13 13:40:09,419 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-13 13:40:09,419 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-13 13:40:09,435 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-13 13:40:09,435 3252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-13 13:40:09,451 3252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-13 13:40:09,451 3252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-13 13:40:09,467 3252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-13 13:40:09,544 3252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-13 13:40:09,544 3252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-13 13:40:09,560 3252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-13 13:40:09,560 3252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-13 13:40:09,575 3252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-13 13:40:09,575 3252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-13 13:40:09,592 3252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-13 13:40:09,639 3252 [DEBUG] - Loading community extensions
2023-08-13 13:40:09,670 3252 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2023-08-13 13:40:09,670 3252 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2023-08-13 13:40:09,811 3252 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-13 13:40:09,811 3252 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-13 13:40:09,826 3252 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-13 13:40:09,858 3252 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-13 13:40:09,858 3252 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2023-08-13 13:40:09,873 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2023-08-13 13:40:09,873 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2023-08-13 13:40:09,888 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2023-08-13 13:40:09,888 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2023-08-13 13:40:09,904 3252 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2023-08-13 13:40:09,904 3252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2023-08-13 13:40:09,919 3252 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2023-08-13 13:40:09,919 3252 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2023-08-13 13:40:09,919 3252 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2023-08-13 13:40:09,936 3252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2023-08-13 13:40:09,951 3252 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2023-08-13 13:40:09,951 3252 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2023-08-13 13:40:09,966 3252 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2023-08-13 13:40:09,966 3252 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2023-08-13 13:40:09,966 3252 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2023-08-13 13:40:09,982 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2023-08-13 13:40:09,998 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2023-08-13 13:40:09,998 3252 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2023-08-13 13:40:10,013 3252 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2023-08-13 13:40:10,028 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2023-08-13 13:40:10,076 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2023-08-13 13:40:10,092 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2023-08-13 13:40:10,092 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2023-08-13 13:40:10,107 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2023-08-13 13:40:10,107 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2023-08-13 13:40:10,107 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-13 13:40:10,123 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2023-08-13 13:40:10,123 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2023-08-13 13:40:10,138 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2023-08-13 13:40:10,138 3252 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2023-08-13 13:40:10,155 3252 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2023-08-13 13:40:10,155 3252 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2023-08-13 13:40:10,170 3252 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2023-08-13 13:40:10,185 3252 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2023-08-13 13:40:10,185 3252 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2023-08-13 13:40:10,200 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2023-08-13 13:40:10,200 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-13 13:40:10,217 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2023-08-13 13:40:10,217 3252 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2023-08-13 13:40:10,232 3252 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2023-08-13 13:40:10,232 3252 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2023-08-13 13:40:10,264 3252 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2023-08-13 13:40:10,264 3252 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2023-08-13 13:40:10,279 3252 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2023-08-13 13:40:10,279 3252 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2023-08-13 13:40:10,294 3252 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2023-08-13 13:40:10,294 3252 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2023-08-13 13:40:10,311 3252 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2023-08-13 13:40:10,311 3252 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2023-08-13 13:40:10,326 3252 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2023-08-13 13:40:10,326 3252 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2023-08-13 13:40:10,341 3252 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2023-08-13 13:40:10,341 3252 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2023-08-13 13:40:10,341 3252 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2023-08-13 13:40:10,357 3252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2023-08-13 13:40:10,357 3252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2023-08-13 13:40:10,373 3252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2023-08-13 13:40:10,373 3252 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2023-08-13 13:40:10,388 3252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2023-08-13 13:40:10,388 3252 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2023-08-13 13:40:10,405 3252 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2023-08-13 13:40:10,405 3252 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2023-08-13 13:40:10,420 3252 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2023-08-13 13:40:10,420 3252 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2023-08-13 13:40:10,435 3252 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2023-08-13 13:40:10,435 3252 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2023-08-13 13:40:10,435 3252 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2023-08-13 13:40:10,451 3252 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2023-08-13 13:40:10,466 3252 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2023-08-13 13:40:10,466 3252 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2023-08-13 13:40:10,466 3252 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2023-08-13 13:40:10,482 3252 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2023-08-13 13:40:10,498 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2023-08-13 13:40:10,498 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2023-08-13 13:40:10,514 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2023-08-13 13:40:10,529 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2023-08-13 13:40:10,529 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2023-08-13 13:40:10,544 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2023-08-13 13:40:10,544 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2023-08-13 13:40:10,560 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2023-08-13 13:40:10,560 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2023-08-13 13:40:10,576 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2023-08-13 13:40:10,576 3252 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2023-08-13 13:40:10,591 3252 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2023-08-13 13:40:10,591 3252 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2023-08-13 13:40:10,608 3252 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2023-08-13 13:40:10,608 3252 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2023-08-13 13:40:10,622 3252 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2023-08-13 13:40:10,622 3252 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2023-08-13 13:40:10,638 3252 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2023-08-13 13:40:10,638 3252 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2023-08-13 13:40:10,638 3252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2023-08-13 13:40:10,654 3252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2023-08-13 13:40:10,654 3252 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2023-08-13 13:40:10,669 3252 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2023-08-13 13:40:10,686 3252 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2023-08-13 13:40:10,686 3252 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2023-08-13 13:40:10,701 3252 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2023-08-13 13:40:10,701 3252 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2023-08-13 13:40:10,716 3252 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2023-08-13 13:40:10,716 3252 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2023-08-13 13:40:10,734 3252 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2023-08-13 13:40:10,747 3252 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2023-08-13 13:40:10,747 3252 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2023-08-13 13:40:10,747 3252 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2023-08-13 13:40:10,842 3252 [DEBUG] - ---------------------------Script Execution---------------------------
2023-08-13 13:40:10,872 3252 [DEBUG] - Running 'ChocolateyScriptRunner' for wazuh-agent v4.5.0 with packageScript 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\wazuh-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2023-08-13 13:40:10,936 3252 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
2023-08-13 13:40:10,982 3252 [WARN ] - WARNING: wazuh-agent has already been uninstalled by other means.
2023-08-13 13:40:11,028 3252 [DEBUG] - ----------------------------------------------------------------------
2023-08-13 13:40:11,044 3252 [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-08-13 13:40:11,091 3252 [INFO ] - Running auto uninstaller...
2023-08-13 13:40:11,091 3252 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2023-08-13 13:40:13,139 3252 [DEBUG] - Preparing uninstall key 'MsiExec.exe /X{78568301-EF9E-4FEA-ABB8-85B6B6436F26}' for 'Wazuh Agent'
2023-08-13 13:40:13,201 3252 [DEBUG] - Uninstaller path is 'MsiExec.exe'
2023-08-13 13:40:13,201 3252 [DEBUG] - Installer type is 'MsiInstaller'
2023-08-13 13:40:13,216 3252 [DEBUG] - Setting up uninstall logging directory at C:\Users\vagrant\AppData\Local\Temp\chocolatey\wazuh-agent\4.5.0
2023-08-13 13:40:13,233 3252 [DEBUG] - Args are '/X{78568301-EF9E-4FEA-ABB8-85B6B6436F26} /qn /norestart'
2023-08-13 13:40:13,248 3252 [DEBUG] - Calling command ['"MsiExec.exe" /X{78568301-EF9E-4FEA-ABB8-85B6B6436F26} /qn /norestart']
2023-08-13 13:40:17,186 3252 [DEBUG] - Command ['"MsiExec.exe" /X{78568301-EF9E-4FEA-ABB8-85B6B6436F26} /qn /norestart'] exited with '0'
2023-08-13 13:40:17,201 3252 [INFO ] - Auto uninstaller has successfully uninstalled wazuh-agent or detected previous uninstall.
2023-08-13 13:40:17,201 3252 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-08-13 13:40:17,311 3252 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-08-13 13:40:17,326 3252 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\wazuh-agent".
2023-08-13 13:40:17,358 3252 [DEBUG] - Ensuring removal of installation files.
2023-08-13 13:40:17,374 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg'
with checksum '1FBEDC80382FE20C67983C7E9B5421A9'
2023-08-13 13:40:17,374 3252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nupkg".
2023-08-13 13:40:17,374 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec'
with checksum 'C245CED4863F9EB70902E7927148F2AB'
2023-08-13 13:40:17,389 3252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\wazuh-agent.nuspec".
2023-08-13 13:40:17,389 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1'
with checksum '4E5629413CBDAC3C1CF13A855BD47E58'
2023-08-13 13:40:17,405 3252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyinstall.ps1".
2023-08-13 13:40:17,405 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1'
with checksum 'E64EA2365BF83508C2E5F4D2E40253BB'
2023-08-13 13:40:17,419 3252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\chocolateyuninstall.ps1".
2023-08-13 13:40:17,419 3252 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1'
with checksum 'C7DA559B5059ADC05A97BE553DB2573F'
2023-08-13 13:40:17,435 3252 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\wazuh-agent\tools\helpers.ps1".
2023-08-13 13:40:17,435 3252 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\wazuh-agent".
2023-08-13 13:40:17,451 3252 [INFO ] - wazuh-agent has been successfully uninstalled.
2023-08-13 13:40:17,451 3252 [DEBUG] - Removing nupkg if it still exists.
2023-08-13 13:40:17,467 3252 [DEBUG] - Ensuring removal of installation files.
2023-08-13 13:40:17,529 3252 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2023-08-13 13:40:17,545 3252 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-08-13 13:40:17,562 3252 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment