Set Winget allow hash mismatch
This commit is contained in:
parent
49a8195b8e
commit
e3b9fb2c0f
@ -18,9 +18,13 @@ powershell -ExecutionPolicy Bypass -File "C:\Scripts\Printers\01-Printer-Scripts
|
|||||||
:: Disable UAC to Allow for Winget Installs
|
:: Disable UAC to Allow for Winget Installs
|
||||||
powershell Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name EnableLUA -Value 0 -Force
|
powershell Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name EnableLUA -Value 0 -Force
|
||||||
|
|
||||||
|
:: Allow Winget to Install Even If Hash Mismatch
|
||||||
|
echo Updating Winget...
|
||||||
|
winget settings --enable InstallerHashOverride
|
||||||
|
|
||||||
:: Install Google Chrome Enterprise & Accept Winget Terms
|
:: Install Google Chrome Enterprise & Accept Winget Terms
|
||||||
echo Installing Google Chrome...
|
echo Installing Google Chrome...
|
||||||
winget install --exact --id Google.Chrome --silent --accept-source-agreements --accept-package-agreements --force
|
winget install --exact --id Google.Chrome --silent --accept-source-agreements --accept-package-agreements --ignore-security-hash
|
||||||
|
|
||||||
:: Install Google Cloud Provider for Windows
|
:: Install Google Cloud Provider for Windows
|
||||||
echo Installing Google Cloud Provider for Windows...
|
echo Installing Google Cloud Provider for Windows...
|
||||||
@ -34,17 +38,17 @@ echo TCSE Remote MeshCentral Installed...
|
|||||||
|
|
||||||
:: Install Google Drive
|
:: Install Google Drive
|
||||||
echo Installing Google Drive...
|
echo Installing Google Drive...
|
||||||
winget install --exact --id Google.GoogleDrive --silent
|
winget install --exact --id Google.GoogleDrive --silent --ignore-security-hash
|
||||||
|
|
||||||
:: Install VLC Media Player
|
:: Install VLC Media Player
|
||||||
echo Installing VLC Media Player...
|
echo Installing VLC Media Player...
|
||||||
winget install --exact --id VideoLAN.VLC --silent
|
winget install --exact --id VideoLAN.VLC --silent --ignore-security-hash
|
||||||
|
|
||||||
:: Install ImageGlass Image Viewer
|
:: Install ImageGlass Image Viewer
|
||||||
echo Installing ImageGlass...
|
echo Installing ImageGlass...
|
||||||
winget install --exact --id Microsoft.DotNet.DesktopRuntime.8
|
winget install --exact --id Microsoft.DotNet.DesktopRuntime.8 --ignore-security-hash
|
||||||
winget install --exact --id Microsoft.EdgeWebView2Runtime
|
winget install --exact --id Microsoft.EdgeWebView2Runtime --ignore-security-hash
|
||||||
winget install --exact --id DuongDieuPhap.ImageGlass --silent
|
winget install --exact --id DuongDieuPhap.ImageGlass --silent --ignore-security-hash
|
||||||
powershell Copy-Item 'C:\Scripts\Patches\ImageGlass\igconfig.admin.json' 'C:\Program Files\ImageGlass'
|
powershell Copy-Item 'C:\Scripts\Patches\ImageGlass\igconfig.admin.json' 'C:\Program Files\ImageGlass'
|
||||||
|
|
||||||
:: Run Debloat Script
|
:: Run Debloat Script
|
||||||
@ -52,11 +56,11 @@ powershell -ExecutionPolicy Bypass -File "C:\Scripts\Software\Win11Debloat\Win11
|
|||||||
|
|
||||||
:: Install Zoom
|
:: Install Zoom
|
||||||
echo Installing Zoom...
|
echo Installing Zoom...
|
||||||
winget install --exact --id Zoom.Zoom --silent
|
winget install --exact --id Zoom.Zoom --silent --ignore-security-hash
|
||||||
|
|
||||||
:: Install Adobe Reader
|
:: Install Adobe Reader
|
||||||
echo Installing Adobe Reader...
|
echo Installing Adobe Reader...
|
||||||
winget install --exact --id Adobe.Acrobat.Reader.64-bit --silent
|
winget install --exact --id Adobe.Acrobat.Reader.64-bit --silent --ignore-security-hash
|
||||||
|
|
||||||
:: Enable UAC
|
:: Enable UAC
|
||||||
powershell Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name EnableLUA -Value 1 -Force
|
powershell Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name EnableLUA -Value 1 -Force
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user