Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created May 15, 2024 06:52
Show Gist options
  • Save choco-bot/796e855d3fa225b423d101c14f2eb469 to your computer and use it in GitHub Desktop.
Save choco-bot/796e855d3fa225b423d101c14f2eb469 to your computer and use it in GitHub Desktop.
ossec-agent v3.7.0.24343 - 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-253532681-2511955772-3608528611-1000</user>
<keys>
<key installerType="Unknown" displayName="OSSEC HIDS 3.7.0" displayVersion="3.7.0">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OSSEC</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA["C:\Program Files (x86)\ossec-agent\uninstall.exe"]]></UninstallString>
<HasQuietUninstall>false</HasQuietUninstall>
<Publisher><![CDATA[]]></Publisher>
<InstallDate />
<InstallSource><![CDATA[]]></InstallSource>
<Language />
<Version />
<VersionMajor />
<VersionMinor />
<SystemComponent>false</SystemComponent>
<WindowsInstaller>false</WindowsInstaller>
<NoRemove>false</NoRemove>
<NoModify>true</NoModify>
<NoRepair>true</NoRepair>
<ReleaseType />
<ParentKeyName />
</key>
</keys>
</registrySnapshot>

ossec-agent v3.7.0.24343 - Passed - Package Test Results

  • https://community.chocolatey.org/packages/ossec-agent/3.7.0.24343
  • Tested 15 May 2024 06:52:08 +00:00
  • Tested against chocolatey/test-environment 3.0.0 (Windows Server 2019)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.1.0
  • 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\ossec-agent\ossec-agent.nupkg" checksum="1E2B4DDFE9F61EF72FD0774F5AF186E4" />
