|
2025-03-13 17:21:32,860 5204 [DEBUG] - XmlConfiguration is now operational
|
|
2025-03-13 17:21:33,094 5204 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2025-03-13 17:21:33,094 5204 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2025-03-13 17:21:33,094 5204 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2025-03-13 17:21:33,109 5204 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2025-03-13 17:21:33,109 5204 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2025-03-13 17:21:33,129 5204 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2025-03-13 17:21:33,129 5204 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2025-03-13 17:21:33,141 5204 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2025-03-13 17:21:33,141 5204 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2025-03-13 17:21:33,157 5204 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2025-03-13 17:21:33,157 5204 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2025-03-13 17:21:34,375 5204 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-13 17:21:34,391 5204 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-13 17:21:34,407 5204 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-13 17:21:34,407 5204 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-13 17:21:34,407 5204 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-13 17:21:34,421 5204 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-13 17:21:34,421 5204 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-13 17:21:34,437 5204 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-13 17:21:34,437 5204 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-13 17:21:34,437 5204 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2025-03-13 17:21:34,484 5204 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2025-03-13 17:21:34,500 5204 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2025-03-13 17:21:34,500 5204 [DEBUG] - Registering new command 'rule' in assembly 'choco'
|
|
2025-03-13 17:21:34,516 5204 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2025-03-13 17:21:34,516 5204 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2025-03-13 17:21:34,531 5204 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2025-03-13 17:21:34,531 5204 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2025-03-13 17:21:34,531 5204 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2025-03-13 17:21:34,547 5204 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2025-03-13 17:21:34,547 5204 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2025-03-13 17:21:34,547 5204 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2025-03-13 17:21:34,563 5204 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2025-03-13 17:21:34,579 5204 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2025-03-13 17:21:34,579 5204 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2025-03-13 17:21:34,594 5204 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2025-03-13 17:21:34,594 5204 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2025-03-13 17:21:34,594 5204 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2025-03-13 17:21:34,594 5204 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2025-03-13 17:21:34,609 5204 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2025-03-13 17:21:34,609 5204 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2025-03-13 17:21:34,625 5204 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2025-03-13 17:21:35,031 5204 [INFO ] - ============================================================
|
|
2025-03-13 17:21:35,547 5204 [INFO ] - Chocolatey v2.4.3
|
|
2025-03-13 17:21:35,594 5204 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2025-03-13 17:21:35,611 5204 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2025-03-13 17:21:35,611 5204 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2025-03-13 17:21:35,642 5204 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install SetDefaultPrinter --version 1.0.1 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2025-03-13 17:21:35,688 5204 [DEBUG] - Received arguments: install SetDefaultPrinter --version 1.0.1 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2025-03-13 17:21:35,922 5204 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2025-03-13 17:21:35,984 5204 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2025-03-13 17:21:36,031 5204 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2025-03-13 17:21:36,344 5204 [DEBUG] - Performing validation checks.
|
|
2025-03-13 17:21:36,377 5204 [DEBUG] - Global Configuration Validation Checks:
|
|
2025-03-13 17:21:36,377 5204 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2025-03-13 17:21:36,408 5204 [DEBUG] - System State Validation Checks:
|
|
2025-03-13 17:21:36,408 5204 [DEBUG] - Reboot Requirement Checks:
|
|
2025-03-13 17:21:36,422 5204 [DEBUG] - - Pending Computer Rename = Checked
|
|
2025-03-13 17:21:36,438 5204 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2025-03-13 17:21:36,438 5204 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2025-03-13 17:21:36,454 5204 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2025-03-13 17:21:36,470 5204 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2025-03-13 17:21:36,470 5204 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2025-03-13 17:21:36,501 5204 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2025-03-13 17:21:36,501 5204 [DEBUG] - - Elevated State = Checked
|
|
2025-03-13 17:21:36,516 5204 [DEBUG] - - Folder Exists = Checked
|
|
2025-03-13 17:21:36,532 5204 [DEBUG] - - Folder lockdown = Checked
|
|
2025-03-13 17:21:36,547 5204 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2025-03-13 17:21:36,735 5204 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2025-03-13 17:21:36,750 5204 [DEBUG] -
|
|
NOTE: Hiding sensitive configuration data! Please double and triple
|
|
check to be sure no sensitive data is shown, especially if copying
|
|
output to a gist for review.
|
|
2025-03-13 17:21:36,829 5204 [DEBUG] - Configuration: CommandName='install'|
|
|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
|
|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
|
|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
|
|
SourceType='normal'|IncludeConfiguredSources='False'|
|
|
ShowOnlineHelp='False'|Debug='True'|Verbose='True'|Trace='False'|
|
|
Force='True'|Noop='False'|HelpRequested='False'|
|
|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
|
|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
|
|
AcceptLicense='True'|AllowUnofficialBuild='False'|
|
|
Input='SetDefaultPrinter'|Version='1.0.1'|AllVersions='False'|
|
|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
|
|
PackageNames='SetDefaultPrinter'|Prerelease='False'|ForceX86='False'|
|
|
OverrideArguments='False'|NotSilent='False'|
|
|
ApplyPackageParametersToDependencies='False'|
|
|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
|
|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
|
|
ForceDependencies='False'|PinPackage='False'|
|
|
Information.PlatformType='Windows'|
|
|
Information.PlatformVersion='10.0.17763.0'|
|
|
Information.PlatformName='Windows Server 2019'|
|
|
Information.ChocolateyVersion='2.4.3.0'|
|
|
Information.ChocolateyProductVersion='2.4.3'|
|
|
Information.FullName='choco, Version=2.4.3.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
|
|
|
|
Information.Is64BitOperatingSystem='True'|
|
|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
|
|
Information.UserName='vagrant'|
|
|
Information.UserDomainName='WIN-J520823VB4P'|
|
|
Information.IsUserAdministrator='True'|
|
|
Information.IsUserSystemAccount='False'|
|
|
Information.IsUserRemoteDesktop='False'|
|
|
Information.IsUserRemote='True'|
|
|
Information.IsProcessElevated='True'|
|
|
Information.IsLicensedVersion='False'|
|
|
Information.IsLicensedAssemblyLoaded='False'|
|
|
Information.LicenseType='Foss'|
|
|
Information.CurrentDirectory='C:\Users\vagrant'|
|
|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
|
|
Features.AllowEmptyChecksums='False'|
|
|
Features.AllowEmptyChecksumsSecure='True'|
|
|
Features.FailOnAutoUninstaller='False'|
|
|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
|
|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
|
|
Features.VirusCheck='False'|
|
|
Features.FailOnInvalidOrMissingLicense='False'|
|
|
Features.IgnoreInvalidOptionsSwitches='True'|
|
|
Features.UsePackageExitCodes='True'|
|
|
Features.UseEnhancedExitCodes='False'|
|
|
Features.UseFipsCompliantChecksums='False'|
|
|
Features.ShowNonElevatedWarnings='True'|
|
|
Features.ShowDownloadProgress='False'|
|
|
Features.StopOnFirstPackageFailure='False'|
|
|
Features.UseRememberedArgumentsForUpgrades='False'|
|
|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
|
|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
|
|
Features.RemovePackageInformationOnUninstall='False'|
|
|
Features.ExitOnRebootDetected='False'|
|
|
Features.LogValidationResultsOnWarnings='True'|
|
|
Features.UsePackageRepositoryOptimizations='True'|
|
|
Features.UsePackageHashValidation='False'|
|
|
ListCommand.LocalOnly='False'|
|
|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
|
|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
|
|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
|
|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
|
|
ListCommand.ApprovedOnly='False'|
|
|
ListCommand.DownloadCacheAvailable='False'|
|
|
ListCommand.NotBroken='False'|
|
|
ListCommand.IncludeVersionOverrides='False'|
|
|
ListCommand.ExplicitPageSize='False'|
|
|
ListCommand.ExplicitSource='False'|
|
|
UpgradeCommand.FailOnUnfound='False'|
|
|
UpgradeCommand.FailOnNotInstalled='False'|
|
|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
|
|
UpgradeCommand.ExcludePrerelease='False'|
|
|
UpgradeCommand.IgnorePinned='False'|
|
|
NewCommand.AutomaticPackage='False'|
|
|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
|
|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
|
|
SourceCommand.AllowSelfService='False'|
|
|
SourceCommand.VisibleToAdminsOnly='False'|
|
|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
|
|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
|
|
OutdatedCommand.IgnorePinned='False'|
|
|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
|
|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
|
|
CacheCommand.RemoveExpiredItemsOnly='False'|
|
|
2025-03-13 17:21:36,844 5204 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2025-03-13 17:21:36,876 5204 [INFO ] - Installing the following packages:
|
|
2025-03-13 17:21:36,891 5204 [INFO ] - SetDefaultPrinter
|
|
2025-03-13 17:21:36,891 5204 [INFO ] - By installing, you accept licenses for the packages.
|
|
2025-03-13 17:21:36,922 5204 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2025-03-13 17:21:36,938 5204 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2025-03-13 17:21:36,938 5204 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2025-03-13 17:21:36,954 5204 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2025-03-13 17:21:36,954 5204 [DEBUG] - * 'ChocolateyLastPathUpdate'='133863454688667834' ('User')
|
|
2025-03-13 17:21:36,972 5204 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2025-03-13 17:21:36,986 5204 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2025-03-13 17:21:36,986 5204 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2025-03-13 17:21:37,001 5204 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin' ('Machine')
|
|
2025-03-13 17:21:37,015 5204 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2025-03-13 17:21:37,032 5204 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2025-03-13 17:21:37,094 5204 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2025-03-13 17:21:37,094 5204 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2025-03-13 17:21:37,094 5204 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2025-03-13 17:21:37,111 5204 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2025-03-13 17:21:37,111 5204 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2025-03-13 17:21:37,125 5204 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
|
|
2025-03-13 17:21:37,125 5204 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2025-03-13 17:21:37,142 5204 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2025-03-13 17:21:37,142 5204 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2025-03-13 17:21:37,157 5204 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2025-03-13 17:21:37,423 5204 [DEBUG] - Unable to get parent process for 'choco'. Ignoring...
|
|
2025-03-13 17:21:37,438 5204 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
|
|
2025-03-13 17:21:37,485 5204 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.3 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
|
|
2025-03-13 17:21:38,016 5204 [DEBUG] - Running list with the following filter = ''
|
|
2025-03-13 17:21:38,016 5204 [DEBUG] - --- Start of List ---
|
|
2025-03-13 17:21:38,095 5204 [DEBUG] - Process Tree: Chocolatey CLI => Chocolatey CLI => powershell => powershell => cmd => sshd => sshd => sshd => services
|
|
2025-03-13 17:21:38,109 5204 [DEBUG] - Updating User Agent to 'Chocolatey Command Line/2.4.3 (sshd, Chocolatey CLI) via NuGet Client/6.4.1 (Microsoft Windows NT 10.0.17763.0)'.
|
|
2025-03-13 17:21:38,126 5204 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2025-03-13 17:21:39,610 5204 [DEBUG] - chocolatey 2.4.3
|
|
2025-03-13 17:21:39,626 5204 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2025-03-13 17:21:39,642 5204 [DEBUG] - KB2919355 1.0.20160915
|
|
2025-03-13 17:21:39,642 5204 [DEBUG] - KB2919442 1.0.20160915
|
|
2025-03-13 17:21:39,657 5204 [DEBUG] - KB2999226 1.0.20181019
|
|
2025-03-13 17:21:39,672 5204 [DEBUG] - KB3035131 1.0.3
|
|
2025-03-13 17:21:39,672 5204 [DEBUG] - KB3118401 1.0.5
|
|
2025-03-13 17:21:39,689 5204 [DEBUG] - virtualbox-guest-additions-guest.install 7.1.0
|
|
2025-03-13 17:21:39,704 5204 [DEBUG] - --- End of List ---
|
|
2025-03-13 17:21:39,718 5204 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2025-03-13 17:21:40,937 5204 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2025-03-13 17:21:42,003 5204 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='setdefaultprinter',Version='1.0.1')
|
|
2025-03-13 17:21:42,218 5204 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='setdefaultprinter',Version='1.0.1') 194ms
|
|
2025-03-13 17:21:42,594 5204 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2025-03-13 17:21:43,344 5204 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2025-03-13 17:21:43,360 5204 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='SetDefaultPrinter',Version='1.0.1')
|
|
2025-03-13 17:21:43,674 5204 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2025-03-13 17:21:43,704 5204 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2025-03-13 17:21:43,781 5204 [DEBUG] - Attempting to delete file "".
|
|
2025-03-13 17:21:43,796 5204 [INFO ] - Downloading package from source 'https://community.chocolatey.org/api/v2/'
|
|
2025-03-13 17:21:43,796 5204 [DEBUG] - Package download location 'https://community.chocolatey.org/api/v2/package/SetDefaultPrinter/1.0.1'
|
|
2025-03-13 17:21:43,860 5204 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/SetDefaultPrinter/1.0.1
|
|
2025-03-13 17:21:44,250 5204 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/SetDefaultPrinter/1.0.1 379ms
|
|
2025-03-13 17:21:44,314 5204 [INFO ] - [NuGet] Acquiring lock for the installation of SetDefaultPrinter 1.0.1
|
|
2025-03-13 17:21:44,407 5204 [INFO ] - [NuGet] Acquired lock for the installation of SetDefaultPrinter 1.0.1
|
|
2025-03-13 17:21:45,078 5204 [INFO ] - [NuGet] Installed SetDefaultPrinter 1.0.1 from https://community.chocolatey.org/api/v2/ with content hash EWk/iKdhYFsZAEPpGHrg1leQIJvSFcVbXftRdDgvk5mRFCe8pQjHhuE8tWe5e6ayRtvlQF814MG6CwFWR4Z1pw==.
|
|
2025-03-13 17:21:45,109 5204 [DEBUG] - Skipping package hash validation as feature 'usePackageHashValidation' is not enabled.
|
|
2025-03-13 17:21:45,172 5204 [INFO ] - [NuGet] Adding package 'SetDefaultPrinter.1.0.1' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2025-03-13 17:21:45,297 5204 [INFO ] - [NuGet] Added package 'SetDefaultPrinter.1.0.1' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2025-03-13 17:21:45,312 5204 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\SetDefaultPrinter/1.0.1\SetDefaultPrinter.1.0.1.nupkg".
|
|
2025-03-13 17:21:45,331 5204 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\SetDefaultPrinter/1.0.1\.nupkg.metadata".
|
|
2025-03-13 17:21:45,331 5204 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\SetDefaultPrinter/1.0.1\SetDefaultPrinter.1.0.1.nupkg.sha512".
|
|
2025-03-13 17:21:45,344 5204 [INFO ] -
|
|
setdefaultprinter v1.0.1 (forced) [Approved] - Likely broken for FOSS users (due to download location changes)
|
|
2025-03-13 17:21:45,469 5204 [INFO ] - setdefaultprinter package files install completed. Performing other installation steps.
|
|
2025-03-13 17:21:45,579 5204 [DEBUG] - Setting installer args for SetDefaultPrinter
|
|
2025-03-13 17:21:45,595 5204 [DEBUG] - Setting package parameters for SetDefaultPrinter
|
|
2025-03-13 17:21:45,595 5204 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\SetDefaultPrinter\tools\chocolateyInstall.ps1':
|
|
2025-03-13 17:21:45,625 5204 [DEBUG] - $packageName = 'SetDefaultPrinter' # arbitrary name for the package, used in messages
|
|
$url = 'https://gallery.technet.microsoft.com/How-to-set-default-printer-cf89670b/file/131203/1/38873.zip' # download url
|
|
|
|
$checksum = '42B7275EC42B9A5C0CD8140D211F9CA7'
|
|
try {
|
|
$installDir = Join-Path $PSHome "Modules"
|
|
|
|
Install-ChocolateyZipPackage "$packageName" "$url" "$installDir" -checksum $checksum
|
|
|
|
Write-ChocolateySuccess "$packageName"
|
|
} catch {
|
|
Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
|
|
throw
|
|
}
|
|
2025-03-13 17:21:45,674 5204 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\SetDefaultPrinter\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2025-03-13 17:21:45,687 5204 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2025-03-13 17:21:46,922 5204 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.6893' and CLR Version is '4.0.30319.42000'.
|
|
2025-03-13 17:21:48,735 5204 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
|
|
2025-03-13 17:21:48,798 5204 [DEBUG] - Returning loaded assembly type for 'Chocolatey.PowerShell'
|
|
2025-03-13 17:21:48,815 5204 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
|
|
2025-03-13 17:21:48,829 5204 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
|
|
2025-03-13 17:21:48,844 5204 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
|
|
2025-03-13 17:21:48,860 5204 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
|
|
2025-03-13 17:21:48,875 5204 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
|
|
2025-03-13 17:21:48,890 5204 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
|
|
2025-03-13 17:21:48,906 5204 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
|
|
2025-03-13 17:21:49,125 5204 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
|
|
2025-03-13 17:21:49,172 5204 [DEBUG] - Get-EnvironmentVariable
|
|
2025-03-13 17:21:49,188 5204 [DEBUG] - Get-EnvironmentVariableNames
|
|
2025-03-13 17:21:49,204 5204 [DEBUG] - Install-ChocolateyPath
|
|
2025-03-13 17:21:49,220 5204 [DEBUG] - Set-EnvironmentVariable
|
|
2025-03-13 17:21:49,236 5204 [DEBUG] - Test-ProcessAdminRights
|
|
2025-03-13 17:21:49,236 5204 [DEBUG] - Uninstall-ChocolateyPath
|
|
2025-03-13 17:21:49,268 5204 [DEBUG] - Update-SessionEnvironment
|
|
2025-03-13 17:21:49,313 5204 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2025-03-13 17:21:49,330 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2025-03-13 17:21:49,362 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2025-03-13 17:21:49,375 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2025-03-13 17:21:49,375 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2025-03-13 17:21:49,392 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2025-03-13 17:21:49,407 5204 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2025-03-13 17:21:49,422 5204 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2025-03-13 17:21:49,438 5204 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2025-03-13 17:21:49,471 5204 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2025-03-13 17:21:49,484 5204 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2025-03-13 17:21:49,501 5204 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2025-03-13 17:21:49,517 5204 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2025-03-13 17:21:49,517 5204 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2025-03-13 17:21:49,532 5204 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2025-03-13 17:21:49,547 5204 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2025-03-13 17:21:49,563 5204 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2025-03-13 17:21:49,578 5204 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2025-03-13 17:21:49,595 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2025-03-13 17:21:49,625 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2025-03-13 17:21:49,641 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2025-03-13 17:21:49,660 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2025-03-13 17:21:49,671 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2025-03-13 17:21:49,688 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2025-03-13 17:21:49,703 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2025-03-13 17:21:49,721 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2025-03-13 17:21:49,734 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2025-03-13 17:21:49,750 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2025-03-13 17:21:49,766 5204 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2025-03-13 17:21:49,766 5204 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2025-03-13 17:21:49,797 5204 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2025-03-13 17:21:49,812 5204 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2025-03-13 17:21:49,828 5204 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2025-03-13 17:21:49,844 5204 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2025-03-13 17:21:49,861 5204 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2025-03-13 17:21:49,907 5204 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2025-03-13 17:21:49,969 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2025-03-13 17:21:49,986 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2025-03-13 17:21:50,001 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2025-03-13 17:21:50,016 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2025-03-13 17:21:50,031 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2025-03-13 17:21:50,047 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2025-03-13 17:21:50,111 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2025-03-13 17:21:50,126 5204 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2025-03-13 17:21:50,141 5204 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2025-03-13 17:21:50,157 5204 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2025-03-13 17:21:50,157 5204 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2025-03-13 17:21:50,174 5204 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2025-03-13 17:21:50,174 5204 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2025-03-13 17:21:50,188 5204 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2025-03-13 17:21:50,205 5204 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2025-03-13 17:21:50,205 5204 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2025-03-13 17:21:50,235 5204 [DEBUG] - Loading community extensions
|
|
2025-03-13 17:21:50,282 5204 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2025-03-13 17:21:50,298 5204 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2025-03-13 17:21:50,484 5204 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2025-03-13 17:21:50,499 5204 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2025-03-13 17:21:50,518 5204 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2025-03-13 17:21:50,532 5204 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2025-03-13 17:21:50,642 5204 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2025-03-13 17:21:50,658 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2025-03-13 17:21:50,672 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2025-03-13 17:21:50,703 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2025-03-13 17:21:50,703 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2025-03-13 17:21:50,719 5204 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2025-03-13 17:21:50,735 5204 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2025-03-13 17:21:50,766 5204 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2025-03-13 17:21:50,781 5204 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2025-03-13 17:21:50,813 5204 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2025-03-13 17:21:50,829 5204 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2025-03-13 17:21:50,845 5204 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2025-03-13 17:21:50,862 5204 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2025-03-13 17:21:50,892 5204 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2025-03-13 17:21:50,906 5204 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2025-03-13 17:21:50,939 5204 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2025-03-13 17:21:50,954 5204 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2025-03-13 17:21:50,970 5204 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2025-03-13 17:21:50,970 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2025-03-13 17:21:50,985 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2025-03-13 17:21:51,000 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2025-03-13 17:21:51,018 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2025-03-13 17:21:51,031 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2025-03-13 17:21:51,048 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2025-03-13 17:21:51,063 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2025-03-13 17:21:51,094 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2025-03-13 17:21:51,094 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2025-03-13 17:21:51,126 5204 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2025-03-13 17:21:51,141 5204 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2025-03-13 17:21:51,176 5204 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2025-03-13 17:21:51,189 5204 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2025-03-13 17:21:51,204 5204 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2025-03-13 17:21:51,218 5204 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2025-03-13 17:21:51,235 5204 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2025-03-13 17:21:51,250 5204 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2025-03-13 17:21:51,268 5204 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2025-03-13 17:21:51,297 5204 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2025-03-13 17:21:51,297 5204 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2025-03-13 17:21:51,312 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2025-03-13 17:21:51,329 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2025-03-13 17:21:51,360 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2025-03-13 17:21:51,360 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2025-03-13 17:21:51,391 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2025-03-13 17:21:51,422 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2025-03-13 17:21:51,422 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2025-03-13 17:21:51,454 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2025-03-13 17:21:51,472 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2025-03-13 17:21:51,484 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2025-03-13 17:21:51,501 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2025-03-13 17:21:51,501 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2025-03-13 17:21:51,517 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2025-03-13 17:21:51,517 5204 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2025-03-13 17:21:51,628 5204 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2025-03-13 17:21:51,642 5204 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2025-03-13 17:21:51,656 5204 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2025-03-13 17:21:51,672 5204 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2025-03-13 17:21:51,687 5204 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2025-03-13 17:21:51,703 5204 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2025-03-13 17:21:51,720 5204 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2025-03-13 17:21:51,736 5204 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2025-03-13 17:21:51,751 5204 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2025-03-13 17:21:51,766 5204 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
|
|
2025-03-13 17:21:51,782 5204 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
|
|
2025-03-13 17:21:51,782 5204 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
|
|
2025-03-13 17:21:51,797 5204 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
|
|
2025-03-13 17:21:51,829 5204 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
|
|
2025-03-13 17:21:51,844 5204 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
|
|
2025-03-13 17:21:51,878 5204 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
|
|
2025-03-13 17:21:51,891 5204 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2025-03-13 17:21:51,906 5204 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2025-03-13 17:21:51,922 5204 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2025-03-13 17:21:51,937 5204 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2025-03-13 17:21:51,953 5204 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2025-03-13 17:21:51,969 5204 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2025-03-13 17:21:51,984 5204 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2025-03-13 17:21:52,000 5204 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2025-03-13 17:21:52,016 5204 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2025-03-13 17:21:52,031 5204 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2025-03-13 17:21:52,047 5204 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2025-03-13 17:21:52,062 5204 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2025-03-13 17:21:52,094 5204 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2025-03-13 17:21:52,109 5204 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2025-03-13 17:21:52,124 5204 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2025-03-13 17:21:52,124 5204 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2025-03-13 17:21:52,156 5204 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2025-03-13 17:21:52,174 5204 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2025-03-13 17:21:52,188 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2025-03-13 17:21:52,204 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2025-03-13 17:21:52,218 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2025-03-13 17:21:52,234 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2025-03-13 17:21:52,250 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2025-03-13 17:21:52,265 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2025-03-13 17:21:52,281 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2025-03-13 17:21:52,297 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2025-03-13 17:21:52,312 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2025-03-13 17:21:52,328 5204 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2025-03-13 17:21:52,328 5204 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2025-03-13 17:21:52,344 5204 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2025-03-13 17:21:52,359 5204 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2025-03-13 17:21:52,391 5204 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2025-03-13 17:21:52,407 5204 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2025-03-13 17:21:52,422 5204 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2025-03-13 17:21:52,438 5204 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2025-03-13 17:21:52,454 5204 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2025-03-13 17:21:52,470 5204 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2025-03-13 17:21:52,503 5204 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2025-03-13 17:21:52,515 5204 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2025-03-13 17:21:52,532 5204 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2025-03-13 17:21:52,548 5204 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2025-03-13 17:21:52,563 5204 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2025-03-13 17:21:52,578 5204 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2025-03-13 17:21:52,594 5204 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2025-03-13 17:21:52,610 5204 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2025-03-13 17:21:52,625 5204 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2025-03-13 17:21:52,642 5204 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2025-03-13 17:21:52,937 5204 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2025-03-13 17:21:53,064 5204 [DEBUG] - Running 'ChocolateyScriptRunner' for SetDefaultPrinter v1.0.1 with packageScript 'C:\ProgramData\chocolatey\lib\SetDefaultPrinter\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\SetDefaultPrinter', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2025-03-13 17:21:53,359 5204 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\SetDefaultPrinter\tools\chocolateyInstall.ps1'
|
|
2025-03-13 17:21:53,798 5204 [DEBUG] - Running Install-ChocolateyZipPackage -checksum '42B7275EC42B9A5C0CD8140D211F9CA7' -packageName 'SetDefaultPrinter' -url 'https://gallery.technet.microsoft.com/How-to-set-default-printer-cf89670b/file/131203/1/38873.zip' -unzipLocation 'C:\Windows\System32\WindowsPowerShell\v1.0\Modules'
|
|
2025-03-13 17:21:54,438 5204 [DEBUG] - Running Get-ChocolateyWebFile -checksum '42B7275EC42B9A5C0CD8140D211F9CA7' -checksumType '' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' -packageName 'SetDefaultPrinter' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\SetDefaultPrinter\1.0.1\SetDefaultPrinterInstall.zip' -url 'https://gallery.technet.microsoft.com/How-to-set-default-printer-cf89670b/file/131203/1/38873.zip' -url64bit ''
|
|
2025-03-13 17:21:54,691 5204 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
|
|
2025-03-13 17:21:54,859 5204 [DEBUG] - CPU is 64 bit
|
|
2025-03-13 17:21:55,501 5204 [DEBUG] - Running Get-WebFileName -url 'https://gallery.technet.microsoft.com/How-to-set-default-printer-cf89670b/file/131203/1/38873.zip' -defaultName 'SetDefaultPrinterInstall.zip'
|
|
2025-03-13 17:21:58,703 5204 [DEBUG] - Url request/response failed - file name will be 'SetDefaultPrinterInstall.zip': Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
|
|
2025-03-13 17:21:59,078 5204 [DEBUG] - Running Get-WebHeaders -url 'https://gallery.technet.microsoft.com/How-to-set-default-printer-cf89670b/file/131203/1/38873.zip' -ErrorAction 'Stop'
|
|
2025-03-13 17:21:59,143 5204 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
|
|
2025-03-13 17:21:59,172 5204 [DEBUG] - Request Headers:
|
|
2025-03-13 17:21:59,375 5204 [DEBUG] - 'Accept':'*/*'
|
|
2025-03-13 17:21:59,407 5204 [DEBUG] - 'User-Agent':'chocolatey command line'
|
|
2025-03-13 17:22:01,234 5204 [INFO ] - Attempt to get headers for https://gallery.technet.microsoft.com/How-to-set-default-printer-cf89670b/file/131203/1/38873.zip failed. |
|
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://gallery.technet.microsoft.com/How-to-set-default-printer-cf89670b/file/131203/1/38873.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
|
|
2025-03-13 17:22:01,330 5204 [INFO ] - Downloading SetDefaultPrinter
|
|
from 'https://gallery.technet.microsoft.com/How-to-set-default-printer-cf89670b/file/131203/1/38873.zip'
|
|
2025-03-13 17:22:01,547 5204 [DEBUG] - Running Get-WebFile -url 'https://gallery.technet.microsoft.com/How-to-set-default-printer-cf89670b/file/131203/1/38873.zip' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\SetDefaultPrinter\1.0.1\SetDefaultPrinterInstall.zip' -options 'System.Collections.Hashtable'
|
|
2025-03-13 17:22:01,671 5204 [DEBUG] - Setting request timeout to 30000
|
|
2025-03-13 17:22:01,720 5204 [DEBUG] - Setting read/write timeout to 2700000
|
|
2025-03-13 17:22:01,766 5204 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
|
|
2025-03-13 17:22:13,172 5204 [ERROR] - ERROR: The term 'Write-ChocolateyFailure' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
|
|
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\SetDefaultPrinter\tools\chocolateyInstall.ps1: line 12
|
|
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 63
|
|
at <ScriptBlock>, <No file>: line 1
|
|
2025-03-13 17:22:13,188 5204 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\SetDefaultPrinter\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '404'.
|
|
2025-03-13 17:22:13,205 5204 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2025-03-13 17:22:13,392 5204 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2025-03-13 17:22:13,675 5204 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\SetDefaultPrinter'
|
|
2025-03-13 17:22:13,688 5204 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SetDefaultPrinter\setdefaultprinter.nupkg'
|
|
with checksum '76C2B6C7DEE7442B4213229668E47C50'
|
|
2025-03-13 17:22:13,688 5204 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SetDefaultPrinter\setdefaultprinter.nuspec'
|
|
with checksum '1F55C8F28C1BE70CF4136F4EB9D08B84'
|
|
2025-03-13 17:22:13,705 5204 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SetDefaultPrinter\tools\chocolateyInstall.ps1'
|
|
with checksum '1D2307C885D1AC5ACC346CAFC333C14E'
|
|
2025-03-13 17:22:13,725 5204 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\SetDefaultPrinter\tools\chocolateyUninstall.ps1'
|
|
with checksum 'D37330005A125A8723E18F2D4C49D74A'
|
|
2025-03-13 17:22:13,859 5204 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\setdefaultprinter.1.0.1".
|
|
2025-03-13 17:22:13,922 5204 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\setdefaultprinter.1.0.1\.files'
|
|
2025-03-13 17:22:13,938 5204 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\setdefaultprinter.1.0.1\.arguments".
|
|
2025-03-13 17:22:13,957 5204 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\setdefaultprinter.1.0.1\.extra".
|
|
2025-03-13 17:22:13,973 5204 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\setdefaultprinter.1.0.1\.version".
|
|
2025-03-13 17:22:13,986 5204 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\setdefaultprinter.1.0.1\.sxs".
|
|
2025-03-13 17:22:14,000 5204 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\setdefaultprinter.1.0.1\.pin".
|
|
2025-03-13 17:22:14,000 5204 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\setdefaultprinter.1.0.1\.deploymentLocation".
|
|
2025-03-13 17:22:14,032 5204 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2025-03-13 17:22:14,032 5204 [ERROR] - The install of setdefaultprinter was NOT successful.
|
|
2025-03-13 17:22:14,063 5204 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\SetDefaultPrinter\tools\chocolateyInstall.ps1'.
|
|
See log for details.
|
|
2025-03-13 17:22:14,063 5204 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
|
|
2025-03-13 17:22:14,080 5204 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\setdefaultprinter".
|
|
2025-03-13 17:22:14,097 5204 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\SetDefaultPrinter to C:\ProgramData\chocolatey\lib-bad\setdefaultprinter\1.0.1
|
|
2025-03-13 17:22:14,111 5204 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\SetDefaultPrinter'
|
|
to 'C:\ProgramData\chocolatey\lib-bad\setdefaultprinter\1.0.1'
|
|
2025-03-13 17:22:16,235 5204 [WARN ] -
|
|
Chocolatey installed 0/1 packages. 1 packages failed.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2025-03-13 17:22:16,235 5204 [INFO ] -
|
|
2025-03-13 17:22:16,251 5204 [ERROR] - Failures
|
|
2025-03-13 17:22:16,268 5204 [ERROR] - - setdefaultprinter (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\SetDefaultPrinter\tools\chocolateyInstall.ps1'.
|
|
See log for details.
|
|
2025-03-13 17:22:16,282 5204 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2025-03-13 17:22:16,297 5204 [DEBUG] - Exiting with 404
|