|
2024-09-14 11:47:43,873 5268 [DEBUG] - XmlConfiguration is now operational
|
|
2024-09-14 11:47:44,030 5268 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-09-14 11:47:44,030 5268 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-09-14 11:47:44,051 5268 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-09-14 11:47:44,063 5268 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-09-14 11:47:44,063 5268 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-09-14 11:47:44,095 5268 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
|
|
2024-09-14 11:47:44,095 5268 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
|
|
2024-09-14 11:47:44,095 5268 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
|
|
2024-09-14 11:47:44,112 5268 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
|
|
2024-09-14 11:47:44,125 5268 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-09-14 11:47:44,125 5268 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
|
|
2024-09-14 11:47:45,233 5268 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-14 11:47:45,254 5268 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-14 11:47:45,254 5268 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-14 11:47:45,254 5268 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-14 11:47:45,254 5268 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-14 11:47:45,268 5268 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-14 11:47:45,268 5268 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-14 11:47:45,268 5268 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-14 11:47:45,281 5268 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-14 11:47:45,281 5268 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
|
|
2024-09-14 11:47:45,314 5268 [DEBUG] - Registering new command 'cache' in assembly 'choco'
|
|
2024-09-14 11:47:45,314 5268 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2024-09-14 11:47:45,314 5268 [DEBUG] - Registering new command 'rule' in assembly 'choco'
|
|
2024-09-14 11:47:45,332 5268 [DEBUG] - Registering new command 'template' in assembly 'choco'
|
|
2024-09-14 11:47:45,332 5268 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2024-09-14 11:47:45,332 5268 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2024-09-14 11:47:45,332 5268 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2024-09-14 11:47:45,348 5268 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2024-09-14 11:47:45,348 5268 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2024-09-14 11:47:45,348 5268 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2024-09-14 11:47:45,363 5268 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2024-09-14 11:47:45,363 5268 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2024-09-14 11:47:45,363 5268 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2024-09-14 11:47:45,363 5268 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2024-09-14 11:47:45,379 5268 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2024-09-14 11:47:45,379 5268 [DEBUG] - Registering new command 'source' in assembly 'choco'
|
|
2024-09-14 11:47:45,379 5268 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2024-09-14 11:47:45,379 5268 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2024-09-14 11:47:45,394 5268 [DEBUG] - Registering new command 'search' in assembly 'choco'
|
|
2024-09-14 11:47:45,394 5268 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2024-09-14 11:47:45,406 5268 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2024-09-14 11:47:45,708 5268 [INFO ] - ============================================================
|
|
2024-09-14 11:47:46,080 5268 [INFO ] - Chocolatey v2.3.0
|
|
2024-09-14 11:47:46,113 5268 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2024-09-14 11:47:46,125 5268 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2024-09-14 11:47:46,125 5268 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2024-09-14 11:47:46,157 5268 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install screen-resolution --version 1.0.1 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-09-14 11:47:46,157 5268 [DEBUG] - Received arguments: install screen-resolution --version 1.0.1 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2024-09-14 11:47:46,422 5268 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2024-09-14 11:47:46,452 5268 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2024-09-14 11:47:46,488 5268 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2024-09-14 11:47:46,717 5268 [DEBUG] - Performing validation checks.
|
|
2024-09-14 11:47:46,717 5268 [DEBUG] - Global Configuration Validation Checks:
|
|
2024-09-14 11:47:46,739 5268 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2024-09-14 11:47:46,750 5268 [DEBUG] - System State Validation Checks:
|
|
2024-09-14 11:47:46,767 5268 [DEBUG] - Reboot Requirement Checks:
|
|
2024-09-14 11:47:46,782 5268 [DEBUG] - - Pending Computer Rename = Checked
|
|
2024-09-14 11:47:46,782 5268 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2024-09-14 11:47:46,782 5268 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2024-09-14 11:47:46,801 5268 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2024-09-14 11:47:46,811 5268 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2024-09-14 11:47:46,811 5268 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2024-09-14 11:47:46,811 5268 [DEBUG] - Cache Folder Lockdown Checks:
|
|
2024-09-14 11:47:46,831 5268 [DEBUG] - - Elevated State = Checked
|
|
2024-09-14 11:47:46,889 5268 [DEBUG] - - Folder Exists = Checked
|
|
2024-09-14 11:47:46,889 5268 [DEBUG] - - Folder lockdown = Checked
|
|
2024-09-14 11:47:46,909 5268 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
|
|
2024-09-14 11:47:46,973 5268 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2024-09-14 11:47:46,983 5268 [DEBUG] -
|
|
NOTE: Hiding sensitive configuration data! Please double and triple
|
|
check to be sure no sensitive data is shown, especially if copying
|
|
output to a gist for review.
|
|
2024-09-14 11:47:47,015 5268 [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='screen-resolution'|Version='1.0.1'|AllVersions='False'|
|
|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
|
|
PackageNames='screen-resolution'|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.3.0.0'|
|
|
Information.ChocolateyProductVersion='2.3.0'|
|
|
Information.FullName='choco, Version=2.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
|
|
|
|
Information.Is64BitOperatingSystem='True'|
|
|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
|
|
Information.UserName='vagrant'|
|
|
Information.UserDomainName='WIN-JHRHFQMULOO'|
|
|
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'|
|
|
2024-09-14 11:47:47,031 5268 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2024-09-14 11:47:47,052 5268 [INFO ] - Installing the following packages:
|
|
2024-09-14 11:47:47,064 5268 [INFO ] - screen-resolution
|
|
2024-09-14 11:47:47,064 5268 [INFO ] - By installing, you accept licenses for the packages.
|
|
2024-09-14 11:47:47,094 5268 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2024-09-14 11:47:47,094 5268 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2024-09-14 11:47:47,117 5268 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-09-14 11:47:47,117 5268 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2024-09-14 11:47:47,124 5268 [DEBUG] - * 'ChocolateyLastPathUpdate'='133707066131972899' ('User')
|
|
2024-09-14 11:47:47,124 5268 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2024-09-14 11:47:47,124 5268 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2024-09-14 11:47:47,124 5268 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2024-09-14 11:47:47,145 5268 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin' ('Machine')
|
|
2024-09-14 11:47:47,145 5268 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2024-09-14 11:47:47,156 5268 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2024-09-14 11:47:47,156 5268 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2024-09-14 11:47:47,156 5268 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-09-14 11:47:47,156 5268 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2024-09-14 11:47:47,156 5268 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2024-09-14 11:47:47,182 5268 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2024-09-14 11:47:47,187 5268 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
|
|
2024-09-14 11:47:47,187 5268 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2024-09-14 11:47:47,187 5268 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
|
|
2024-09-14 11:47:47,187 5268 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
|
|
2024-09-14 11:47:47,187 5268 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2024-09-14 11:47:47,815 5268 [DEBUG] - Running list with the following filter = ''
|
|
2024-09-14 11:47:47,832 5268 [DEBUG] - --- Start of List ---
|
|
2024-09-14 11:47:47,912 5268 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
|
|
2024-09-14 11:47:48,445 5268 [DEBUG] - chocolatey 2.3.0
|
|
2024-09-14 11:47:48,452 5268 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
|
|
2024-09-14 11:47:48,452 5268 [DEBUG] - KB2919355 1.0.20160915
|
|
2024-09-14 11:47:48,477 5268 [DEBUG] - KB2919442 1.0.20160915
|
|
2024-09-14 11:47:48,484 5268 [DEBUG] - KB2999226 1.0.20181019
|
|
2024-09-14 11:47:48,515 5268 [DEBUG] - KB3035131 1.0.3
|
|
2024-09-14 11:47:48,515 5268 [DEBUG] - KB3118401 1.0.5
|
|
2024-09-14 11:47:48,537 5268 [DEBUG] - virtualbox-guest-additions-guest.install 7.1.0
|
|
2024-09-14 11:47:48,537 5268 [DEBUG] - --- End of List ---
|
|
2024-09-14 11:47:48,548 5268 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
|
|
2024-09-14 11:47:49,234 5268 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
|
|
2024-09-14 11:47:49,796 5268 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='screen-resolution',Version='1.0.1')
|
|
2024-09-14 11:47:49,981 5268 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='screen-resolution',Version='1.0.1') 180ms
|
|
2024-09-14 11:47:50,110 5268 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
|
|
2024-09-14 11:47:50,812 5268 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
|
|
2024-09-14 11:47:50,812 5268 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='screen-resolution',Version='1.0.1')
|
|
2024-09-14 11:47:51,061 5268 [INFO ] - [NuGet] Resolving dependency information took 0 ms
|
|
2024-09-14 11:47:51,085 5268 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
|
|
2024-09-14 11:47:51,126 5268 [DEBUG] - Attempting to delete file "".
|
|
2024-09-14 11:47:51,145 5268 [INFO ] - Downloading package from source 'https://community.chocolatey.org/api/v2/'
|
|
2024-09-14 11:47:51,145 5268 [DEBUG] - Package download location 'https://community.chocolatey.org/api/v2/package/screen-resolution/1.0.1'
|
|
2024-09-14 11:47:51,191 5268 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/screen-resolution/1.0.1
|
|
2024-09-14 11:47:51,452 5268 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/screen-resolution/1.0.1 254ms
|
|
2024-09-14 11:47:51,501 5268 [INFO ] - [NuGet] Acquiring lock for the installation of screen-resolution 1.0.1
|
|
2024-09-14 11:47:51,561 5268 [INFO ] - [NuGet] Acquired lock for the installation of screen-resolution 1.0.1
|
|
2024-09-14 11:47:51,955 5268 [INFO ] - [NuGet] Installed screen-resolution 1.0.1 from https://community.chocolatey.org/api/v2/ with content hash cn2RCIbj7hZIvD/ltJ1o5oJrfhTet3Osh2Hi2dKtfNPsIhM8qd+C6bzHWl21Zyv5nbjukErH0Pc1y4P9AIyNbQ==.
|
|
2024-09-14 11:47:51,988 5268 [DEBUG] - Skipping package hash validation as feature 'usePackageHashValidation' is not enabled.
|
|
2024-09-14 11:47:52,032 5268 [INFO ] - [NuGet] Adding package 'screen-resolution.1.0.1' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-09-14 11:47:52,126 5268 [INFO ] - [NuGet] Added package 'screen-resolution.1.0.1' to folder 'C:\ProgramData\chocolatey\lib'
|
|
2024-09-14 11:47:52,145 5268 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\screen-resolution/1.0.1\screen-resolution.1.0.1.nupkg".
|
|
2024-09-14 11:47:52,145 5268 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\screen-resolution/1.0.1\.nupkg.metadata".
|
|
2024-09-14 11:47:52,158 5268 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\screen-resolution/1.0.1\screen-resolution.1.0.1.nupkg.sha512".
|
|
2024-09-14 11:47:52,158 5268 [INFO ] -
|
|
screen-resolution v1.0.1 (forced) [Approved] - Possibly broken
|
|
2024-09-14 11:47:52,240 5268 [INFO ] - screen-resolution package files install completed. Performing other installation steps.
|
|
2024-09-14 11:47:52,309 5268 [DEBUG] - Setting installer args for screen-resolution
|
|
2024-09-14 11:47:52,309 5268 [DEBUG] - Setting package parameters for screen-resolution
|
|
2024-09-14 11:47:52,309 5268 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\screen-resolution\tools\chocolateyInstall.ps1':
|
|
2024-09-14 11:47:52,344 5268 [DEBUG] - $ErrorActionPreference = 'Stop'; # stop on all errors |
|
|
|
$toolsDir = Split-Path $MyInvocation.MyCommand.Definition |
|
$packageName = $env:ChocolateyPackageName |
|
$pp = Get-PackageParameters |
|
$name = 'Screen Resolution' |
|
$toolsLocation = Get-ToolsLocation |
|
$workDir = "$toolsLocation\$packageName" |
|
|
|
#if (!((Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion').ProductName -like '*Windows Server*')) { |
|
# throw 'This package requires Windows Server OS.' |
|
#} |
|
|
|
if (!$pp['UserName']) { $pp['UserName'] = "$env:UserName" } |
|
if (!$pp['Password']) { $pp['Password'] = Read-Host "Enter password for $($pp['UserName']):" -AsSecureString} |
|
if (!$pp['Password']) { throw "Package needs Password to install, that must be provided in params or in prompt." } |
|
|
|
if (!$pp['RdpUserName']) { $pp['RdpUserName'] = 'rdp_local' } |
|
if (!$pp['RdpPassword']) { $pp['RdpPassword'] = $pp['Password'] } |
|
if (!$pp['RdpGroups']) { $pp['RdpGroups'] = @('Administrators', 'Remote Desktop Users') } |
|
|
|
if (!$pp['Width']) { $pp['Width'] = 1920 } |
|
if (!$pp['Height']) { $pp['Height'] = 1080 } |
|
|
|
if (Get-WmiObject Win32_UserAccount -Filter "LocalAccount='true' and Name='$( $pp['RdpUserName'] )'") { |
|
Write-Host "Updating $($pp['RdpUserName']) user." |
|
NET USER "$($pp['RdpUserName'])" "$($pp['RdpPassword'])" /Y |
|
} else { |
|
Write-Host "Creating $($pp['RdpUserName']) user." |
|
NET USER /ADD "$($pp['RdpUserName'])" "$($pp['RdpPassword'])" /COMMENT:"Created by $name" /FULLNAME:"RDP Local" /EXPIRES:NEVER /PASSWORDCHG:NO /Y |
|
} |
|
|
|
ForEach ($group In $pp['RdpGroups']) { |
|
try { |
|
Write-Host "Adding $( $pp['RdpUserName'] ) user to $group." |
|
NET LOCALGROUP "$group" "$($pp['RdpUserName'])" /ADD |
|
} |
|
catch { |
|
Write-Debug "User $( $pp['RdpUserName'] ) already in $group." |
|
} |
|
} |
|
|
|
$TaskName = 'CreateRdpHomeAndStoreUserCreds' |
|
$Action = New-ScheduledTaskAction -Execute 'cmdkey.exe' -Argument "/add:127.0.0.2 /user:$($pp['UserName']) /pass:$($pp['Password'])" |
|
$Settings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries |
|
Register-ScheduledTask -TaskName $TaskName -User $pp['RdpUserName'] -Password $pp['RdpPassword'] -Action $Action -Settings $Settings -RunLevel Highest -Force |
|
Start-ScheduledTask -TaskName $TaskName |
|
|
|
$timer = [Diagnostics.Stopwatch]::StartNew() |
|
while (((Get-ScheduledTask -TaskName $TaskName).State -ne 'Ready') -and ($timer.Elapsed.TotalSeconds -lt 90)) { |
|
Write-Debug -Message 'Waiting on scheduled task...' |
|
Start-Sleep -Seconds 3 |
|
} |
|
$timer.Stop() |
|
|
|
Unregister-ScheduledTask -TaskName $TaskName -Confirm:$false |
|
|
|
if (!(Test-Path $workDir)) { |
|
New-Item $workDir -ItemType directory -Force |
|
} |
|
|
|
$cmdName = "RDP-to-$($pp['UserName'])-at-res$($pp['Width'])x$($pp['Height'])" |
|
$cmdPath = "$workDir\$cmdName.cmd" |
|
|
|
$cmd = "mstsc.exe /v:127.0.0.2 /w:$($pp['Width']) /h:$($pp['Height'])" |
|
$cmd | Set-Content $cmdPath |
|
|
|
$startupDir = "C:\Users\$($pp['RdpUserName'])\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" |
|
|
|
if (!(Test-Path $startupDir)) { |
|
New-Item $startupDir -ItemType Directory -Force |
|
} |
|
|
|
$shortcutArgs = @{ |
|
shortcutFilePath = "$startupDir\$cmdName.lnk" |
|
targetPath = "$cmdPath" |
|
iconLocation = "$toolsDir\icon.ico" |
|
workDirectory = $workDir |
|
} |
|
Install-ChocolateyShortcut @shortcutArgs |
|
|
|
# required by uninstaller to remove rdp user |
|
"RdpUserName=$($pp['RdpUserName'])" | Set-Content $toolsDir\uninstall.parameters |
|
|
|
# https://technet.microsoft.com/en-us/library/cc722151%28v=ws.10%29.aspx |
|
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server' -Name 'fDenyTSConnections' -Type DWord -Value 0 |
|
|
|
# http://www.mytecbits.com/microsoft/windows/rdp-identity-of-the-remote-computer |
|
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Terminal Server Client' -Name 'AuthenticationLevelOverride' -Type DWord -Value 0 |
|
|
|
$rules = Get-NetFirewallRule |
|
$par = @{ |
|
DisplayName = "$name" |
|
LocalPort = 3389 |
|
LocalAddress = 'any' |
|
RemoteAddress = 'LocalSubnet' |
|
Profile = 'Public' |
|
Direction = 'Inbound' |
|
Protocol = 'TCP' |
|
Action = 'Allow' |
|
} |
|
if (-not $rules.DisplayName.Contains($par.DisplayName)) { |
|
New-NetFirewallRule @par |
|
} |
|
|
|
2024-09-14 11:47:52,403 5268 [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\screen-resolution\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2024-09-14 11:47:52,428 5268 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2024-09-14 11:47:53,141 5268 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.5830' and CLR Version is '4.0.30319.42000'.
|
|
2024-09-14 11:47:53,766 5268 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\helpers\Chocolatey.PowerShell.dll'.
|
|
2024-09-14 11:47:53,788 5268 [DEBUG] - Returning loaded assembly type for 'Chocolatey.PowerShell'
|
|
2024-09-14 11:47:53,799 5268 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
|
|
2024-09-14 11:47:53,799 5268 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-09-14 11:47:53,815 5268 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
|
|
2024-09-14 11:47:53,815 5268 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
|
|
2024-09-14 11:47:53,815 5268 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
|
|
2024-09-14 11:47:53,834 5268 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-09-14 11:47:53,834 5268 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
|
|
2024-09-14 11:47:53,881 5268 [DEBUG] - Cmdlets exported from Chocolatey.PowerShell.dll
|
|
2024-09-14 11:47:53,891 5268 [DEBUG] - Get-EnvironmentVariable
|
|
2024-09-14 11:47:53,891 5268 [DEBUG] - Get-EnvironmentVariableNames
|
|
2024-09-14 11:47:53,891 5268 [DEBUG] - Install-ChocolateyPath
|
|
2024-09-14 11:47:53,891 5268 [DEBUG] - Set-EnvironmentVariable
|
|
2024-09-14 11:47:53,912 5268 [DEBUG] - Test-ProcessAdminRights
|
|
2024-09-14 11:47:53,912 5268 [DEBUG] - Uninstall-ChocolateyPath
|
|
2024-09-14 11:47:53,923 5268 [DEBUG] - Update-SessionEnvironment
|
|
2024-09-14 11:47:53,943 5268 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-09-14 11:47:53,943 5268 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-09-14 11:47:53,956 5268 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-09-14 11:47:53,956 5268 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-09-14 11:47:53,956 5268 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-09-14 11:47:53,956 5268 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-09-14 11:47:53,977 5268 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-09-14 11:47:53,977 5268 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-09-14 11:47:53,984 5268 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-09-14 11:47:53,984 5268 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-09-14 11:47:53,984 5268 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-09-14 11:47:53,984 5268 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-09-14 11:47:54,009 5268 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-09-14 11:47:54,014 5268 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-09-14 11:47:54,014 5268 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-09-14 11:47:54,014 5268 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-09-14 11:47:54,014 5268 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-09-14 11:47:54,014 5268 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-09-14 11:47:54,045 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-09-14 11:47:54,045 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-09-14 11:47:54,045 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-09-14 11:47:54,045 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-09-14 11:47:54,045 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-09-14 11:47:54,070 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-09-14 11:47:54,070 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-09-14 11:47:54,078 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-09-14 11:47:54,078 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-09-14 11:47:54,078 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-09-14 11:47:54,078 5268 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-09-14 11:47:54,078 5268 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-09-14 11:47:54,101 5268 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-09-14 11:47:54,109 5268 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-09-14 11:47:54,109 5268 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-09-14 11:47:54,109 5268 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-09-14 11:47:54,109 5268 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-09-14 11:47:54,109 5268 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-09-14 11:47:54,133 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-09-14 11:47:54,140 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-09-14 11:47:54,140 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-09-14 11:47:54,140 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-09-14 11:47:54,140 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-09-14 11:47:54,140 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-09-14 11:47:54,165 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-09-14 11:47:54,171 5268 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-09-14 11:47:54,171 5268 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-09-14 11:47:54,171 5268 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-09-14 11:47:54,171 5268 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-09-14 11:47:54,171 5268 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-09-14 11:47:54,196 5268 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-09-14 11:47:54,203 5268 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-09-14 11:47:54,203 5268 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-09-14 11:47:54,203 5268 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-09-14 11:47:54,226 5268 [DEBUG] - Loading community extensions
|
|
2024-09-14 11:47:54,257 5268 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2024-09-14 11:47:54,257 5268 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2024-09-14 11:47:54,391 5268 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-09-14 11:47:54,391 5268 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-09-14 11:47:54,391 5268 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-09-14 11:47:54,391 5268 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-09-14 11:47:54,422 5268 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2024-09-14 11:47:54,422 5268 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2024-09-14 11:47:54,422 5268 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
|
|
2024-09-14 11:47:54,422 5268 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2024-09-14 11:47:54,445 5268 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2024-09-14 11:47:54,454 5268 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2024-09-14 11:47:54,454 5268 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2024-09-14 11:47:54,454 5268 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2024-09-14 11:47:54,454 5268 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2024-09-14 11:47:54,454 5268 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2024-09-14 11:47:54,475 5268 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2024-09-14 11:47:54,475 5268 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2024-09-14 11:47:54,486 5268 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2024-09-14 11:47:54,486 5268 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2024-09-14 11:47:54,486 5268 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2024-09-14 11:47:54,486 5268 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2024-09-14 11:47:54,506 5268 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2024-09-14 11:47:54,506 5268 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2024-09-14 11:47:54,506 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-09-14 11:47:54,518 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-09-14 11:47:54,518 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2024-09-14 11:47:54,518 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2024-09-14 11:47:54,518 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2024-09-14 11:47:54,537 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-09-14 11:47:54,537 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2024-09-14 11:47:54,549 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2024-09-14 11:47:54,549 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2024-09-14 11:47:54,549 5268 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2024-09-14 11:47:54,567 5268 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2024-09-14 11:47:54,567 5268 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2024-09-14 11:47:54,567 5268 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-09-14 11:47:54,583 5268 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2024-09-14 11:47:54,583 5268 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-09-14 11:47:54,583 5268 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2024-09-14 11:47:54,597 5268 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-09-14 11:47:54,597 5268 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2024-09-14 11:47:54,597 5268 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2024-09-14 11:47:54,597 5268 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2024-09-14 11:47:54,614 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-09-14 11:47:54,626 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-09-14 11:47:54,626 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-09-14 11:47:54,626 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-09-14 11:47:54,646 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-09-14 11:47:54,646 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-09-14 11:47:54,658 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-09-14 11:47:54,658 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariable'.
|
|
2024-09-14 11:47:54,658 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-09-14 11:47:54,658 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPath'.
|
|
2024-09-14 11:47:54,677 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Set-EnvironmentVariable'.
|
|
2024-09-14 11:47:54,677 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Test-ProcessAdminRights'.
|
|
2024-09-14 11:47:54,677 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-09-14 11:47:54,690 5268 [INFO ] - VERBOSE: Exporting cmdlet 'Update-SessionEnvironment'.
|
|
2024-09-14 11:47:54,690 5268 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2024-09-14 11:47:54,690 5268 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2024-09-14 11:47:54,706 5268 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2024-09-14 11:47:54,706 5268 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2024-09-14 11:47:54,706 5268 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2024-09-14 11:47:54,724 5268 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2024-09-14 11:47:54,724 5268 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2024-09-14 11:47:54,735 5268 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2024-09-14 11:47:54,735 5268 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2024-09-14 11:47:54,735 5268 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariable'.
|
|
2024-09-14 11:47:54,755 5268 [INFO ] - VERBOSE: Importing cmdlet 'Get-EnvironmentVariableNames'.
|
|
2024-09-14 11:47:54,755 5268 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPath'.
|
|
2024-09-14 11:47:54,755 5268 [INFO ] - VERBOSE: Importing cmdlet 'Set-EnvironmentVariable'.
|
|
2024-09-14 11:47:54,768 5268 [INFO ] - VERBOSE: Importing cmdlet 'Test-ProcessAdminRights'.
|
|
2024-09-14 11:47:54,768 5268 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyPath'.
|
|
2024-09-14 11:47:54,768 5268 [INFO ] - VERBOSE: Importing cmdlet 'Update-SessionEnvironment'.
|
|
2024-09-14 11:47:54,768 5268 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2024-09-14 11:47:54,786 5268 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2024-09-14 11:47:54,786 5268 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
|
|
2024-09-14 11:47:54,798 5268 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2024-09-14 11:47:54,798 5268 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2024-09-14 11:47:54,798 5268 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2024-09-14 11:47:54,798 5268 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2024-09-14 11:47:54,816 5268 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2024-09-14 11:47:54,816 5268 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2024-09-14 11:47:54,829 5268 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2024-09-14 11:47:54,829 5268 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2024-09-14 11:47:54,829 5268 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2024-09-14 11:47:54,829 5268 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2024-09-14 11:47:54,850 5268 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2024-09-14 11:47:54,850 5268 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2024-09-14 11:47:54,861 5268 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2024-09-14 11:47:54,861 5268 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2024-09-14 11:47:54,861 5268 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2024-09-14 11:47:54,861 5268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2024-09-14 11:47:54,880 5268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2024-09-14 11:47:54,880 5268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2024-09-14 11:47:54,891 5268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2024-09-14 11:47:54,891 5268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2024-09-14 11:47:54,891 5268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2024-09-14 11:47:54,891 5268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2024-09-14 11:47:54,912 5268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2024-09-14 11:47:54,912 5268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2024-09-14 11:47:54,923 5268 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2024-09-14 11:47:54,923 5268 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2024-09-14 11:47:54,923 5268 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2024-09-14 11:47:54,942 5268 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2024-09-14 11:47:54,942 5268 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2024-09-14 11:47:54,955 5268 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2024-09-14 11:47:54,955 5268 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2024-09-14 11:47:54,955 5268 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2024-09-14 11:47:54,955 5268 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2024-09-14 11:47:54,972 5268 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2024-09-14 11:47:54,972 5268 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2024-09-14 11:47:54,988 5268 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2024-09-14 11:47:54,988 5268 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2024-09-14 11:47:54,988 5268 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2024-09-14 11:47:54,988 5268 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2024-09-14 11:47:55,004 5268 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2024-09-14 11:47:55,004 5268 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2024-09-14 11:47:55,004 5268 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2024-09-14 11:47:55,018 5268 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2024-09-14 11:47:55,018 5268 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2024-09-14 11:47:55,144 5268 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2024-09-14 11:47:55,177 5268 [DEBUG] - Running 'ChocolateyScriptRunner' for screen-resolution v1.0.1 with packageScript 'C:\ProgramData\chocolatey\lib\screen-resolution\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\screen-resolution', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2024-09-14 11:47:55,237 5268 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\screen-resolution\tools\chocolateyInstall.ps1'
|
|
2024-09-14 11:47:55,363 5268 [DEBUG] - Running Get-PackageParameters
|
|
2024-09-14 11:47:55,363 5268 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
|
|
2024-09-14 11:47:55,410 5268 [DEBUG] - Running Get-ToolsLocation
|
|
2024-09-14 11:47:55,453 5268 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
|
|
2024-09-14 11:47:55,473 5268 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
|
|
2024-09-14 11:47:55,549 5268 [DEBUG] - Finishing 'Set-EnvironmentVariable'
|
|
2024-09-14 11:47:55,582 5268 [INFO ] -
|
|
2024-09-14 11:47:55,597 5268 [WARN ] - Enter password for vagrant:
|
|
2024-09-14 11:47:55,597 5268 [WARN ] - Confirmation (`-y`) is set.
|
|
Respond within 30 seconds or the default selection will be chosen.
|
|
2024-09-14 11:47:55,657 5268 [ERROR] - Chocolatey had an error on WIN-JHRHFQMULOO (with user vagrant):
|
|
System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected from a file. Try Console.Read.
|
|
at System.Console.ReadKey(Boolean intercept)
|
|
at chocolatey.infrastructure.commandline.ReadKeyTimeout.ConsoleReadKey()
|
|
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
|
|
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
|
|
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
|
|
at System.Threading.ThreadHelper.ThreadStart()
|