<file path="C:\ProgramData\chocolatey\lib\ossec-agent\ossec-agent.nuspec" checksum="DBA9ADC33BF8DBFD9B3607F69528CBFB" />
<file path="C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyInstall.ps1" checksum="2DE138FBE2325FEE5674DF4F9B201C69" />
<file path="C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyUninstall.ps1" checksum="4FC4C95A7B07736C382B8B3254A48436" />
</files>
</fileSnapshot>
2024-05-15 06:51:11,829 892 [DEBUG] - XmlConfiguration is now operational
2024-05-15 06:51:11,969 892 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-15 06:51:11,969 892 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-15 06:51:11,969 892 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-15 06:51:11,985 892 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-05-15 06:51:11,985 892 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-15 06:51:11,997 892 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-05-15 06:51:11,997 892 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-15 06:51:11,997 892 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-05-15 06:51:12,017 892 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-15 06:51:12,017 892 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-05-15 06:51:12,017 892 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-05-15 06:51:13,073 892 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:13,104 892 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:13,104 892 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:13,104 892 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:13,104 892 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:13,104 892 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:13,104 892 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:13,104 892 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:13,131 892 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:13,137 892 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:13,169 892 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-05-15 06:51:13,169 892 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-05-15 06:51:13,169 892 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-05-15 06:51:13,169 892 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-05-15 06:51:13,169 892 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-05-15 06:51:13,198 892 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-05-15 06:51:13,198 892 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-05-15 06:51:13,198 892 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-05-15 06:51:13,198 892 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-05-15 06:51:13,198 892 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-05-15 06:51:13,198 892 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-05-15 06:51:13,198 892 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-05-15 06:51:13,229 892 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-05-15 06:51:13,229 892 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-05-15 06:51:13,229 892 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-05-15 06:51:13,229 892 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-05-15 06:51:13,229 892 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-05-15 06:51:13,253 892 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-05-15 06:51:13,262 892 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-05-15 06:51:13,262 892 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-05-15 06:51:13,575 892 [INFO ] - ============================================================
2024-05-15 06:51:13,890 892 [INFO ] - Chocolatey v2.2.2
2024-05-15 06:51:13,920 892 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-05-15 06:51:13,920 892 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-05-15 06:51:13,920 892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-05-15 06:51:13,953 892 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install ossec-agent --version 3.7.0.24343 -fdvy --execution-timeout=2700 --allow-downgrade
2024-05-15 06:51:13,953 892 [DEBUG] - Received arguments: install ossec-agent --version 3.7.0.24343 -fdvy --execution-timeout=2700 --allow-downgrade
2024-05-15 06:51:14,157 892 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-05-15 06:51:14,168 892 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-05-15 06:51:14,203 892 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-05-15 06:51:14,433 892 [DEBUG] - Performing validation checks.
2024-05-15 06:51:14,433 892 [DEBUG] - Global Configuration Validation Checks:
2024-05-15 06:51:14,433 892 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-05-15 06:51:14,467 892 [DEBUG] - System State Validation Checks:
2024-05-15 06:51:14,467 892 [DEBUG] - Reboot Requirement Checks:
2024-05-15 06:51:14,485 892 [DEBUG] - - Pending Computer Rename = Checked
2024-05-15 06:51:14,485 892 [DEBUG] - - Pending Component Based Servicing = Checked
2024-05-15 06:51:14,502 892 [DEBUG] - - Pending Windows Auto Update = Checked
2024-05-15 06:51:14,502 892 [DEBUG] - - Pending File Rename Operations = Ignored
2024-05-15 06:51:14,516 892 [DEBUG] - - Pending Windows Package Installer = Checked
2024-05-15 06:51:14,516 892 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-05-15 06:51:14,530 892 [DEBUG] - Cache Folder Lockdown Checks:
2024-05-15 06:51:14,530 892 [DEBUG] - - Elevated State = Checked
2024-05-15 06:51:14,530 892 [DEBUG] - - Folder Exists = Checked
2024-05-15 06:51:14,559 892 [DEBUG] - - Folder lockdown = Checked
2024-05-15 06:51:14,559 892 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-05-15 06:51:14,613 892 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-05-15 06:51:14,623 892 [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.
2024-05-15 06:51:14,642 892 [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='ossec-agent'|
Version='3.7.0.24343'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='ossec-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-61QG7TMK68V'|
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'|
2024-05-15 06:51:14,642 892 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2024-05-15 06:51:14,671 892 [INFO ] - Installing the following packages:
2024-05-15 06:51:14,685 892 [INFO ] - ossec-agent
2024-05-15 06:51:14,685 892 [INFO ] - By installing, you accept licenses for the packages.
2024-05-15 06:51:14,707 892 [DEBUG] - Current environment values (may contain sensitive data):
2024-05-15 06:51:14,707 892 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-05-15 06:51:14,718 892 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-05-15 06:51:14,718 892 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-05-15 06:51:14,718 892 [DEBUG] - * 'ChocolateyLastPathUpdate'='133601657534166129' ('User')
2024-05-15 06:51:14,718 892 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-05-15 06:51:14,718 892 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-05-15 06:51:14,718 892 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-05-15 06:51:14,739 892 [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')
2024-05-15 06:51:14,739 892 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-05-15 06:51:14,748 892 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-05-15 06:51:14,748 892 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-05-15 06:51:14,748 892 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-05-15 06:51:14,748 892 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-05-15 06:51:14,748 892 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-05-15 06:51:14,748 892 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-05-15 06:51:14,769 892 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-05-15 06:51:14,769 892 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-05-15 06:51:14,781 892 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-05-15 06:51:14,781 892 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-05-15 06:51:14,781 892 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-05-15 06:51:15,343 892 [DEBUG] - Running list with the following filter = ''
2024-05-15 06:51:15,343 892 [DEBUG] - --- Start of List ---
2024-05-15 06:51:15,437 892 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-05-15 06:51:15,893 892 [DEBUG] - chocolatey 2.2.2
2024-05-15 06:51:15,923 892 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-05-15 06:51:15,941 892 [DEBUG] - KB2919355 1.0.20160915
2024-05-15 06:51:15,951 892 [DEBUG] - KB2919442 1.0.20160915
2024-05-15 06:51:15,951 892 [DEBUG] - KB2999226 1.0.20181019
2024-05-15 06:51:15,951 892 [DEBUG] - KB3035131 1.0.3
2024-05-15 06:51:15,970 892 [DEBUG] - KB3118401 1.0.5
2024-05-15 06:51:15,999 892 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
2024-05-15 06:51:15,999 892 [DEBUG] - --- End of List ---
2024-05-15 06:51:16,026 892 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2024-05-15 06:51:16,749 892 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2024-05-15 06:51:17,374 892 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='ossec-agent',Version='3.7.0.24343')
2024-05-15 06:51:17,527 892 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='ossec-agent',Version='3.7.0.24343') 155ms
2024-05-15 06:51:17,675 892 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2024-05-15 06:51:18,339 892 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2024-05-15 06:51:18,339 892 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='ossec-agent',Version='3.7.0.24343')
2024-05-15 06:51:18,562 892 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2024-05-15 06:51:18,593 892 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2024-05-15 06:51:18,654 892 [DEBUG] - Attempting to delete file "".
2024-05-15 06:51:18,685 892 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/ossec-agent/3.7.0.24343
2024-05-15 06:51:19,092 892 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/ossec-agent/3.7.0.24343 390ms
2024-05-15 06:51:19,123 892 [INFO ] - [NuGet] Acquiring lock for the installation of ossec-agent 3.7.0.24343
2024-05-15 06:51:19,218 892 [INFO ] - [NuGet] Acquired lock for the installation of ossec-agent 3.7.0.24343
2024-05-15 06:51:19,592 892 [INFO ] - [NuGet] Installed ossec-agent 3.7.0.24343 from https://community.chocolatey.org/api/v2/ with content hash n9OKPYy3M6c62R2O7u8xQx9Xpaxl9nhkEwN8wfaCgh2TADp53hyHo7iE94X1Lk98Y+w6KHkbUYtAAgHM5RSVwg==.
2024-05-15 06:51:19,643 892 [INFO ] - [NuGet] Adding package 'ossec-agent.3.7.0.24343' to folder 'C:\ProgramData\chocolatey\lib'
2024-05-15 06:51:19,729 892 [INFO ] - [NuGet] Added package 'ossec-agent.3.7.0.24343' to folder 'C:\ProgramData\chocolatey\lib'
2024-05-15 06:51:19,729 892 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\ossec-agent/3.7.0.24343\ossec-agent.3.7.0.24343.nupkg".
2024-05-15 06:51:19,755 892 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\ossec-agent/3.7.0.24343\.nupkg.metadata".
2024-05-15 06:51:19,763 892 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\ossec-agent/3.7.0.24343\ossec-agent.3.7.0.24343.nupkg.sha512".
2024-05-15 06:51:19,763 892 [INFO ] -
ossec-agent v3.7.0.24343 (forced) [Approved]
2024-05-15 06:51:19,823 892 [INFO ] - ossec-agent package files install completed. Performing other installation steps.
2024-05-15 06:51:19,905 892 [DEBUG] - Setting installer args for ossec-agent
2024-05-15 06:51:19,924 892 [DEBUG] - Setting package parameters for ossec-agent
2024-05-15 06:51:19,938 892 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyInstall.ps1':
2024-05-15 06:51:19,954 892 [DEBUG] - $ErrorActionPreference = 'Stop';
$packageArgs = @{
packageName = $env:ChocolateyPackageName
installerType = 'exe'
url = 'https://updates.atomicorp.com/channels/atomic/windows/ossec-agent-win32-3.7.0-24343.exe'
checksum = '862b31fd64c70c760278a0d5408032e26dc6814a1ae24d64b5f3ae0ee2b343a4'
checksumType = 'SHA256'
silentArgs = '/S'
validExitCodes = @(0)
}
Install-ChocolateyPackage @packageArgs
2024-05-15 06:51:19,984 892 [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\ossec-agent\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2024-05-15 06:51:20,000 892 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-05-15 06:51:20,700 892 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-05-15 06:51:21,236 892 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-05-15 06:51:21,252 892 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-05-15 06:51:21,252 892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-05-15 06:51:21,266 892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-05-15 06:51:21,266 892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-05-15 06:51:21,266 892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-05-15 06:51:21,284 892 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-05-15 06:51:21,284 892 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-05-15 06:51:21,297 892 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-05-15 06:51:21,297 892 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-05-15 06:51:21,297 892 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-05-15 06:51:21,297 892 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-05-15 06:51:21,315 892 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-05-15 06:51:21,315 892 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-05-15 06:51:21,315 892 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-05-15 06:51:21,329 892 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-05-15 06:51:21,329 892 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-05-15 06:51:21,329 892 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-05-15 06:51:21,347 892 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-05-15 06:51:21,347 892 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-05-15 06:51:21,347 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-05-15 06:51:21,359 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-05-15 06:51:21,359 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-05-15 06:51:21,359 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-05-15 06:51:21,359 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-05-15 06:51:21,388 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-05-15 06:51:21,388 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-15 06:51:21,388 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-05-15 06:51:21,388 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-05-15 06:51:21,388 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-05-15 06:51:21,413 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-05-15 06:51:21,419 892 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-05-15 06:51:21,419 892 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-05-15 06:51:21,419 892 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-05-15 06:51:21,419 892 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-05-15 06:51:21,419 892 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-05-15 06:51:21,444 892 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-05-15 06:51:21,449 892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-15 06:51:21,449 892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-05-15 06:51:21,449 892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-05-15 06:51:21,449 892 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-05-15 06:51:21,449 892 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-05-15 06:51:21,475 892 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-05-15 06:51:21,481 892 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-05-15 06:51:21,481 892 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-05-15 06:51:21,481 892 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-05-15 06:51:21,481 892 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-05-15 06:51:21,505 892 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-05-15 06:51:21,505 892 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-05-15 06:51:21,513 892 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-05-15 06:51:21,513 892 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-05-15 06:51:21,564 892 [DEBUG] - Loading community extensions
2024-05-15 06:51:21,593 892 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-05-15 06:51:21,593 892 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-05-15 06:51:21,718 892 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-05-15 06:51:21,718 892 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-05-15 06:51:21,718 892 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-05-15 06:51:21,738 892 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-05-15 06:51:21,738 892 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-05-15 06:51:21,750 892 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-05-15 06:51:21,750 892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-05-15 06:51:21,750 892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-05-15 06:51:21,750 892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-05-15 06:51:21,770 892 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-05-15 06:51:21,770 892 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-05-15 06:51:21,781 892 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-05-15 06:51:21,781 892 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-05-15 06:51:21,781 892 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-05-15 06:51:21,781 892 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-05-15 06:51:21,781 892 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-05-15 06:51:21,800 892 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-05-15 06:51:21,800 892 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-05-15 06:51:21,813 892 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-05-15 06:51:21,813 892 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-05-15 06:51:21,813 892 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-05-15 06:51:21,830 892 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-05-15 06:51:21,830 892 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-05-15 06:51:21,830 892 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-05-15 06:51:21,830 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-05-15 06:51:21,847 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-05-15 06:51:21,847 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-05-15 06:51:21,860 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-05-15 06:51:21,860 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-05-15 06:51:21,860 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-05-15 06:51:21,860 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-15 06:51:21,878 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-05-15 06:51:21,878 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-05-15 06:51:21,890 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-05-15 06:51:21,890 892 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-05-15 06:51:21,890 892 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-05-15 06:51:21,890 892 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-05-15 06:51:21,909 892 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-05-15 06:51:21,909 892 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-05-15 06:51:21,909 892 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-05-15 06:51:21,922 892 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-05-15 06:51:21,922 892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-15 06:51:21,922 892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-05-15 06:51:21,941 892 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-05-15 06:51:21,941 892 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-05-15 06:51:21,941 892 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-05-15 06:51:21,953 892 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-05-15 06:51:21,953 892 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-05-15 06:51:21,953 892 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-05-15 06:51:21,972 892 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-05-15 06:51:21,972 892 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-05-15 06:51:21,984 892 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-05-15 06:51:21,984 892 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-05-15 06:51:21,984 892 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-05-15 06:51:22,004 892 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-05-15 06:51:22,004 892 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-05-15 06:51:22,016 892 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-05-15 06:51:22,016 892 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-05-15 06:51:22,016 892 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-05-15 06:51:22,033 892 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-05-15 06:51:22,033 892 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-05-15 06:51:22,033 892 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-05-15 06:51:22,049 892 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-05-15 06:51:22,049 892 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-05-15 06:51:22,049 892 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-05-15 06:51:22,064 892 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-05-15 06:51:22,064 892 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-05-15 06:51:22,079 892 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-05-15 06:51:22,079 892 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-05-15 06:51:22,079 892 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-05-15 06:51:22,079 892 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-05-15 06:51:22,097 892 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-05-15 06:51:22,097 892 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-05-15 06:51:22,097 892 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-05-15 06:51:22,127 892 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-05-15 06:51:22,127 892 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-05-15 06:51:22,127 892 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-05-15 06:51:22,145 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-05-15 06:51:22,145 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-05-15 06:51:22,156 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-05-15 06:51:22,156 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-05-15 06:51:22,156 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-05-15 06:51:22,156 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-05-15 06:51:22,177 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-15 06:51:22,186 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-05-15 06:51:22,186 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-05-15 06:51:22,186 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-05-15 06:51:22,186 892 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-05-15 06:51:22,186 892 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-05-15 06:51:22,209 892 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-05-15 06:51:22,217 892 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-05-15 06:51:22,217 892 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-05-15 06:51:22,279 892 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-05-15 06:51:22,302 892 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-05-15 06:51:22,302 892 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-05-15 06:51:22,312 892 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-05-15 06:51:22,312 892 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-15 06:51:22,312 892 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-05-15 06:51:22,312 892 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-05-15 06:51:22,312 892 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-05-15 06:51:22,333 892 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-05-15 06:51:22,333 892 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-05-15 06:51:22,343 892 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-05-15 06:51:22,343 892 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-05-15 06:51:22,343 892 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-05-15 06:51:22,343 892 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-05-15 06:51:22,371 892 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-05-15 06:51:22,371 892 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-05-15 06:51:22,371 892 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-05-15 06:51:22,371 892 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-05-15 06:51:22,463 892 [DEBUG] - ---------------------------Script Execution---------------------------
2024-05-15 06:51:22,498 892 [DEBUG] - Running 'ChocolateyScriptRunner' for ossec-agent v3.7.0.24343 with packageScript 'C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\ossec-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-05-15 06:51:22,548 892 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyInstall.ps1'
2024-05-15 06:51:22,732 892 [DEBUG] - Running Install-ChocolateyPackage -silentArgs '/S' -checksum '862b31fd64c70c760278a0d5408032e26dc6814a1ae24d64b5f3ae0ee2b343a4' -checksumType 'SHA256' -fileType 'exe' -validExitCodes '0' -url 'https://updates.atomicorp.com/channels/atomic/windows/ossec-agent-win32-3.7.0-24343.exe' -packageName 'ossec-agent'
2024-05-15 06:51:22,862 892 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'ossec-agent' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\ossec-agent\3.7.0.24343\ossec-agentInstall.exe' -url 'https://updates.atomicorp.com/channels/atomic/windows/ossec-agent-win32-3.7.0-24343.exe' -url64bit '' -checksum '862b31fd64c70c760278a0d5408032e26dc6814a1ae24d64b5f3ae0ee2b343a4' -checksumType 'SHA256' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
2024-05-15 06:51:22,937 892 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2024-05-15 06:51:23,000 892 [DEBUG] - CPU is 64 bit
2024-05-15 06:51:23,115 892 [DEBUG] - Running Get-WebFileName -url 'https://updates.atomicorp.com/channels/atomic/windows/ossec-agent-win32-3.7.0-24343.exe' -defaultName 'ossec-agentInstall.exe'
2024-05-15 06:51:24,092 892 [DEBUG] - Using response url to determine file name. 'https://updates.atomicorp.com/channels/atomic/windows/ossec-agent-win32-3.7.0-24343.exe'
2024-05-15 06:51:24,092 892 [DEBUG] - File name determined from url is 'ossec-agent-win32-3.7.0-24343.exe'
2024-05-15 06:51:24,158 892 [DEBUG] - Running Get-WebHeaders -url 'https://updates.atomicorp.com/channels/atomic/windows/ossec-agent-win32-3.7.0-24343.exe' -ErrorAction 'Stop'
2024-05-15 06:51:24,158 892 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-05-15 06:51:24,173 892 [DEBUG] - Request Headers:
2024-05-15 06:51:24,173 892 [DEBUG] - 'Accept':'*/*'
2024-05-15 06:51:24,190 892 [DEBUG] - 'User-Agent':'chocolatey command line'
2024-05-15 06:51:24,823 892 [DEBUG] - Response Headers:
2024-05-15 06:51:24,855 892 [DEBUG] - 'Connection':'keep-alive'
2024-05-15 06:51:24,855 892 [DEBUG] - 'Accept-Ranges':'bytes'
2024-05-15 06:51:24,855 892 [DEBUG] - 'Content-Length':'1686408'
2024-05-15 06:51:24,855 892 [DEBUG] - 'Content-Type':'application/octet-stream'
2024-05-15 06:51:24,888 892 [DEBUG] - 'Date':'Wed, 15 May 2024 06:51:24 GMT'
2024-05-15 06:51:24,888 892 [DEBUG] - 'ETag':'"19bb88-5d5cb2a79d865"'
2024-05-15 06:51:24,888 892 [DEBUG] - 'Last-Modified':'Mon, 17 Jan 2022 18:17:31 GMT'
2024-05-15 06:51:24,909 892 [DEBUG] - 'Server':'nginx/1.20.1'
2024-05-15 06:51:24,971 892 [INFO ] - Downloading ossec-agent
from 'https://updates.atomicorp.com/channels/atomic/windows/ossec-agent-win32-3.7.0-24343.exe'
2024-05-15 06:51:25,111 892 [DEBUG] - Running Get-WebFile -url 'https://updates.atomicorp.com/channels/atomic/windows/ossec-agent-win32-3.7.0-24343.exe' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\ossec-agent\3.7.0.24343\ossec-agent-win32-3.7.0-24343.exe' -options 'System.Collections.Hashtable'
2024-05-15 06:51:25,144 892 [DEBUG] - Setting request timeout to 30000
2024-05-15 06:51:25,154 892 [DEBUG] - Setting read/write timeout to 2700000
2024-05-15 06:51:25,154 892 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-05-15 06:51:26,095 892 [DEBUG] - Downloading https://updates.atomicorp.com/channels/atomic/windows/ossec-agent-win32-3.7.0-24343.exe to C:\Users\vagrant\AppData\Local\Temp\chocolatey\ossec-agent\3.7.0.24343\ossec-agent-win32-3.7.0-24343.exe
2024-05-15 06:51:26,343 892 [INFO ] -
2024-05-15 06:51:26,343 892 [INFO ] - Download of ossec-agent-win32-3.7.0-24343.exe (1.61 MB) completed.
2024-05-15 06:51:29,419 892 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2024-05-15 06:51:29,419 892 [DEBUG] - Verifying package provided checksum of '862b31fd64c70c760278a0d5408032e26dc6814a1ae24d64b5f3ae0ee2b343a4' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\ossec-agent\3.7.0.24343\ossec-agent-win32-3.7.0-24343.exe'.
2024-05-15 06:51:29,450 892 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\ossec-agent\3.7.0.24343\ossec-agent-win32-3.7.0-24343.exe' -checksum '862b31fd64c70c760278a0d5408032e26dc6814a1ae24d64b5f3ae0ee2b343a4' -checksumType 'SHA256' -originalUrl 'https://updates.atomicorp.com/channels/atomic/windows/ossec-agent-win32-3.7.0-24343.exe'
2024-05-15 06:51:29,473 892 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2024-05-15 06:51:29,483 892 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="862b31fd64c70c760278a0d5408032e26dc6814a1ae24d64b5f3ae0ee2b343a4" -t="SHA256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\ossec-agent\3.7.0.24343\ossec-agent-win32-3.7.0-24343.exe"]
2024-05-15 06:51:30,641 892 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="862b31fd64c70c760278a0d5408032e26dc6814a1ae24d64b5f3ae0ee2b343a4" -t="SHA256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\ossec-agent\3.7.0.24343\ossec-agent-win32-3.7.0-24343.exe"] exited with '0'.
2024-05-15 06:51:30,778 892 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'ossec-agent' -fileType 'exe' -silentArgs '/S' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\ossec-agent\3.7.0.24343\ossec-agent-win32-3.7.0-24343.exe' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
2024-05-15 06:51:30,797 892 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
2024-05-15 06:51:30,797 892 [INFO ] - Installing ossec-agent...
2024-05-15 06:51:30,953 892 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\ossec-agent\3.7.0.24343' -statements '/S ' -exeToRun 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\ossec-agent\3.7.0.24343\ossec-agent-win32-3.7.0-24343.exe'
2024-05-15 06:51:31,034 892 [DEBUG] - Test-ProcessAdminRights: returning True
2024-05-15 06:51:31,047 892 [DEBUG] - Elevating permissions and running ["C:\Users\vagrant\AppData\Local\Temp\chocolatey\ossec-agent\3.7.0.24343\ossec-agent-win32-3.7.0-24343.exe" /S ]. This may take a while, depending on the statements.
2024-05-15 06:51:34,231 892 [DEBUG] - Command ["C:\Users\vagrant\AppData\Local\Temp\chocolatey\ossec-agent\3.7.0.24343\ossec-agent-win32-3.7.0-24343.exe" /S ] exited with '0'.
2024-05-15 06:51:34,262 892 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2024-05-15 06:51:34,285 892 [INFO ] - ossec-agent has been installed.
2024-05-15 06:51:34,330 892 [DEBUG] - ----------------------------------------------------------------------
2024-05-15 06:51:34,371 892 [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\ossec-agent\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2024-05-15 06:51:34,392 892 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-05-15 06:51:34,639 892 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-05-15 06:51:34,655 892 [INFO ] - ossec-agent may be able to be automatically uninstalled.
2024-05-15 06:51:34,984 892 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\ossec-agent'
2024-05-15 06:51:34,998 892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ossec-agent\ossec-agent.nupkg'
with checksum '1E2B4DDFE9F61EF72FD0774F5AF186E4'
2024-05-15 06:51:34,998 892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ossec-agent\ossec-agent.nuspec'
with checksum 'DBA9ADC33BF8DBFD9B3607F69528CBFB'
2024-05-15 06:51:35,018 892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyInstall.ps1'
with checksum '2DE138FBE2325FEE5674DF4F9B201C69'
2024-05-15 06:51:35,029 892 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyUninstall.ps1'
with checksum '4FC4C95A7B07736C382B8B3254A48436'
2024-05-15 06:51:35,108 892 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\ossec-agent.3.7.0.24343".
2024-05-15 06:51:35,190 892 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\ossec-agent.3.7.0.24343\.registry'
2024-05-15 06:51:35,329 892 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\ossec-agent.3.7.0.24343\.files'
2024-05-15 06:51:35,362 892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ossec-agent.3.7.0.24343\.extra".
2024-05-15 06:51:35,390 892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ossec-agent.3.7.0.24343\.version".
2024-05-15 06:51:35,407 892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ossec-agent.3.7.0.24343\.sxs".
2024-05-15 06:51:35,421 892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\ossec-agent.3.7.0.24343\.pin".
2024-05-15 06:51:35,421 892 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-05-15 06:51:35,446 892 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\ossec-agent\.chocolateyPending".
2024-05-15 06:51:35,448 892 [INFO ] - The install of ossec-agent was successful.
2024-05-15 06:51:35,448 892 [INFO ] - Software installed as 'exe', install location is likely default.
2024-05-15 06:51:35,482 892 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-05-15 06:51:35,548 892 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-05-15 06:51:35,685 892 [DEBUG] - Exiting with 0
2024-05-15 06:51:52,912 4756 [DEBUG] - XmlConfiguration is now operational
2024-05-15 06:51:53,085 4756 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-15 06:51:53,085 4756 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-15 06:51:53,085 4756 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-15 06:51:53,085 4756 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-05-15 06:51:53,085 4756 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-15 06:51:53,101 4756 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-05-15 06:51:53,101 4756 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-15 06:51:53,101 4756 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-05-15 06:51:53,101 4756 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-15 06:51:53,116 4756 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-05-15 06:51:53,116 4756 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-05-15 06:51:54,143 4756 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:54,164 4756 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:54,181 4756 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:54,181 4756 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:54,190 4756 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:54,190 4756 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:54,190 4756 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:54,190 4756 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:54,190 4756 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:54,190 4756 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-15 06:51:54,241 4756 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-05-15 06:51:54,241 4756 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-05-15 06:51:54,256 4756 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-05-15 06:51:54,256 4756 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-05-15 06:51:54,256 4756 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-05-15 06:51:54,256 4756 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-05-15 06:51:54,256 4756 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-05-15 06:51:54,277 4756 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-05-15 06:51:54,277 4756 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-05-15 06:51:54,286 4756 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-05-15 06:51:54,286 4756 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-05-15 06:51:54,286 4756 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-05-15 06:51:54,286 4756 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-05-15 06:51:54,286 4756 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-05-15 06:51:54,286 4756 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-05-15 06:51:54,315 4756 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-05-15 06:51:54,315 4756 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-05-15 06:51:54,315 4756 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-05-15 06:51:54,315 4756 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-05-15 06:51:54,315 4756 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-05-15 06:51:54,581 4756 [INFO ] - ============================================================
2024-05-15 06:51:54,941 4756 [INFO ] - Chocolatey v2.2.2
2024-05-15 06:51:54,975 4756 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-05-15 06:51:54,975 4756 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-05-15 06:51:54,975 4756 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-05-15 06:51:55,006 4756 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall ossec-agent --version 3.7.0.24343 -dvy --execution-timeout=2700
2024-05-15 06:51:55,006 4756 [DEBUG] - Received arguments: uninstall ossec-agent --version 3.7.0.24343 -dvy --execution-timeout=2700
2024-05-15 06:51:55,147 4756 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-05-15 06:51:55,180 4756 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-05-15 06:51:55,209 4756 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-05-15 06:51:55,335 4756 [DEBUG] - Performing validation checks.
2024-05-15 06:51:55,349 4756 [DEBUG] - Global Configuration Validation Checks:
2024-05-15 06:51:55,349 4756 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-05-15 06:51:55,368 4756 [DEBUG] - System State Validation Checks:
2024-05-15 06:51:55,380 4756 [DEBUG] - Reboot Requirement Checks:
2024-05-15 06:51:55,380 4756 [DEBUG] - - Pending Computer Rename = Checked
2024-05-15 06:51:55,380 4756 [DEBUG] - - Pending Component Based Servicing = Checked
2024-05-15 06:51:55,401 4756 [DEBUG] - - Pending Windows Auto Update = Checked
2024-05-15 06:51:55,401 4756 [DEBUG] - - Pending File Rename Operations = Ignored
2024-05-15 06:51:55,411 4756 [DEBUG] - - Pending Windows Package Installer = Checked
2024-05-15 06:51:55,411 4756 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-05-15 06:51:55,432 4756 [DEBUG] - Cache Folder Lockdown Checks:
2024-05-15 06:51:55,432 4756 [DEBUG] - - Elevated State = Checked
2024-05-15 06:51:55,443 4756 [DEBUG] - - Folder Exists = Checked
2024-05-15 06:51:55,443 4756 [DEBUG] - - Folder lockdown = Checked
2024-05-15 06:51:55,461 4756 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-05-15 06:51:55,525 4756 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-05-15 06:51:55,525 4756 [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.
2024-05-15 06:51:55,553 4756 [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='ossec-agent'|
Version='3.7.0.24343'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='ossec-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-61QG7TMK68V'|
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'|
2024-05-15 06:51:55,553 4756 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2024-05-15 06:51:55,583 4756 [INFO ] - Uninstalling the following packages:
2024-05-15 06:51:55,583 4756 [INFO ] - ossec-agent
2024-05-15 06:51:55,604 4756 [DEBUG] - Current environment values (may contain sensitive data):
2024-05-15 06:51:55,614 4756 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-05-15 06:51:55,614 4756 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-05-15 06:51:55,614 4756 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-05-15 06:51:55,614 4756 [DEBUG] - * 'ChocolateyLastPathUpdate'='133601657534166129' ('User')
2024-05-15 06:51:55,634 4756 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-05-15 06:51:55,634 4756 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-05-15 06:51:55,634 4756 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-05-15 06:51:55,648 4756 [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')
2024-05-15 06:51:55,648 4756 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-05-15 06:51:55,648 4756 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-05-15 06:51:55,664 4756 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-05-15 06:51:55,664 4756 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-05-15 06:51:55,677 4756 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-05-15 06:51:55,677 4756 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-05-15 06:51:55,677 4756 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-05-15 06:51:55,695 4756 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-05-15 06:51:55,712 4756 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-05-15 06:51:55,712 4756 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-05-15 06:51:55,712 4756 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-05-15 06:51:55,726 4756 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-05-15 06:51:55,927 4756 [DEBUG] - Running list with the following filter = ''
2024-05-15 06:51:55,927 4756 [DEBUG] - --- Start of List ---
2024-05-15 06:51:56,197 4756 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-05-15 06:51:56,678 4756 [DEBUG] - chocolatey 2.2.2
2024-05-15 06:51:56,698 4756 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-05-15 06:51:56,710 4756 [DEBUG] - KB2919355 1.0.20160915
2024-05-15 06:51:56,710 4756 [DEBUG] - KB2919442 1.0.20160915
2024-05-15 06:51:56,726 4756 [DEBUG] - KB2999226 1.0.20181019
2024-05-15 06:51:56,726 4756 [DEBUG] - KB3035131 1.0.3
2024-05-15 06:51:56,742 4756 [DEBUG] - KB3118401 1.0.5
2024-05-15 06:51:56,878 4756 [DEBUG] - ossec-agent 3.7.0.24343
2024-05-15 06:51:56,878 4756 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
2024-05-15 06:51:56,878 4756 [DEBUG] - --- End of List ---
2024-05-15 06:51:56,909 4756 [DEBUG] - Running list with the following filter = ''
2024-05-15 06:51:56,909 4756 [DEBUG] - --- Start of List ---
2024-05-15 06:51:56,938 4756 [DEBUG] - chocolatey 2.2.2
2024-05-15 06:51:56,938 4756 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-05-15 06:51:56,969 4756 [DEBUG] - KB2919355 1.0.20160915
2024-05-15 06:51:56,969 4756 [DEBUG] - KB2919442 1.0.20160915
2024-05-15 06:51:56,969 4756 [DEBUG] - KB2999226 1.0.20181019
2024-05-15 06:51:56,995 4756 [DEBUG] - KB3035131 1.0.3
2024-05-15 06:51:57,004 4756 [DEBUG] - KB3118401 1.0.5
2024-05-15 06:51:57,032 4756 [DEBUG] - ossec-agent 3.7.0.24343
2024-05-15 06:51:57,032 4756 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
2024-05-15 06:51:57,032 4756 [DEBUG] - --- End of List ---
2024-05-15 06:51:57,095 4756 [DEBUG] - Running list with the following filter = ''
2024-05-15 06:51:57,095 4756 [DEBUG] - --- Start of List ---
2024-05-15 06:51:57,128 4756 [DEBUG] - chocolatey 2.2.2
2024-05-15 06:51:57,128 4756 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-05-15 06:51:57,128 4756 [DEBUG] - KB2919355 1.0.20160915
2024-05-15 06:51:57,156 4756 [DEBUG] - KB2919442 1.0.20160915
2024-05-15 06:51:57,156 4756 [DEBUG] - KB2999226 1.0.20181019
2024-05-15 06:51:57,156 4756 [DEBUG] - KB3035131 1.0.3
2024-05-15 06:51:57,156 4756 [DEBUG] - KB3118401 1.0.5
2024-05-15 06:51:57,189 4756 [DEBUG] - ossec-agent 3.7.0.24343
2024-05-15 06:51:57,218 4756 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
2024-05-15 06:51:57,220 4756 [DEBUG] - --- End of List ---
2024-05-15 06:51:57,284 4756 [INFO ] -
ossec-agent v3.7.0.24343
2024-05-15 06:51:57,316 4756 [DEBUG] - Running beforeModify step for 'ossec-agent'
2024-05-15 06:51:57,368 4756 [DEBUG] - Backing up package files for 'ossec-agent'
2024-05-15 06:51:57,505 4756 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp\ossec-agent".
2024-05-15 06:51:57,505 4756 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\ossec-agent to C:\ProgramData\chocolatey\lib-bkp\ossec-agent\3.7.0.24343
2024-05-15 06:51:57,505 4756 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\ossec-agent'
to 'C:\ProgramData\chocolatey\lib-bkp\ossec-agent\3.7.0.24343'
2024-05-15 06:51:59,542 4756 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\ossec-agent".
2024-05-15 06:51:59,549 4756 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ossec-agent\3.7.0.24343\ossec-agent.nupkg"
to "C:\ProgramData\chocolatey\lib\ossec-agent\ossec-agent.nupkg".
2024-05-15 06:51:59,549 4756 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ossec-agent\3.7.0.24343\ossec-agent.nuspec"
to "C:\ProgramData\chocolatey\lib\ossec-agent\ossec-agent.nuspec".
2024-05-15 06:51:59,568 4756 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\ossec-agent\tools".
2024-05-15 06:51:59,568 4756 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ossec-agent\3.7.0.24343\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyInstall.ps1".
2024-05-15 06:51:59,581 4756 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\ossec-agent\3.7.0.24343\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyUninstall.ps1".
2024-05-15 06:52:01,110 4756 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\ossec-agent'
2024-05-15 06:52:01,110 4756 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ossec-agent\ossec-agent.nupkg'
with checksum '1E2B4DDFE9F61EF72FD0774F5AF186E4'
2024-05-15 06:52:01,110 4756 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ossec-agent\ossec-agent.nuspec'
with checksum 'DBA9ADC33BF8DBFD9B3607F69528CBFB'
2024-05-15 06:52:01,110 4756 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyInstall.ps1'
with checksum '2DE138FBE2325FEE5674DF4F9B201C69'
2024-05-15 06:52:01,136 4756 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyUninstall.ps1'
with checksum '4FC4C95A7B07736C382B8B3254A48436'
2024-05-15 06:52:01,174 4756 [DEBUG] - Setting installer args for ossec-agent
2024-05-15 06:52:01,196 4756 [DEBUG] - Setting package parameters for ossec-agent
2024-05-15 06:52:01,196 4756 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyUninstall.ps1':
2024-05-15 06:52:01,225 4756 [DEBUG] - $ErrorActionPreference = 'Stop';
$packageArgs = @{
packageName = 'ossec-client'
fileType = 'exe'
silentargs = '/S'
validExitCodes = @(0)
file = 'C:\Program Files (x86)\ossec-agent\uninstall.exe'
}
UnInstall-ChocolateyPackage @packageArgs
2024-05-15 06:52:01,258 4756 [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\ossec-agent\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2024-05-15 06:52:01,270 4756 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-05-15 06:52:01,938 4756 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-05-15 06:52:02,347 4756 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-05-15 06:52:02,370 4756 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-05-15 06:52:02,378 4756 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-05-15 06:52:02,378 4756 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-05-15 06:52:02,378 4756 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-05-15 06:52:02,398 4756 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-05-15 06:52:02,398 4756 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-05-15 06:52:02,410 4756 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-05-15 06:52:02,410 4756 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-05-15 06:52:02,410 4756 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-05-15 06:52:02,427 4756 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-05-15 06:52:02,427 4756 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-05-15 06:52:02,442 4756 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-05-15 06:52:02,442 4756 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-05-15 06:52:02,457 4756 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-05-15 06:52:02,457 4756 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-05-15 06:52:02,457 4756 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-05-15 06:52:02,457 4756 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-05-15 06:52:02,473 4756 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-05-15 06:52:02,473 4756 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-05-15 06:52:02,473 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-05-15 06:52:02,491 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-05-15 06:52:02,491 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-05-15 06:52:02,491 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-05-15 06:52:02,503 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-05-15 06:52:02,503 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-05-15 06:52:02,503 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-15 06:52:02,523 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-05-15 06:52:02,523 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-05-15 06:52:02,523 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-05-15 06:52:02,536 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-05-15 06:52:02,536 4756 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-05-15 06:52:02,536 4756 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-05-15 06:52:02,551 4756 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-05-15 06:52:02,551 4756 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-05-15 06:52:02,551 4756 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-05-15 06:52:02,570 4756 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-05-15 06:52:02,570 4756 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-15 06:52:02,583 4756 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-05-15 06:52:02,583 4756 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-05-15 06:52:02,600 4756 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-05-15 06:52:02,615 4756 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-05-15 06:52:02,615 4756 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-05-15 06:52:02,615 4756 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-05-15 06:52:02,631 4756 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-05-15 06:52:02,649 4756 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-05-15 06:52:02,649 4756 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-05-15 06:52:02,660 4756 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-05-15 06:52:02,660 4756 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-05-15 06:52:02,677 4756 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-05-15 06:52:02,677 4756 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-05-15 06:52:02,726 4756 [DEBUG] - Loading community extensions
2024-05-15 06:52:02,772 4756 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-05-15 06:52:02,772 4756 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-05-15 06:52:02,885 4756 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-05-15 06:52:02,894 4756 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-05-15 06:52:02,894 4756 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-05-15 06:52:02,913 4756 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-05-15 06:52:02,913 4756 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-05-15 06:52:02,927 4756 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-05-15 06:52:02,927 4756 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-05-15 06:52:02,945 4756 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-05-15 06:52:02,945 4756 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-05-15 06:52:02,945 4756 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-05-15 06:52:02,957 4756 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-05-15 06:52:02,957 4756 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-05-15 06:52:02,957 4756 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-05-15 06:52:02,974 4756 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-05-15 06:52:02,974 4756 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-05-15 06:52:02,989 4756 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-05-15 06:52:02,989 4756 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-05-15 06:52:02,989 4756 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-05-15 06:52:03,008 4756 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-05-15 06:52:03,008 4756 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-05-15 06:52:03,023 4756 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-05-15 06:52:03,023 4756 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-05-15 06:52:03,023 4756 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-05-15 06:52:03,034 4756 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-05-15 06:52:03,034 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-05-15 06:52:03,034 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-05-15 06:52:03,053 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-05-15 06:52:03,053 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-05-15 06:52:03,069 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-05-15 06:52:03,069 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-05-15 06:52:03,069 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-15 06:52:03,069 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-05-15 06:52:03,088 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-05-15 06:52:03,088 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-05-15 06:52:03,100 4756 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-05-15 06:52:03,100 4756 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-05-15 06:52:03,100 4756 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-05-15 06:52:03,100 4756 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-05-15 06:52:03,129 4756 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-05-15 06:52:03,129 4756 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-05-15 06:52:03,129 4756 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-05-15 06:52:03,149 4756 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-15 06:52:03,158 4756 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-05-15 06:52:03,158 4756 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-05-15 06:52:03,181 4756 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-05-15 06:52:03,181 4756 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-05-15 06:52:03,191 4756 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-05-15 06:52:03,191 4756 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-05-15 06:52:03,208 4756 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-05-15 06:52:03,227 4756 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-05-15 06:52:03,227 4756 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-05-15 06:52:03,239 4756 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-05-15 06:52:03,239 4756 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-05-15 06:52:03,255 4756 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-05-15 06:52:03,255 4756 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-05-15 06:52:03,269 4756 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-05-15 06:52:03,269 4756 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-05-15 06:52:03,290 4756 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-05-15 06:52:03,290 4756 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-05-15 06:52:03,301 4756 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-05-15 06:52:03,301 4756 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-05-15 06:52:03,301 4756 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-05-15 06:52:03,301 4756 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-05-15 06:52:03,319 4756 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-05-15 06:52:03,319 4756 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-05-15 06:52:03,334 4756 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-05-15 06:52:03,334 4756 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-05-15 06:52:03,350 4756 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-05-15 06:52:03,350 4756 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-05-15 06:52:03,366 4756 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-05-15 06:52:03,366 4756 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-05-15 06:52:03,366 4756 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-05-15 06:52:03,379 4756 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-05-15 06:52:03,379 4756 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-05-15 06:52:03,399 4756 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-05-15 06:52:03,399 4756 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-05-15 06:52:03,867 4756 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-05-15 06:52:03,879 4756 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-05-15 06:52:03,897 4756 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-05-15 06:52:03,897 4756 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-05-15 06:52:03,912 4756 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-05-15 06:52:03,912 4756 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-05-15 06:52:03,912 4756 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-05-15 06:52:03,912 4756 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-15 06:52:03,933 4756 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-05-15 06:52:03,941 4756 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-05-15 06:52:03,941 4756 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-05-15 06:52:03,941 4756 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-05-15 06:52:03,941 4756 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-05-15 06:52:03,965 4756 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-05-15 06:52:03,972 4756 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-05-15 06:52:03,972 4756 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-05-15 06:52:03,972 4756 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-05-15 06:52:03,972 4756 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-05-15 06:52:03,997 4756 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-05-15 06:52:04,003 4756 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-05-15 06:52:04,003 4756 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-15 06:52:04,026 4756 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-05-15 06:52:04,026 4756 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-05-15 06:52:04,035 4756 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-05-15 06:52:04,035 4756 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-05-15 06:52:04,035 4756 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-05-15 06:52:04,035 4756 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-05-15 06:52:04,063 4756 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-05-15 06:52:04,063 4756 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-05-15 06:52:04,063 4756 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-05-15 06:52:04,063 4756 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-05-15 06:52:04,063 4756 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-05-15 06:52:04,063 4756 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-05-15 06:52:04,096 4756 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-05-15 06:52:04,185 4756 [DEBUG] - ---------------------------Script Execution---------------------------
2024-05-15 06:52:04,188 4756 [DEBUG] - Running 'ChocolateyScriptRunner' for ossec-agent v3.7.0.24343 with packageScript 'C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyUninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\ossec-agent', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-05-15 06:52:04,220 4756 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyUninstall.ps1'
2024-05-15 06:52:04,314 4756 [DEBUG] - Running UnInstall-ChocolateyPackage -validExitCodes '0' -fileType 'exe' -silentArgs '/S' -packageName 'ossec-client' -file 'C:\Program Files (x86)\ossec-agent\uninstall.exe'
2024-05-15 06:52:04,346 4756 [INFO ] - Uninstalling ossec-client...
2024-05-15 06:52:04,504 4756 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -statements '/S ' -exeToRun 'C:\Program Files (x86)\ossec-agent\uninstall.exe'
2024-05-15 06:52:04,567 4756 [DEBUG] - Test-ProcessAdminRights: returning True
2024-05-15 06:52:04,598 4756 [DEBUG] - Elevating permissions and running ["C:\Program Files (x86)\ossec-agent\uninstall.exe" /S ]. This may take a while, depending on the statements.
2024-05-15 06:52:05,026 4756 [DEBUG] - Command ["C:\Program Files (x86)\ossec-agent\uninstall.exe" /S ] exited with '0'.
2024-05-15 06:52:05,062 4756 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2024-05-15 06:52:05,062 4756 [INFO ] - 0
2024-05-15 06:52:05,062 4756 [INFO ] - ossec-client has been uninstalled.
2024-05-15 06:52:05,096 4756 [DEBUG] - ----------------------------------------------------------------------
2024-05-15 06:52:05,119 4756 [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\ossec-agent\tools\chocolateyUninstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2024-05-15 06:52:05,164 4756 [INFO ] - Running auto uninstaller...
2024-05-15 06:52:05,175 4756 [DEBUG] - Sleeping for 2 seconds to allow Windows to finish cleaning up.
2024-05-15 06:52:07,207 4756 [DEBUG] - Preparing uninstall key '"C:\Program Files (x86)\ossec-agent\uninstall.exe"' for 'OSSEC HIDS 3.7.0'
2024-05-15 06:52:07,240 4756 [INFO ] - Skipping auto uninstaller - 'OSSEC HIDS 3.7.0' appears to have been uninstalled already by other means.
2024-05-15 06:52:07,240 4756 [DEBUG] - Searched for install path '' - found? False
2024-05-15 06:52:07,267 4756 [DEBUG] - Searched for registry key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OSSEC' value 'InstallLocation' - found? False
2024-05-15 06:52:07,267 4756 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-05-15 06:52:07,415 4756 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-05-15 06:52:07,444 4756 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\ossec-agent".
2024-05-15 06:52:07,474 4756 [DEBUG] - Ensuring removal of installation files.
2024-05-15 06:52:07,474 4756 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ossec-agent\ossec-agent.nupkg'
with checksum '1E2B4DDFE9F61EF72FD0774F5AF186E4'
2024-05-15 06:52:07,491 4756 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\ossec-agent\ossec-agent.nupkg".
2024-05-15 06:52:07,491 4756 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ossec-agent\ossec-agent.nuspec'
with checksum 'DBA9ADC33BF8DBFD9B3607F69528CBFB'
2024-05-15 06:52:07,491 4756 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\ossec-agent\ossec-agent.nuspec".
2024-05-15 06:52:07,491 4756 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyInstall.ps1'
with checksum '2DE138FBE2325FEE5674DF4F9B201C69'
2024-05-15 06:52:07,514 4756 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyInstall.ps1".
2024-05-15 06:52:07,518 4756 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyUninstall.ps1'
with checksum '4FC4C95A7B07736C382B8B3254A48436'
2024-05-15 06:52:07,518 4756 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\ossec-agent\tools\chocolateyUninstall.ps1".
2024-05-15 06:52:07,518 4756 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib\ossec-agent".
2024-05-15 06:52:07,518 4756 [INFO ] - ossec-agent has been successfully uninstalled.
2024-05-15 06:52:07,549 4756 [DEBUG] - Removing nupkg if it still exists.
2024-05-15 06:52:07,549 4756 [DEBUG] - Ensuring removal of installation files.
2024-05-15 06:52:07,581 4756 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-05-15 06:52:07,612 4756 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-05-15 06:52:07,628 4756 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment