|
|
@ -1540,7 +1540,7 @@ function ScheduledTasks |
|
|
|
# The following tasks will have their checkboxes checked |
|
|
|
[string[]]$CheckedScheduledTasks = @( |
|
|
|
# Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program |
|
|
|
"Microsoft Compatibility Appraiser", |
|
|
|
"Microsoft Compatibility Appraiser", ### |
|
|
|
|
|
|
|
# This task collects and uploads autochk SQM data if opted-in to the Microsoft Customer Experience Improvement Program |
|
|
|
"Proxy", |
|
|
@ -2406,7 +2406,7 @@ function BrowsingHistory |
|
|
|
$Show |
|
|
|
) |
|
|
|
|
|
|
|
if ((Get-CimInstance -ClassName CIM_OperatingSystem).BuildNumber -lt 23451) |
|
|
|
if ((Get-CimInstance -ClassName CIM_OperatingSystem).BuildNumber -lt 23451) ### c:\vivetool\vivetool.exe /enable /id:42905461 |
|
|
|
{ |
|
|
|
return |
|
|
|
} |
|
|
@ -7572,7 +7572,7 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int |
|
|
|
|
|
|
|
if ($FolderBrowserDialog.SelectedPath) |
|
|
|
{ |
|
|
|
Set-UserShellFolder -UserFolder Videos -FolderPath $FolderBrowserDialog.SelectedPath |
|
|
|
Set-UserShellFolder -UserFolder Videos -FolderPath $FolderBrowserDialog.SelectedPath ### |
|
|
|
} |
|
|
|
} |
|
|
|
$Skip |
|
|
@ -9752,8 +9752,8 @@ function InstallVCRedist |
|
|
|
if ([System.Version](Get-AppxPackage -Name Microsoft.DesktopAppInstaller -ErrorAction Ignore).Version -ge [System.Version]"1.17") |
|
|
|
{ |
|
|
|
# https://github.com/microsoft/winget-pkgs/tree/master/manifests/m/Microsoft/VCRedist/2015%2B |
|
|
|
winget install --id=Microsoft.VCRedist.2015+.x86 --exact --accept-source-agreements |
|
|
|
winget install --id=Microsoft.VCRedist.2015+.x64 --exact --accept-source-agreements |
|
|
|
winget install --id=Microsoft.VCRedist.2015+.x86 --exact --force --accept-source-agreements |
|
|
|
winget install --id=Microsoft.VCRedist.2015+.x64 --exact --force --accept-source-agreements |
|
|
|
|
|
|
|
# PowerShell 5.1 (7.3 too) interprets 8.3 file name literally, if an environment variable contains a non-latin word |
|
|
|
Get-ChildItem -Path "$env:TEMP\WinGet" -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore |
|
|
@ -9833,15 +9833,15 @@ function InstallDotNetRuntimes |
|
|
|
{ |
|
|
|
# https://github.com/microsoft/winget-pkgs/tree/master/manifests/m/Microsoft/DotNet/DesktopRuntime/6 |
|
|
|
# .NET Desktop Runtime 6 x86 |
|
|
|
winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x86 --exact --accept-source-agreements |
|
|
|
winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x86 --exact --force --accept-source-agreements |
|
|
|
# .NET Desktop Runtime 6 x64 |
|
|
|
winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x64 --exact --accept-source-agreements |
|
|
|
winget install --id=Microsoft.DotNet.DesktopRuntime.6 --architecture x64 --exact --force --accept-source-agreements |
|
|
|
|
|
|
|
# https://github.com/microsoft/winget-pkgs/tree/master/manifests/m/Microsoft/DotNet/DesktopRuntime/7 |
|
|
|
# .NET Desktop Runtime 7 x86 |
|
|
|
winget install --id=Microsoft.DotNet.DesktopRuntime.7 --architecture x86 --exact --accept-source-agreements |
|
|
|
winget install --id=Microsoft.DotNet.DesktopRuntime.7 --architecture x86 --exact --force --accept-source-agreements |
|
|
|
# .NET Desktop Runtime 7 x64 |
|
|
|
winget install --id=Microsoft.DotNet.DesktopRuntime.7 --architecture x64 --exact --accept-source-agreements |
|
|
|
winget install --id=Microsoft.DotNet.DesktopRuntime.7 --architecture x64 --exact --force --accept-source-agreements |
|
|
|
|
|
|
|
# PowerShell 5.1 (7.3 too) interprets 8.3 file name literally, if an environment variable contains a non-latin word |
|
|
|
Get-ChildItem -Path "$env:TEMP\WinGet" -Force -ErrorAction Ignore | Remove-Item -Recurse -Force -ErrorAction Ignore |
|
|
|