Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
osquery v3.4.0 - Passed - Package Tests Results

osquery v3.4.0 - Passed - Package Test Results

  • https://chocolatey.org/packages/osquery/3.4.0
  • Tested 24 Jul 2019 07:51:39 +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 v0.4.0-38-g3187e94
  • 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\osquery\osquery.nupkg" checksum="2D8A90CB34141F53E538A3E7DD8D2375" />
<file path="C:\ProgramData\chocolatey\lib\osquery\osquery.nuspec" checksum="A629BE9732A34F7B0FB0388F7160CC7E" />
<file path="C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyBeforeModify.ps1" checksum="76A42C245B2F0049FB8F1DAF4B6E6C65" />
<file path="C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyinstall.ps1" checksum="B5A990A99B0DEF21862B5A9FE93C03C9" />
<file path="C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyuninstall.ps1" checksum="892D485A47E61F78C9CF316F31C4BEE1" />
<file path="C:\ProgramData\chocolatey\lib\osquery\tools\LICENSE.txt" checksum="DD399CA08A28F2D449C22B56D76CC606" />
<file path="C:\ProgramData\chocolatey\lib\osquery\tools\osquery_utils.ps1" checksum="2835A38236767FD1A9D573CAC66251DA" />
<file path="C:\ProgramData\chocolatey\lib\osquery\tools\VERIFICATION.txt" checksum="9E980C89F72D9FF31BE8704DE6771CF1" />
<file path="C:\ProgramData\chocolatey\lib\osquery\tools\bin\osquery.zip" checksum="E3506D2FA932ACA7A1A2D697D6F73B29" />
</files>
</fileSnapshot>
2019-07-24 07:49:18,373 724 [WARN ] - Chocolatey timed out waiting for the command to finish. The timeout
specified (or the default value) was '2700' seconds. Perhaps try a
higher `--execution-timeout`? See `choco -h` for details.
2019-07-24 07:49:18,389 724 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-07-24 07:49:18,467 724 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-07-24 07:49:18,779 724 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\alcohol52-free'
2019-07-24 07:49:18,842 724 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\alcohol52-free\alcohol52-free.nupkg'
with checksum 'B3C6BD2402FBCD909CB4DD9B777A1BBD'
2019-07-24 07:49:18,857 724 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\alcohol52-free\alcohol52-free.nuspec'
with checksum '4F74CF64DA72072BBBD4A65C152EC882'
2019-07-24 07:49:18,951 724 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\alcohol52-free\tools\alcohol52-free.installer.exe'
with checksum '78991EB853BC1F113D64FEE3C11774BD'
2019-07-24 07:49:18,968 724 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\alcohol52-free\tools\chocolateyInstall.ps1'
with checksum 'E9118B1389826B114C8F10DC048D8120'
2019-07-24 07:49:19,029 724 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2019-07-24 07:49:19,045 724 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\alcohol52-free.2.0.3.9326".
2019-07-24 07:49:19,092 724 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\alcohol52-free.2.0.3.9326\.files'
2019-07-24 07:49:19,107 724 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\alcohol52-free.2.0.3.9326\.arguments".
2019-07-24 07:49:19,107 724 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\alcohol52-free.2.0.3.9326\.extra".
2019-07-24 07:49:19,107 724 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\alcohol52-free.2.0.3.9326\.version".
2019-07-24 07:49:19,107 724 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\alcohol52-free.2.0.3.9326\.sxs".
2019-07-24 07:49:19,123 724 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\alcohol52-free.2.0.3.9326\.pin".
2019-07-24 07:49:19,123 724 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-07-24 07:49:19,139 724 [ERROR] - The install of alcohol52-free was NOT successful.
2019-07-24 07:49:19,154 724 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\alcohol52-free\tools\chocolateyInstall.ps1'.
See log for details.
2019-07-24 07:49:19,154 724 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2019-07-24 07:49:19,170 724 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\alcohol52-free'
to 'C:\ProgramData\chocolatey\lib-bad\alcohol52-free'
2019-07-24 07:49:19,373 724 [WARN ] - This is try 1/3. Retrying after 300 milliseconds.
Error converted to warning:
System.UnauthorizedAccessException: (5) Access is denied: [\\?\C:\ProgramData\chocolatey\lib-bad\alcohol52-free]
at Alphaleonis.Win32.NativeError.ThrowException(UInt32 errorCode, String readPath, String writePath)
at Alphaleonis.Win32.Filesystem.File.CopyMoveCore(Boolean isFolder, KernelTransaction transaction, String sourcePath, String destinationPath, Boolean preserveDates, Nullable`1 copyOptions, Nullable`1 moveOptions, CopyMoveProgressRoutine progressHandler, Object userProgressData, PathFormat pathFormat)
at Alphaleonis.Win32.Filesystem.Directory.CopyMoveCore(KernelTransaction transaction, String sourcePath, String destinationPath, Nullable`1 copyOptions, Nullable`1 moveOptions, CopyMoveProgressRoutine progressHandler, Object userProgressData, PathFormat pathFormat)
at Alphaleonis.Win32.Filesystem.Directory.Move(String sourcePath, String destinationPath)
at chocolatey.infrastructure.filesystem.DotNetFileSystem.<>c__DisplayClass68.<move_directory>b__66()
at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()
at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds, Boolean isSilent)
2019-07-24 07:49:19,701 724 [WARN ] - This is try 2/3. Retrying after 400 milliseconds.
Error converted to warning:
System.UnauthorizedAccessException: (5) Access is denied: [\\?\C:\ProgramData\chocolatey\lib-bad\alcohol52-free]
at Alphaleonis.Win32.NativeError.ThrowException(UInt32 errorCode, String readPath, String writePath)
at Alphaleonis.Win32.Filesystem.File.CopyMoveCore(Boolean isFolder, KernelTransaction transaction, String sourcePath, String destinationPath, Boolean preserveDates, Nullable`1 copyOptions, Nullable`1 moveOptions, CopyMoveProgressRoutine progressHandler, Object userProgressData, PathFormat pathFormat)
at Alphaleonis.Win32.Filesystem.Directory.CopyMoveCore(KernelTransaction transaction, String sourcePath, String destinationPath, Nullable`1 copyOptions, Nullable`1 moveOptions, CopyMoveProgressRoutine progressHandler, Object userProgressData, PathFormat pathFormat)
at Alphaleonis.Win32.Filesystem.Directory.Move(String sourcePath, String destinationPath)
at chocolatey.infrastructure.filesystem.DotNetFileSystem.<>c__DisplayClass68.<move_directory>b__66()
at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()
at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds, Boolean isSilent)
2019-07-24 07:49:20,123 724 [ERROR] - Maximum tries of 3 reached. Throwing error.
2019-07-24 07:49:20,123 724 [WARN ] - Move failed with message:
(5) Access is denied: [\\?\C:\ProgramData\chocolatey\lib-bad\alcohol52-free]
Attempting backup move method.
2019-07-24 07:49:20,139 724 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\alcohol52-free".
2019-07-24 07:49:20,139 724 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\alcohol52-free\.chocolateyPending'
to 'C:\ProgramData\chocolatey\lib-bad\alcohol52-free\.chocolateyPending'
2019-07-24 07:49:20,139 724 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\alcohol52-free\alcohol52-free.nupkg'
to 'C:\ProgramData\chocolatey\lib-bad\alcohol52-free\alcohol52-free.nupkg'
2019-07-24 07:49:20,154 724 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\alcohol52-free\alcohol52-free.nuspec'
to 'C:\ProgramData\chocolatey\lib-bad\alcohol52-free\alcohol52-free.nuspec'
2019-07-24 07:49:20,154 724 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\alcohol52-free\tools".
2019-07-24 07:49:20,154 724 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\alcohol52-free\tools\alcohol52-free.installer.exe'
to 'C:\ProgramData\chocolatey\lib-bad\alcohol52-free\tools\alcohol52-free.installer.exe'
2019-07-24 07:49:20,265 724 [WARN ] - This is try 1/3. Retrying after 300 milliseconds.
Error converted to warning:
System.IO.IOException: (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib-bad\alcohol52-free\tools\alcohol52-free.installer.exe]
at Alphaleonis.Win32.NativeError.ThrowException(UInt32 errorCode, String readPath, String writePath)
at Alphaleonis.Win32.Filesystem.File.CopyMoveCore(Boolean isFolder, KernelTransaction transaction, String sourcePath, String destinationPath, Boolean preserveDates, Nullable`1 copyOptions, Nullable`1 moveOptions, CopyMoveProgressRoutine progressHandler, Object userProgressData, PathFormat pathFormat)
at Alphaleonis.Win32.Filesystem.File.Move(String sourceFileName, String destinationFileName)
at chocolatey.infrastructure.filesystem.DotNetFileSystem.<>c__DisplayClass4d.<move_file>b__4c()
at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()
at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds, Boolean isSilent)
2019-07-24 07:49:20,576 724 [WARN ] - This is try 2/3. Retrying after 400 milliseconds.
Error converted to warning:
System.IO.IOException: (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib-bad\alcohol52-free\tools\alcohol52-free.installer.exe]
at Alphaleonis.Win32.NativeError.ThrowException(UInt32 errorCode, String readPath, String writePath)
at Alphaleonis.Win32.Filesystem.File.CopyMoveCore(Boolean isFolder, KernelTransaction transaction, String sourcePath, String destinationPath, Boolean preserveDates, Nullable`1 copyOptions, Nullable`1 moveOptions, CopyMoveProgressRoutine progressHandler, Object userProgressData, PathFormat pathFormat)
at Alphaleonis.Win32.Filesystem.File.Move(String sourceFileName, String destinationFileName)
at chocolatey.infrastructure.filesystem.DotNetFileSystem.<>c__DisplayClass4d.<move_file>b__4c()
at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()
at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds, Boolean isSilent)
2019-07-24 07:49:20,984 724 [ERROR] - Maximum tries of 3 reached. Throwing error.
2019-07-24 07:49:20,984 724 [ERROR] - Could not move bad package to failure directory It will show as installed.
C:\ProgramData\chocolatey\lib\alcohol52-free
The error:
System.IO.IOException: (32) The process cannot access the file because it is being used by another process: [\\?\C:\ProgramData\chocolatey\lib-bad\alcohol52-free\tools\alcohol52-free.installer.exe]
at Alphaleonis.Win32.NativeError.ThrowException(UInt32 errorCode, String readPath, String writePath)
at Alphaleonis.Win32.Filesystem.File.CopyMoveCore(Boolean isFolder, KernelTransaction transaction, String sourcePath, String destinationPath, Boolean preserveDates, Nullable`1 copyOptions, Nullable`1 moveOptions, CopyMoveProgressRoutine progressHandler, Object userProgressData, PathFormat pathFormat)
at Alphaleonis.Win32.Filesystem.File.Move(String sourceFileName, String destinationFileName)
at chocolatey.infrastructure.filesystem.DotNetFileSystem.<>c__DisplayClass4d.<move_file>b__4c()
at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()
at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds, Boolean isSilent)
at chocolatey.infrastructure.filesystem.DotNetFileSystem.allow_retries(Action action, Boolean isSilent)
at chocolatey.infrastructure.filesystem.DotNetFileSystem.move_directory(String directoryPath, String newDirectoryPath)
at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass4.<try_catch_with_logging_exception>b__3()
at chocolatey.infrastructure.tolerance.FaultTolerance.try_catch_with_logging_exception[T](Func`1 function, String errorMessage, Boolean throwError, Boolean logWarningInsteadOfError, Boolean logDebugInsteadOfError, Boolean isSilent)
2019-07-24 07:49:20,998 724 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\alcohol52-free.2.0.3.9326.nupkg".
2019-07-24 07:49:21,107 724 [WARN ] -
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-07-24 07:49:21,107 724 [INFO ] -
2019-07-24 07:49:21,107 724 [ERROR] - Failures
2019-07-24 07:49:21,123 724 [ERROR] - - alcohol52-free (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\alcohol52-free\tools\chocolateyInstall.ps1'.
See log for details.
2019-07-24 07:49:21,123 724 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-07-24 07:49:21,186 724 [DEBUG] - Exiting with -1
2019-07-24 07:50:25,118 1468 [DEBUG] - XmlConfiguration is now operational
2019-07-24 07:50:25,337 1468 [INFO ] - ============================================================
2019-07-24 07:50:26,087 1468 [INFO ] - Chocolatey v0.10.15
2019-07-24 07:50:26,118 1468 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-07-24 07:50:26,118 1468 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-07-24 07:50:26,134 1468 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-07-24 07:50:26,151 1468 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install osquery --version 3.4.0 -fdvy --execution-timeout=2700 --allow-downgrade
2019-07-24 07:50:26,151 1468 [DEBUG] - Received arguments: install osquery --version 3.4.0 -fdvy --execution-timeout=2700 --allow-downgrade
2019-07-24 07:50:26,321 1468 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-07-24 07:50:26,353 1468 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-07-24 07:50:26,384 1468 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-07-24 07:50:26,540 1468 [DEBUG] - Performing validation checks.
2019-07-24 07:50:26,571 1468 [DEBUG] - Global Configuration Validation Checks:
2019-07-24 07:50:26,588 1468 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2019-07-24 07:50:26,588 1468 [DEBUG] - System State Validation Checks:
2019-07-24 07:50:26,603 1468 [DEBUG] - Reboot Requirement Checks:
2019-07-24 07:50:26,618 1468 [DEBUG] - - Pending Computer Rename = Checked
2019-07-24 07:50:26,618 1468 [DEBUG] - - Pending Component Based Servicing = Checked
2019-07-24 07:50:26,634 1468 [DEBUG] - - Pending Windows Auto Update = Checked
2019-07-24 07:50:26,634 1468 [DEBUG] - - Pending File Rename Operations = Checked
2019-07-24 07:50:26,634 1468 [DEBUG] - - Pending Windows Package Installer = Checked
2019-07-24 07:50:26,650 1468 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2019-07-24 07:50:26,665 1468 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2019-07-24 07:50:26,681 1468 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-07-24 07:50:26,696 1468 [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.
2019-07-24 07:50:26,743 1468 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='True'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='osquery'|Version='3.4.0'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='osquery'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='True'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2019-07-24 07:50:26,759 1468 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2019-07-24 07:50:26,775 1468 [INFO ] - Installing the following packages:
2019-07-24 07:50:26,775 1468 [INFO ] - osquery
2019-07-24 07:50:26,790 1468 [INFO ] - By installing you accept licenses for the packages.
2019-07-24 07:50:26,806 1468 [DEBUG] - Current environment values (may contain sensitive data):
2019-07-24 07:50:26,806 1468 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-07-24 07:50:26,821 1468 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-07-24 07:50:26,821 1468 [DEBUG] - * 'ChocolateyLastPathUpdate'='132083447408838790' ('User')
2019-07-24 07:50:26,821 1468 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2019-07-24 07:50:26,821 1468 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2019-07-24 07:50:26,837 1468 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' ('Machine')
2019-07-24 07:50:26,837 1468 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2019-07-24 07:50:26,837 1468 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2019-07-24 07:50:26,837 1468 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2019-07-24 07:50:26,853 1468 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2019-07-24 07:50:26,853 1468 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2019-07-24 07:50:26,853 1468 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2019-07-24 07:50:26,853 1468 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2019-07-24 07:50:26,868 1468 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2019-07-24 07:50:26,868 1468 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2019-07-24 07:50:26,868 1468 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2019-07-24 07:50:26,868 1468 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2019-07-24 07:50:26,884 1468 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2019-07-24 07:50:26,884 1468 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2019-07-24 07:50:26,884 1468 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2019-07-24 07:50:34,290 1468 [INFO ] - [NuGet] Installing 'osquery 3.4.0'.
2019-07-24 07:50:34,407 1468 [DEBUG] - [NuGet] Added file 'osquery.zip' to folder 'osquery\tools\bin'.
2019-07-24 07:50:34,415 1468 [DEBUG] - [NuGet] Added file 'chocolateyBeforeModify.ps1' to folder 'osquery\tools'.
2019-07-24 07:50:34,415 1468 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'osquery\tools'.
2019-07-24 07:50:34,415 1468 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'osquery\tools'.
2019-07-24 07:50:34,415 1468 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'osquery\tools'.
2019-07-24 07:50:34,431 1468 [DEBUG] - [NuGet] Added file 'osquery_utils.ps1' to folder 'osquery\tools'.
2019-07-24 07:50:34,431 1468 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'osquery\tools'.
2019-07-24 07:50:34,620 1468 [DEBUG] - [NuGet] Added file 'osquery.nupkg' to folder 'osquery'.
2019-07-24 07:50:35,119 1468 [DEBUG] - [NuGet] Added file 'osquery.nuspec' to folder 'osquery'.
2019-07-24 07:50:35,119 1468 [INFO ] - [NuGet] Successfully installed 'osquery 3.4.0'.
2019-07-24 07:50:35,134 1468 [INFO ] -
osquery v3.4.0 (forced) [Approved]
2019-07-24 07:50:35,228 1468 [INFO ] - osquery package files install completed. Performing other installation steps.
2019-07-24 07:50:35,650 1468 [DEBUG] - Setting installer args for osquery
2019-07-24 07:50:35,650 1468 [DEBUG] - Setting package parameters for osquery
2019-07-24 07:50:35,650 1468 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyinstall.ps1':
2019-07-24 07:50:35,697 1468 [DEBUG] - # Copyright (c) 2014-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed in accordance with the terms specified in
# the LICENSE file found in the root directory of this source tree.
# This library file contains constant definitions and helper functions
#Requires -Version 3.0
. "$PSScriptRoot\\osquery_utils.ps1"
$packageParameters = $env:chocolateyPackageParameters
$arguments = @{}
# Ensure the service is stopped and processes are not running if exists.
if ((Get-Service $serviceName -ErrorAction SilentlyContinue) -and `
(Get-Service $serviceName).Status -eq 'Running') {
Stop-Service $serviceName
# If we find zombie processes, ensure they're termintated
$proc = Get-Process | Where-Object { $_.ProcessName -eq 'osqueryd' }
if ($null -ne $proc) {
Stop-Process -Force $proc -ErrorAction SilentlyContinue
}
}
# Lastly, ensure that the Deny Write ACLs have been removed before modifying
if (Test-Path $daemonFolder) {
Set-DenyWriteAcl $daemonFolder 'Remove'
}
if (Test-Path $extensionsFolder) {
Set-DenyWriteAcl $extensionsFolder 'Remove'
}
# Now parse the packageParameters using good old regular expression
if ($packageParameters) {
$match_pattern = "\/(?<option>([a-zA-Z]+)):(?<value>([`"'])?([a-zA-Z0-9- _\\:\.]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
$option_name = 'option'
$value_name = 'value'
if ($packageParameters -match $match_pattern ) {
$results = $packageParameters | Select-String $match_pattern -AllMatches
$results.matches | ForEach-Object {
$arguments.Add(
$_.Groups[$option_name].Value.Trim(),
$_.Groups[$value_name].Value.Trim())
}
} else {
Throw "Package Parameters were found but were invalid (REGEX Failure)"
}
if ($arguments.ContainsKey("InstallService")) {
$installService = $true
}
} else {
Write-Debug "No Package Parameters Passed in"
}
New-Item -Force -Type directory -Path $daemonFolder
New-Item -Force -Type directory -Path $logFolder
$packagePath = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)\\bin\\osquery.zip"
Get-ChocolateyUnzip -FileFullPath $packagePath -Destination $targetFolder
# In order to run osqueryd as a service, we need to have a folder that has a
# Deny Write ACL to everyone.
Move-Item -Force -Path $targetDaemonBin -Destination $destDaemonBin
Set-SafePermissions $daemonFolder
if ($installService) {
if (-not (Get-Service $serviceName -ErrorAction SilentlyContinue)) {
Write-Debug 'Installing osquery daemon service.'
# If the 'install' parameter is passed, we create a Windows service with
# the flag file in the default location in \ProgramData\osquery\
# the flag file in the default location in Program Files
$cmd = '"{0}" --flagfile="C:\Program Files\osquery\osquery.flags"' -f $destDaemonBin
$svcArgs = @{
Name = $serviceName
BinaryPathName = $cmd
DisplayName = $serviceName
Description = $serviceDescription
StartupType = "Automatic"
}
New-Service @svcArgs
# If the osquery.flags file doesn't exist, we create a blank one.
if (-not (Test-Path "$targetFolder\osquery.flags")) {
Add-Content "$targetFolder\osquery.flags" $null
}
}
Start-Service $serviceName
}
# Add osquery binary path to machines path for ease of use.
Add-ToSystemPath $targetFolder
2019-07-24 07:50:36,275 1468 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
2019-07-24 07:50:36,290 1468 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-07-24 07:50:39,853 1468 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-07-24 07:50:40,431 1468 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-24 07:50:40,431 1468 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-24 07:50:40,431 1468 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-24 07:50:40,446 1468 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-24 07:50:40,446 1468 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-24 07:50:40,446 1468 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-24 07:50:40,462 1468 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-24 07:50:40,462 1468 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-24 07:50:40,462 1468 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-24 07:50:40,462 1468 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-24 07:50:40,478 1468 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-24 07:50:40,478 1468 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-24 07:50:40,478 1468 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-24 07:50:40,478 1468 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-24 07:50:40,493 1468 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-24 07:50:40,493 1468 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-24 07:50:40,493 1468 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-24 07:50:40,493 1468 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-24 07:50:40,509 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-24 07:50:40,509 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-24 07:50:40,509 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-24 07:50:40,509 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-24 07:50:40,524 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-24 07:50:40,524 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-24 07:50:40,524 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-24 07:50:40,524 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-24 07:50:40,540 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-24 07:50:40,540 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-24 07:50:40,540 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-24 07:50:40,540 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-24 07:50:40,556 1468 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-24 07:50:40,556 1468 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-24 07:50:40,556 1468 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-24 07:50:40,571 1468 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-24 07:50:40,571 1468 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-24 07:50:40,571 1468 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-24 07:50:40,571 1468 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-24 07:50:40,587 1468 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-24 07:50:40,587 1468 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-24 07:50:40,587 1468 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-24 07:50:40,603 1468 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-24 07:50:40,603 1468 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-24 07:50:40,603 1468 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-24 07:50:40,603 1468 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-24 07:50:40,618 1468 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-24 07:50:40,618 1468 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-24 07:50:40,618 1468 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-24 07:50:40,634 1468 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-24 07:50:40,634 1468 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-24 07:50:40,634 1468 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-24 07:50:40,634 1468 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-24 07:50:40,649 1468 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-24 07:50:40,649 1468 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-24 07:50:40,681 1468 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-24 07:50:40,696 1468 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-24 07:50:40,696 1468 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-24 07:50:40,696 1468 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-24 07:50:40,696 1468 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-24 07:50:40,712 1468 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-24 07:50:40,712 1468 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-24 07:50:40,712 1468 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-24 07:50:40,712 1468 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-24 07:50:40,728 1468 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-24 07:50:40,728 1468 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-24 07:50:40,728 1468 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-24 07:50:40,743 1468 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-24 07:50:40,743 1468 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-24 07:50:40,743 1468 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-24 07:50:40,743 1468 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-24 07:50:40,759 1468 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-24 07:50:40,759 1468 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-24 07:50:40,759 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-24 07:50:40,759 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-24 07:50:40,774 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-24 07:50:40,774 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-24 07:50:40,774 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-24 07:50:40,790 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-24 07:50:40,790 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-24 07:50:40,790 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-24 07:50:40,790 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-24 07:50:40,806 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-24 07:50:40,806 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-24 07:50:40,806 1468 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-24 07:50:40,806 1468 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-24 07:50:40,821 1468 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-24 07:50:40,821 1468 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-24 07:50:40,821 1468 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-24 07:50:40,821 1468 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-24 07:50:40,837 1468 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-24 07:50:40,837 1468 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-24 07:50:40,837 1468 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-24 07:50:40,853 1468 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-24 07:50:40,853 1468 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-24 07:50:40,853 1468 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-24 07:50:40,853 1468 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-24 07:50:40,868 1468 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-24 07:50:40,868 1468 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-24 07:50:40,868 1468 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-24 07:50:40,868 1468 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-24 07:50:40,884 1468 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-24 07:50:40,884 1468 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-24 07:50:40,884 1468 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-24 07:50:40,900 1468 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-24 07:50:40,900 1468 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-24 07:50:40,900 1468 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-24 07:50:40,900 1468 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-24 07:50:40,915 1468 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-07-24 07:50:40,915 1468 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-07-24 07:50:40,915 1468 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-07-24 07:50:40,931 1468 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-07-24 07:50:40,931 1468 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-07-24 07:50:40,931 1468 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-07-24 07:50:40,931 1468 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-07-24 07:50:40,946 1468 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-07-24 07:50:40,946 1468 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-07-24 07:50:40,946 1468 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-07-24 07:50:40,946 1468 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-07-24 07:50:40,962 1468 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-07-24 07:50:40,962 1468 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-07-24 07:50:40,962 1468 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-07-24 07:50:40,978 1468 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-07-24 07:50:40,978 1468 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-07-24 07:50:40,978 1468 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-07-24 07:50:40,993 1468 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-07-24 07:50:40,993 1468 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-07-24 07:50:40,993 1468 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-07-24 07:50:41,009 1468 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-07-24 07:50:41,009 1468 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-07-24 07:50:41,009 1468 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-07-24 07:50:41,009 1468 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-07-24 07:50:41,025 1468 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-07-24 07:50:41,025 1468 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-24 07:50:41,025 1468 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-07-24 07:50:41,040 1468 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-07-24 07:50:41,040 1468 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-07-24 07:50:41,040 1468 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-07-24 07:50:41,056 1468 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-07-24 07:50:41,056 1468 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-07-24 07:50:41,056 1468 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-07-24 07:50:41,056 1468 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-07-24 07:50:41,071 1468 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-07-24 07:50:41,071 1468 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-07-24 07:50:41,071 1468 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-24 07:50:41,071 1468 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-07-24 07:50:41,087 1468 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-07-24 07:50:41,087 1468 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-07-24 07:50:41,087 1468 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-07-24 07:50:41,087 1468 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-07-24 07:50:41,103 1468 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-07-24 07:50:41,103 1468 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-07-24 07:50:41,103 1468 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-07-24 07:50:41,103 1468 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-07-24 07:50:41,103 1468 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-07-24 07:50:41,118 1468 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-07-24 07:50:41,118 1468 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-07-24 07:50:41,118 1468 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-07-24 07:50:41,118 1468 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-07-24 07:50:41,134 1468 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-07-24 07:50:41,134 1468 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-07-24 07:50:41,338 1468 [DEBUG] - ---------------------------Script Execution---------------------------
2019-07-24 07:50:41,353 1468 [DEBUG] - Running 'ChocolateyScriptRunner' for osquery v3.4.0 with packageScript 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\osquery', installArguments: '', packageParameters: '',
2019-07-24 07:50:41,399 1468 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyinstall.ps1'
2019-07-24 07:50:41,571 1468 [DEBUG] - No Package Parameters Passed in
2019-07-24 07:50:41,587 1468 [INFO ] - C:\Program Files\osquery\osqueryd
2019-07-24 07:50:41,603 1468 [INFO ] - C:\Program Files\osquery\log
2019-07-24 07:50:41,790 1468 [DEBUG] - Running Get-ChocolateyUnzip -fileFullPath 'C:\ProgramData\chocolatey\lib\osquery\tools\\bin\\osquery.zip' -destination 'C:\Program Files\osquery'
2019-07-24 07:50:41,806 1468 [DEBUG] - Running Get-ProcessorBits -compare '32'
2019-07-24 07:50:41,884 1468 [INFO ] - Extracting C:\ProgramData\chocolatey\lib\osquery\tools\\bin\\osquery.zip to C:\Program Files\osquery...
2019-07-24 07:50:41,884 1468 [INFO ] -
2019-07-24 07:50:41,931 1468 [DEBUG] - 7zip found at 'C:\ProgramData\chocolatey\tools\7z.exe'
2019-07-24 07:50:41,978 1468 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Program Files\osquery" -y "C:\ProgramData\chocolatey\lib\osquery\tools\\bin\\osquery.zip"]
2019-07-24 07:50:45,134 1468 [INFO ] - VERBOSE:
2019-07-24 07:50:45,149 1468 [INFO ] - VERBOSE: 7-Zip 18.06 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2018-12-30
2019-07-24 07:50:45,149 1468 [INFO ] - VERBOSE:
2019-07-24 07:50:45,165 1468 [INFO ] - VERBOSE: Scanning the drive for archives:
2019-07-24 07:50:45,165 1468 [INFO ] - VERBOSE: 1 file, 9531621 bytes (9309 KiB)
2019-07-24 07:50:45,165 1468 [INFO ] - VERBOSE:
2019-07-24 07:50:45,181 1468 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\osquery\tools\\bin\\osquery.zip
2019-07-24 07:50:45,181 1468 [INFO ] - VERBOSE: --
2019-07-24 07:50:45,181 1468 [INFO ] - VERBOSE: Path = C:\ProgramData\chocolatey\lib\osquery\tools\\bin\\osquery.zip
2019-07-24 07:50:45,181 1468 [INFO ] - VERBOSE: Type = zip
2019-07-24 07:50:45,196 1468 [INFO ] - VERBOSE: Physical Size = 9531621
2019-07-24 07:50:45,196 1468 [INFO ] - VERBOSE:
2019-07-24 07:50:45,196 1468 [INFO ] - VERBOSE: - certs
2019-07-24 07:50:45,243 1468 [INFO ] - VERBOSE: - certs\certs.pem
2019-07-24 07:50:45,243 1468 [INFO ] - VERBOSE: - LICENSE.txt
2019-07-24 07:50:45,243 1468 [INFO ] - VERBOSE: - manage-osqueryd.ps1
2019-07-24 07:50:45,259 1468 [INFO ] - VERBOSE: - osquery.example.conf
2019-07-24 07:50:45,259 1468 [INFO ] - VERBOSE: - osquery.man
2019-07-24 07:50:45,259 1468 [INFO ] - VERBOSE: - osqueryd.exe
2019-07-24 07:50:45,259 1468 [INFO ] - VERBOSE: - osqueryi.exe
2019-07-24 07:50:45,274 1468 [INFO ] - VERBOSE: - packs
2019-07-24 07:50:45,274 1468 [INFO ] - VERBOSE: - packs\hardware-monitoring.conf
2019-07-24 07:50:45,274 1468 [INFO ] - VERBOSE: - packs\incident-response.conf
2019-07-24 07:50:45,290 1468 [INFO ] - VERBOSE: - packs\it-compliance.conf
2019-07-24 07:50:45,290 1468 [INFO ] - VERBOSE: - packs\osquery-monitoring.conf
2019-07-24 07:50:45,290 1468 [INFO ] - VERBOSE: - packs\ossec-rootkit.conf
2019-07-24 07:50:45,290 1468 [INFO ] - VERBOSE: - packs\osx-attacks.conf
2019-07-24 07:50:45,306 1468 [INFO ] - VERBOSE: - packs\unwanted-chrome-extensions.conf
2019-07-24 07:50:45,306 1468 [INFO ] - VERBOSE: - packs\vuln-management.conf
2019-07-24 07:50:45,306 1468 [INFO ] - VERBOSE: - packs\windows-attacks.conf
2019-07-24 07:50:45,321 1468 [INFO ] - VERBOSE: - packs\windows-hardening.conf
2019-07-24 07:50:45,321 1468 [INFO ] - VERBOSE: - VERIFICATION.txt
2019-07-24 07:50:45,321 1468 [INFO ] - VERBOSE: Everything is Ok
2019-07-24 07:50:45,321 1468 [INFO ] - VERBOSE:
2019-07-24 07:50:45,337 1468 [INFO ] - VERBOSE: Folders: 2
2019-07-24 07:50:45,337 1468 [INFO ] - VERBOSE: Files: 18
2019-07-24 07:50:45,337 1468 [INFO ] - VERBOSE: Size: 27982976
2019-07-24 07:50:45,337 1468 [INFO ] - VERBOSE: Compressed: 9531621
2019-07-24 07:50:45,837 1468 [DEBUG] - $exitCode was passed null
2019-07-24 07:50:45,837 1468 [DEBUG] - Command ['C:\ProgramData\chocolatey\tools\7z.exe' x -aoa -bd -bb1 -o"C:\Program Files\osquery" -y "C:\ProgramData\chocolatey\lib\osquery\tools\\bin\\osquery.zip"] exited with '0'.
2019-07-24 07:50:45,837 1468 [DEBUG] - 7z exit code: 0
2019-07-24 07:50:45,853 1468 [INFO ] - C:\Program Files\osquery
2019-07-24 07:50:46,275 1468 [ERROR] - Attempted to perform an unauthorized operation.
2019-07-24 07:50:46,307 1468 [ERROR] - Access to the path 'C:\Program Files\osquery\osqueryd' is denied.
2019-07-24 07:50:46,321 1468 [INFO ] - True
2019-07-24 07:50:49,478 1468 [DEBUG] - ----------------------------------------------------------------------
2019-07-24 07:50:49,509 1468 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-07-24 07:50:49,509 1468 [WARN ] - Only an exit code of non-zero will fail the package by default. Set
`--failonstderr` if you want error messages to also fail a script. See
`choco -h` for details.
2019-07-24 07:50:49,525 1468 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-07-24 07:50:49,571 1468 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-07-24 07:50:49,649 1468 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2019-07-24 07:50:49,649 1468 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2019-07-24 07:50:49,649 1468 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;C:\Program Files\osquery' (Machine)
2019-07-24 07:50:49,946 1468 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\osquery'
2019-07-24 07:50:50,212 1468 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\osquery.nupkg'
with checksum '2D8A90CB34141F53E538A3E7DD8D2375'
2019-07-24 07:50:50,228 1468 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\osquery.nuspec'
with checksum 'A629BE9732A34F7B0FB0388F7160CC7E'
2019-07-24 07:50:50,228 1468 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyBeforeModify.ps1'
with checksum '76A42C245B2F0049FB8F1DAF4B6E6C65'
2019-07-24 07:50:50,228 1468 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyinstall.ps1'
with checksum 'B5A990A99B0DEF21862B5A9FE93C03C9'
2019-07-24 07:50:50,228 1468 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyuninstall.ps1'
with checksum '892D485A47E61F78C9CF316F31C4BEE1'
2019-07-24 07:50:50,243 1468 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\tools\LICENSE.txt'
with checksum 'DD399CA08A28F2D449C22B56D76CC606'
2019-07-24 07:50:50,243 1468 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\tools\osquery_utils.ps1'
with checksum '2835A38236767FD1A9D573CAC66251DA'
2019-07-24 07:50:50,243 1468 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\tools\VERIFICATION.txt'
with checksum '9E980C89F72D9FF31BE8704DE6771CF1'
2019-07-24 07:50:50,525 1468 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\tools\bin\osquery.zip'
with checksum 'E3506D2FA932ACA7A1A2D697D6F73B29'
2019-07-24 07:50:50,696 1468 [DEBUG] - Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
2019-07-24 07:50:50,728 1468 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\osquery.3.4.0".
2019-07-24 07:50:50,759 1468 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\osquery.3.4.0\.files'
2019-07-24 07:50:50,774 1468 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\osquery.3.4.0\.extra".
2019-07-24 07:50:50,774 1468 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\osquery.3.4.0\.version".
2019-07-24 07:50:50,774 1468 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\osquery.3.4.0\.sxs".
2019-07-24 07:50:50,790 1468 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\osquery.3.4.0\.pin".
2019-07-24 07:50:50,790 1468 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2019-07-24 07:50:50,807 1468 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\osquery\.chocolateyPending".
2019-07-24 07:50:50,821 1468 [INFO ] - The install of osquery was successful.
2019-07-24 07:50:50,821 1468 [INFO ] - Software installed to 'C:\Program Files\osquery'
2019-07-24 07:50:50,821 1468 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\osquery.3.4.0.nupkg".
2019-07-24 07:50:51,025 1468 [WARN ] -
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-07-24 07:50:51,040 1468 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-07-24 07:50:51,104 1468 [DEBUG] - Exiting with 0
2019-07-24 07:51:22,743 2528 [DEBUG] - XmlConfiguration is now operational
2019-07-24 07:51:22,946 2528 [INFO ] - ============================================================
2019-07-24 07:51:23,729 2528 [INFO ] - Chocolatey v0.10.15
2019-07-24 07:51:23,760 2528 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-07-24 07:51:23,774 2528 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-07-24 07:51:23,774 2528 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-07-24 07:51:23,790 2528 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" uninstall osquery --version 3.4.0 -dvy --execution-timeout=2700
2019-07-24 07:51:23,806 2528 [DEBUG] - Received arguments: uninstall osquery --version 3.4.0 -dvy --execution-timeout=2700
2019-07-24 07:51:23,978 2528 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-07-24 07:51:23,993 2528 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2019-07-24 07:51:24,025 2528 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2019-07-24 07:51:24,212 2528 [DEBUG] - Performing validation checks.
2019-07-24 07:51:24,228 2528 [DEBUG] - Global Configuration Validation Checks:
2019-07-24 07:51:24,243 2528 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2019-07-24 07:51:24,243 2528 [DEBUG] - System State Validation Checks:
2019-07-24 07:51:24,259 2528 [DEBUG] - Reboot Requirement Checks:
2019-07-24 07:51:24,274 2528 [DEBUG] - - Pending Computer Rename = Checked
2019-07-24 07:51:24,290 2528 [DEBUG] - - Pending Component Based Servicing = Checked
2019-07-24 07:51:24,290 2528 [DEBUG] - - Pending Windows Auto Update = Checked
2019-07-24 07:51:24,290 2528 [DEBUG] - - Pending File Rename Operations = Checked
2019-07-24 07:51:24,306 2528 [DEBUG] - - Pending Windows Package Installer = Checked
2019-07-24 07:51:24,306 2528 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2019-07-24 07:51:24,321 2528 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2019-07-24 07:51:24,337 2528 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2019-07-24 07:51:24,337 2528 [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.
2019-07-24 07:51:24,415 2528 [DEBUG] - Configuration: CommandName='uninstall'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|SourceType='normal'|
Debug='True'|Verbose='True'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
AllowUnofficialBuild='False'|Input='osquery'|Version='3.4.0'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='osquery'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-E5K8TM30719'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Windows\system32'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|Proxy.BypassOnLocal='True'|
2019-07-24 07:51:24,415 2528 [DEBUG] - _ Chocolatey:ChocolateyUninstallCommand - Normal Run Mode _
2019-07-24 07:51:24,446 2528 [INFO ] - Uninstalling the following packages:
2019-07-24 07:51:24,446 2528 [INFO ] - osquery
2019-07-24 07:51:24,462 2528 [DEBUG] - Current environment values (may contain sensitive data):
2019-07-24 07:51:24,478 2528 [DEBUG] - * 'TMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-07-24 07:51:24,478 2528 [DEBUG] - * 'TEMP'='C:\Users\Administrator\AppData\Local\Temp' ('User')
2019-07-24 07:51:24,478 2528 [DEBUG] - * 'ChocolateyLastPathUpdate'='132083447408838790' ('User')
2019-07-24 07:51:24,478 2528 [DEBUG] - * 'FP_NO_HOST_CHECK'='NO' ('Machine')
2019-07-24 07:51:24,493 2528 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2019-07-24 07:51:24,493 2528 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;C:\Program Files\osquery' ('Machine')
2019-07-24 07:51:24,493 2528 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2019-07-24 07:51:24,493 2528 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2019-07-24 07:51:24,509 2528 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2019-07-24 07:51:24,509 2528 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2019-07-24 07:51:24,509 2528 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2019-07-24 07:51:24,509 2528 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2019-07-24 07:51:24,509 2528 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2019-07-24 07:51:24,524 2528 [DEBUG] - * 'PSModulePath'='C:\Windows\system32\WindowsPowerShell\v1.0\Modules\' ('Machine')
2019-07-24 07:51:24,524 2528 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='4' ('Machine')
2019-07-24 07:51:24,524 2528 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2019-07-24 07:51:24,524 2528 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 45 Stepping 7, GenuineIntel' ('Machine')
2019-07-24 07:51:24,540 2528 [DEBUG] - * 'PROCESSOR_REVISION'='2d07' ('Machine')
2019-07-24 07:51:24,540 2528 [DEBUG] - * 'HOME'='C:\Users\Administrator' ('Machine')
2019-07-24 07:51:24,540 2528 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2019-07-24 07:51:24,774 2528 [DEBUG] - Running list with the following filter = ''
2019-07-24 07:51:24,774 2528 [DEBUG] - --- Start of List ---
2019-07-24 07:51:25,196 2528 [DEBUG] - osquery 3.4.0
2019-07-24 07:51:25,228 2528 [DEBUG] - --- End of List ---
2019-07-24 07:51:25,384 2528 [DEBUG] - Setting installer args for osquery
2019-07-24 07:51:25,384 2528 [DEBUG] - Setting package parameters for osquery
2019-07-24 07:51:25,384 2528 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyBeforeModify.ps1':
2019-07-24 07:51:25,415 2528 [DEBUG] - # Copyright (c) 2014-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed in accordance with the terms specified in
# the LICENSE file found in the root directory of this source tree.
# This library file contains constant definitions and helper functions
#Requires -Version 3.0
. "$PSScriptRoot\\osquery_utils.ps1"
# Ensure the service is stopped and processes are not running if exists.
if ((Get-Service $serviceName -ErrorAction SilentlyContinue) -and `
(Get-Service $serviceName).Status -eq 'Running') {
Stop-Service $serviceName
# If we find zombie processes, ensure they're termintated
$proc = Get-Process | Where-Object { $_.ProcessName -eq 'osqueryd' }
if ($null -ne $proc) {
Stop-Process -Force $proc -ErrorAction SilentlyContinue
}
}
# Lastly, ensure that the Deny Write ACLs have been removed before modifying
if (Test-Path $daemonFolder) {
Set-DenyWriteAcl $daemonFolder 'Remove'
}
if (Test-Path $extensionsFolder) {
Set-DenyWriteAcl $extensionsFolder 'Remove'
}
2019-07-24 07:51:25,494 2528 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyBeforeModify.ps1' -installArguments '' -packageParameters ''']
2019-07-24 07:51:25,509 2528 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2019-07-24 07:51:26,134 2528 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-07-24 07:51:26,540 2528 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-24 07:51:26,556 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-24 07:51:26,556 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-24 07:51:26,556 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-24 07:51:26,556 2528 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-24 07:51:26,571 2528 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-24 07:51:26,571 2528 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-24 07:51:26,587 2528 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-24 07:51:26,587 2528 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-24 07:51:26,587 2528 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-24 07:51:26,587 2528 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-24 07:51:26,603 2528 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-24 07:51:26,603 2528 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-24 07:51:26,603 2528 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-24 07:51:26,618 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-24 07:51:26,618 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-24 07:51:26,618 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-24 07:51:26,634 2528 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-24 07:51:26,634 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-24 07:51:26,634 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-24 07:51:26,649 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-24 07:51:26,649 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-24 07:51:26,649 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-24 07:51:26,665 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-24 07:51:26,665 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-24 07:51:26,665 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-24 07:51:26,681 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-24 07:51:26,681 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-24 07:51:26,681 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-24 07:51:26,681 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-24 07:51:26,696 2528 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-24 07:51:26,696 2528 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-24 07:51:26,696 2528 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-24 07:51:26,712 2528 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-24 07:51:26,712 2528 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-24 07:51:26,712 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-24 07:51:26,712 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-24 07:51:26,728 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-24 07:51:26,728 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-24 07:51:26,728 2528 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-24 07:51:26,728 2528 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-24 07:51:26,743 2528 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-24 07:51:26,743 2528 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-24 07:51:26,743 2528 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-24 07:51:26,759 2528 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-24 07:51:26,759 2528 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-24 07:51:26,759 2528 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-24 07:51:26,759 2528 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-24 07:51:26,774 2528 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-24 07:51:26,774 2528 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-24 07:51:26,774 2528 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-24 07:51:26,790 2528 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-24 07:51:26,790 2528 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-24 07:51:26,821 2528 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-24 07:51:26,837 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-24 07:51:26,837 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-24 07:51:26,837 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-24 07:51:26,853 2528 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-24 07:51:26,853 2528 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-24 07:51:26,853 2528 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-24 07:51:26,853 2528 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-24 07:51:26,868 2528 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-24 07:51:26,868 2528 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-24 07:51:26,868 2528 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-24 07:51:26,884 2528 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-24 07:51:26,884 2528 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-24 07:51:26,884 2528 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-24 07:51:26,884 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-24 07:51:26,899 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-24 07:51:26,899 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-24 07:51:26,899 2528 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-24 07:51:26,915 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-24 07:51:26,915 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-24 07:51:26,915 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-24 07:51:26,915 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-24 07:51:26,931 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-24 07:51:26,931 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-24 07:51:26,931 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-24 07:51:26,946 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-24 07:51:26,946 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-24 07:51:26,946 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-24 07:51:26,946 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-24 07:51:26,962 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-24 07:51:26,962 2528 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-24 07:51:26,962 2528 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-24 07:51:26,978 2528 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-24 07:51:26,978 2528 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-24 07:51:26,978 2528 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-24 07:51:26,978 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-24 07:51:26,993 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-24 07:51:26,993 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-24 07:51:26,993 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-24 07:51:27,009 2528 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-24 07:51:27,009 2528 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-24 07:51:27,009 2528 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-24 07:51:27,025 2528 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-24 07:51:27,025 2528 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-24 07:51:27,025 2528 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-24 07:51:27,040 2528 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-24 07:51:27,040 2528 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-24 07:51:27,040 2528 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-24 07:51:27,056 2528 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-24 07:51:27,056 2528 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-24 07:51:27,056 2528 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-24 07:51:27,056 2528 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-24 07:51:27,071 2528 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-24 07:51:27,071 2528 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-07-24 07:51:27,071 2528 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-07-24 07:51:27,087 2528 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-07-24 07:51:27,087 2528 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-07-24 07:51:27,087 2528 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-07-24 07:51:27,103 2528 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-07-24 07:51:27,103 2528 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-07-24 07:51:27,103 2528 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-07-24 07:51:27,103 2528 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-07-24 07:51:27,118 2528 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-07-24 07:51:27,118 2528 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-07-24 07:51:27,118 2528 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-07-24 07:51:27,134 2528 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-07-24 07:51:27,134 2528 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-07-24 07:51:27,134 2528 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-07-24 07:51:27,134 2528 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-07-24 07:51:27,149 2528 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-07-24 07:51:27,149 2528 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-07-24 07:51:27,149 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-07-24 07:51:27,165 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-07-24 07:51:27,165 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-07-24 07:51:27,165 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-07-24 07:51:27,165 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-07-24 07:51:27,181 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-07-24 07:51:27,181 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-07-24 07:51:27,181 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-24 07:51:27,196 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-07-24 07:51:27,196 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-07-24 07:51:27,196 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-07-24 07:51:27,196 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-07-24 07:51:27,212 2528 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-07-24 07:51:27,212 2528 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-07-24 07:51:27,212 2528 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-07-24 07:51:27,228 2528 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-07-24 07:51:27,228 2528 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-07-24 07:51:27,228 2528 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-07-24 07:51:27,228 2528 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-24 07:51:27,243 2528 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-07-24 07:51:27,243 2528 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-07-24 07:51:27,243 2528 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-07-24 07:51:27,259 2528 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-07-24 07:51:27,259 2528 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-07-24 07:51:27,259 2528 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-07-24 07:51:27,259 2528 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-07-24 07:51:27,274 2528 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-07-24 07:51:27,274 2528 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-07-24 07:51:27,274 2528 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-07-24 07:51:27,290 2528 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-07-24 07:51:27,290 2528 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-07-24 07:51:27,290 2528 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-07-24 07:51:27,290 2528 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-07-24 07:51:27,306 2528 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-07-24 07:51:27,306 2528 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-07-24 07:51:27,462 2528 [DEBUG] - ---------------------------Script Execution---------------------------
2019-07-24 07:51:27,478 2528 [DEBUG] - Running 'ChocolateyScriptRunner' for osquery v3.4.0 with packageScript 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyBeforeModify.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\osquery', installArguments: '', packageParameters: '',
2019-07-24 07:51:27,524 2528 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyBeforeModify.ps1'
2019-07-24 07:51:27,759 2528 [INFO ] - True
2019-07-24 07:51:27,774 2528 [ERROR] - Attempted to perform an unauthorized operation.
2019-07-24 07:51:27,790 2528 [INFO ] - True
2019-07-24 07:51:27,821 2528 [DEBUG] - ----------------------------------------------------------------------
2019-07-24 07:51:27,837 2528 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyBeforeModify.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-07-24 07:51:27,837 2528 [WARN ] - Only an exit code of non-zero will fail the package by default. Set
`--failonstderr` if you want error messages to also fail a script. See
`choco -h` for details.
2019-07-24 07:51:28,056 2528 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2019-07-24 07:51:28,071 2528 [DEBUG] - Backing up existing osquery prior to operation.
2019-07-24 07:51:28,088 2528 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\osquery'
to 'C:\ProgramData\chocolatey\lib-bkp\osquery'
2019-07-24 07:51:30,103 2528 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\osquery".
2019-07-24 07:51:30,118 2528 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\osquery\osquery.nupkg"
to "C:\ProgramData\chocolatey\lib\osquery\osquery.nupkg".
2019-07-24 07:51:30,134 2528 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\osquery\osquery.nuspec"
to "C:\ProgramData\chocolatey\lib\osquery\osquery.nuspec".
2019-07-24 07:51:30,134 2528 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\osquery\tools".
2019-07-24 07:51:30,134 2528 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\osquery\tools\chocolateyBeforeModify.ps1"
to "C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyBeforeModify.ps1".
2019-07-24 07:51:30,150 2528 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\osquery\tools\chocolateyinstall.ps1"
to "C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyinstall.ps1".
2019-07-24 07:51:30,165 2528 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\osquery\tools\chocolateyuninstall.ps1"
to "C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyuninstall.ps1".
2019-07-24 07:51:30,540 2528 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\osquery\tools\LICENSE.txt"
to "C:\ProgramData\chocolatey\lib\osquery\tools\LICENSE.txt".
2019-07-24 07:51:30,540 2528 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\osquery\tools\osquery_utils.ps1"
to "C:\ProgramData\chocolatey\lib\osquery\tools\osquery_utils.ps1".
2019-07-24 07:51:30,556 2528 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\osquery\tools\VERIFICATION.txt"
to "C:\ProgramData\chocolatey\lib\osquery\tools\VERIFICATION.txt".
2019-07-24 07:51:30,556 2528 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\osquery\tools\bin".
2019-07-24 07:51:30,556 2528 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\osquery\tools\bin\osquery.zip"
to "C:\ProgramData\chocolatey\lib\osquery\tools\bin\osquery.zip".
2019-07-24 07:51:32,119 2528 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\osquery'
2019-07-24 07:51:32,212 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\osquery.nupkg'
with checksum '2D8A90CB34141F53E538A3E7DD8D2375'
2019-07-24 07:51:32,212 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\osquery.nuspec'
with checksum 'A629BE9732A34F7B0FB0388F7160CC7E'
2019-07-24 07:51:32,212 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyBeforeModify.ps1'
with checksum '76A42C245B2F0049FB8F1DAF4B6E6C65'
2019-07-24 07:51:32,212 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyinstall.ps1'
with checksum 'B5A990A99B0DEF21862B5A9FE93C03C9'
2019-07-24 07:51:32,227 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyuninstall.ps1'
with checksum '892D485A47E61F78C9CF316F31C4BEE1'
2019-07-24 07:51:32,227 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\tools\LICENSE.txt'
with checksum 'DD399CA08A28F2D449C22B56D76CC606'
2019-07-24 07:51:32,227 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\tools\osquery_utils.ps1'
with checksum '2835A38236767FD1A9D573CAC66251DA'
2019-07-24 07:51:32,227 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\tools\VERIFICATION.txt'
with checksum '9E980C89F72D9FF31BE8704DE6771CF1'
2019-07-24 07:51:32,321 2528 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\osquery\tools\bin\osquery.zip'
with checksum 'E3506D2FA932ACA7A1A2D697D6F73B29'
2019-07-24 07:51:32,915 2528 [INFO ] - [NuGet] Uninstalling 'osquery 3.4.0'.
2019-07-24 07:51:32,931 2528 [INFO ] -
osquery v3.4.0
2019-07-24 07:51:32,993 2528 [DEBUG] - Setting installer args for osquery
2019-07-24 07:51:33,009 2528 [DEBUG] - Setting package parameters for osquery
2019-07-24 07:51:33,009 2528 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyuninstall.ps1':
2019-07-24 07:51:33,009 2528 [DEBUG] - # Copyright (c) 2014-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed in accordance with the terms specified in
# the LICENSE file found in the root directory of this source tree.
# This library file contains constant definitions and helper functions
#Requires -Version 3.0
. "$PSScriptRoot\\osquery_utils.ps1"
# Remove the osquery path from the System PATH variable. Note: Here
# we don't make use of our local vars, as Regex requires escaping the '\'
$oldPath = [System.Environment]::GetEnvironmentVariable('Path', 'Machine')
if ($oldPath -imatch [regex]::escape($targetFolder)) {
$newPath = $oldPath -replace [regex]::escape($targetFolder), $NULL
[System.Environment]::SetEnvironmentVariable('Path', $newPath, 'Machine')
}
if ((Get-Service $serviceName -ErrorAction SilentlyContinue)) {
Stop-Service $serviceName
# If we find zombie processes, ensure they're termintated
$proc = Get-Process | Where-Object { $_.ProcessName -eq 'osqueryd' }
if ($null -ne $proc) {
Stop-Process -Force $proc -ErrorAction SilentlyContinue
}
Set-Service $serviceName -startuptype 'manual'
Get-CimInstance -ClassName Win32_Service -Filter "Name='osqueryd'" | Invoke-CimMethod -methodName Delete
}
if (Test-Path $targetFolder) {
Remove-Item -Force -Recurse $targetFolder
} else {
Write-Debug 'osquery was not found on the system. Nothing to do.'
}
2019-07-24 07:51:33,009 2528 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters ''']
2019-07-24 07:51:33,025 2528 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2019-07-24 07:51:33,478 2528 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=5.0.0.0' or one of its dependencies. The system cannot find the file specified.
2019-07-24 07:51:33,478 2528 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=4.0.0.0' or one of its dependencies. The system cannot find the file specified.
2019-07-24 07:51:33,493 2528 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=3.0.0.0' or one of its dependencies. The system cannot find the file specified.
2019-07-24 07:51:33,493 2528 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
Could not load file or assembly 'Microsoft.PowerShell.Security, Version=1.0.0.0' or one of its dependencies. The system cannot find the file specified.
2019-07-24 07:51:34,009 2528 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.33440'.
2019-07-24 07:51:34,196 2528 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-24 07:51:34,228 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-24 07:51:34,228 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-24 07:51:34,228 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-24 07:51:34,243 2528 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-24 07:51:34,243 2528 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-24 07:51:34,259 2528 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-24 07:51:34,259 2528 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-24 07:51:34,259 2528 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-24 07:51:34,274 2528 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-24 07:51:34,274 2528 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-24 07:51:34,274 2528 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-24 07:51:34,274 2528 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-24 07:51:34,290 2528 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-24 07:51:34,290 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-24 07:51:34,290 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-24 07:51:34,306 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-24 07:51:34,306 2528 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-24 07:51:34,306 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-24 07:51:34,306 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-24 07:51:34,321 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-24 07:51:34,321 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-24 07:51:34,321 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-24 07:51:34,337 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-24 07:51:34,337 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-24 07:51:34,337 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-24 07:51:34,353 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-24 07:51:34,353 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-24 07:51:34,353 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-24 07:51:34,368 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-24 07:51:34,368 2528 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-24 07:51:34,368 2528 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-24 07:51:34,384 2528 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-24 07:51:34,384 2528 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-24 07:51:34,384 2528 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-24 07:51:34,384 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-24 07:51:34,399 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-24 07:51:34,399 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-24 07:51:34,399 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-24 07:51:34,415 2528 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-24 07:51:34,415 2528 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-24 07:51:34,415 2528 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-24 07:51:34,431 2528 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-24 07:51:34,431 2528 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-24 07:51:34,431 2528 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-24 07:51:34,431 2528 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-24 07:51:34,446 2528 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-24 07:51:34,446 2528 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-24 07:51:34,446 2528 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-24 07:51:34,462 2528 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-24 07:51:34,462 2528 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-24 07:51:34,462 2528 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-24 07:51:34,478 2528 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-24 07:51:34,478 2528 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2019-07-24 07:51:34,493 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2019-07-24 07:51:34,493 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2019-07-24 07:51:34,493 2528 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2019-07-24 07:51:34,509 2528 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2019-07-24 07:51:34,509 2528 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2019-07-24 07:51:34,509 2528 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2019-07-24 07:51:34,509 2528 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2019-07-24 07:51:34,524 2528 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2019-07-24 07:51:34,524 2528 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2019-07-24 07:51:34,524 2528 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2019-07-24 07:51:34,540 2528 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2019-07-24 07:51:34,540 2528 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2019-07-24 07:51:34,540 2528 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2019-07-24 07:51:34,540 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2019-07-24 07:51:34,556 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2019-07-24 07:51:34,556 2528 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2019-07-24 07:51:34,556 2528 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2019-07-24 07:51:34,571 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2019-07-24 07:51:34,571 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2019-07-24 07:51:34,571 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2019-07-24 07:51:34,571 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2019-07-24 07:51:34,587 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2019-07-24 07:51:34,587 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2019-07-24 07:51:34,587 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2019-07-24 07:51:34,603 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-24 07:51:34,603 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2019-07-24 07:51:34,603 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2019-07-24 07:51:34,603 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2019-07-24 07:51:34,618 2528 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2019-07-24 07:51:34,618 2528 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2019-07-24 07:51:34,618 2528 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2019-07-24 07:51:34,634 2528 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2019-07-24 07:51:34,634 2528 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2019-07-24 07:51:34,634 2528 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2019-07-24 07:51:34,634 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2019-07-24 07:51:34,649 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-24 07:51:34,649 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2019-07-24 07:51:34,649 2528 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2019-07-24 07:51:34,649 2528 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2019-07-24 07:51:34,665 2528 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2019-07-24 07:51:34,665 2528 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2019-07-24 07:51:34,665 2528 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2019-07-24 07:51:34,681 2528 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2019-07-24 07:51:34,681 2528 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2019-07-24 07:51:34,681 2528 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2019-07-24 07:51:34,681 2528 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2019-07-24 07:51:34,696 2528 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2019-07-24 07:51:34,696 2528 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2019-07-24 07:51:34,696 2528 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2019-07-24 07:51:34,712 2528 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2019-07-24 07:51:34,712 2528 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2019-07-24 07:51:34,712 2528 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2019-07-24 07:51:34,712 2528 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2019-07-24 07:51:34,728 2528 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2019-07-24 07:51:34,728 2528 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2019-07-24 07:51:34,728 2528 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2019-07-24 07:51:34,743 2528 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2019-07-24 07:51:34,743 2528 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2019-07-24 07:51:34,743 2528 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2019-07-24 07:51:34,743 2528 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2019-07-24 07:51:34,759 2528 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2019-07-24 07:51:34,759 2528 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2019-07-24 07:51:34,759 2528 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2019-07-24 07:51:34,774 2528 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2019-07-24 07:51:34,774 2528 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2019-07-24 07:51:34,774 2528 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2019-07-24 07:51:34,774 2528 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2019-07-24 07:51:34,790 2528 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2019-07-24 07:51:34,790 2528 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2019-07-24 07:51:34,790 2528 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2019-07-24 07:51:34,806 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2019-07-24 07:51:34,806 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2019-07-24 07:51:34,806 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2019-07-24 07:51:34,806 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2019-07-24 07:51:34,821 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2019-07-24 07:51:34,821 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2019-07-24 07:51:34,821 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2019-07-24 07:51:34,821 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2019-07-24 07:51:34,837 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2019-07-24 07:51:34,837 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2019-07-24 07:51:34,837 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2019-07-24 07:51:34,837 2528 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2019-07-24 07:51:34,837 2528 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2019-07-24 07:51:34,852 2528 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2019-07-24 07:51:34,852 2528 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2019-07-24 07:51:34,852 2528 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2019-07-24 07:51:34,852 2528 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2019-07-24 07:51:34,868 2528 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2019-07-24 07:51:34,868 2528 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2019-07-24 07:51:34,868 2528 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2019-07-24 07:51:34,868 2528 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2019-07-24 07:51:34,868 2528 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2019-07-24 07:51:34,884 2528 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2019-07-24 07:51:34,884 2528 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2019-07-24 07:51:34,884 2528 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2019-07-24 07:51:34,884 2528 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2019-07-24 07:51:34,884 2528 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2019-07-24 07:51:34,899 2528 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2019-07-24 07:51:34,899 2528 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2019-07-24 07:51:34,899 2528 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2019-07-24 07:51:34,899 2528 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2019-07-24 07:51:34,899 2528 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2019-07-24 07:51:34,915 2528 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2019-07-24 07:51:34,915 2528 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2019-07-24 07:51:34,915 2528 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2019-07-24 07:51:34,931 2528 [DEBUG] - ---------------------------Script Execution---------------------------
2019-07-24 07:51:34,931 2528 [DEBUG] - Running 'ChocolateyScriptRunner' for osquery v3.4.0 with packageScript 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyuninstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\osquery', installArguments: '', packageParameters: '',
2019-07-24 07:51:34,946 2528 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyuninstall.ps1'
2019-07-24 07:51:38,071 2528 [ERROR] - Access to the path 'C:\Program Files\osquery\osqueryd' is denied.
2019-07-24 07:51:38,071 2528 [DEBUG] - ----------------------------------------------------------------------
2019-07-24 07:51:38,087 2528 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\osquery\tools\chocolateyuninstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2019-07-24 07:51:38,087 2528 [WARN ] - Only an exit code of non-zero will fail the package by default. Set
`--failonstderr` if you want error messages to also fail a script. See
`choco -h` for details.
2019-07-24 07:51:38,118 2528 [INFO ] - Skipping auto uninstaller - No registry snapshot.
2019-07-24 07:51:38,134 2528 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2019-07-24 07:51:38,165 2528 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2019-07-24 07:51:38,196 2528 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\osquery".
2019-07-24 07:51:38,306 2528 [DEBUG] - [NuGet] Removed file 'osquery.zip' to folder 'C:\ProgramData\chocolatey\lib\osquery\tools\bin'.
2019-07-24 07:51:38,321 2528 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\osquery\tools\bin'.
2019-07-24 07:51:38,338 2528 [DEBUG] - [NuGet] Removed file 'chocolateyBeforeModify.ps1' to folder 'C:\ProgramData\chocolatey\lib\osquery\tools'.
2019-07-24 07:51:38,338 2528 [DEBUG] - [NuGet] Removed file 'chocolateyinstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\osquery\tools'.
2019-07-24 07:51:38,338 2528 [DEBUG] - [NuGet] Removed file 'chocolateyuninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\osquery\tools'.
2019-07-24 07:51:38,353 2528 [DEBUG] - [NuGet] Removed file 'LICENSE.txt' to folder 'C:\ProgramData\chocolatey\lib\osquery\tools'.
2019-07-24 07:51:38,368 2528 [DEBUG] - [NuGet] Removed file 'osquery_utils.ps1' to folder 'C:\ProgramData\chocolatey\lib\osquery\tools'.
2019-07-24 07:51:38,368 2528 [DEBUG] - [NuGet] Removed file 'VERIFICATION.txt' to folder 'C:\ProgramData\chocolatey\lib\osquery\tools'.
2019-07-24 07:51:38,368 2528 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\osquery\tools'.
2019-07-24 07:51:38,368 2528 [DEBUG] - [NuGet] Removed file 'osquery.nuspec' to folder 'C:\ProgramData\chocolatey\lib\osquery'.
2019-07-24 07:51:38,384 2528 [DEBUG] - [NuGet] Removed file 'osquery.nupkg' to folder 'C:\ProgramData\chocolatey\lib\osquery'.
2019-07-24 07:51:38,384 2528 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\osquery'.
2019-07-24 07:51:38,384 2528 [INFO ] - [NuGet] Successfully uninstalled 'osquery 3.4.0'.
2019-07-24 07:51:38,399 2528 [INFO ] - osquery has been successfully uninstalled.
2019-07-24 07:51:38,415 2528 [DEBUG] - Removing nupkg if it still exists.
2019-07-24 07:51:38,431 2528 [DEBUG] - Ensuring removal of installation files.
2019-07-24 07:51:38,431 2528 [DEBUG] - Ensuring removal of package cache files.
2019-07-24 07:51:38,462 2528 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2019-07-24 07:51:38,462 2528 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2019-07-24 07:51:38,462 2528 [DEBUG] - * Path='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Git\bin;C:\ProgramData\chocolatey\bin;' (Machine)
2019-07-24 07:51:38,493 2528 [WARN ] -
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2019-07-24 07:51:38,509 2528 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2019-07-24 07:51:38,540 2528 [DEBUG] - Exiting with 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment