diff --git a/TCSE-Computer-Deploy.bat b/TCSE-Computer-Deploy.bat index 851c07d..3dddc68 100644 --- a/TCSE-Computer-Deploy.bat +++ b/TCSE-Computer-Deploy.bat @@ -9,6 +9,9 @@ echo Office 2016 Installed... powershell -ExecutionPolicy Bypass -File "C:\Scripts\Printers\01-Printer-Scripts\01-PrinterInstall-AllPrinters.ps1" powershell -ExecutionPolicy Bypass -File "C:\Scripts\Printers\01-Printer-Scripts\02.2-PrinterProperties-Import.ps1" +:: Disable UAC to Allow for Winget Installs +powershell Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name EnableLUA -Value 0 -Force + :: Install Google Chrome Enterprise & Accept Winget Terms echo Installing Google Chrome... winget install --exact --id Google.Chrome --silent --accept-source-agreements --accept-package-agreements @@ -47,6 +50,9 @@ winget install --exact --id Zoom.Zoom --silent echo Installing Adobe Reader... winget install --exact --id Adobe.Acrobat.Reader.64-bit --silent +:: Enable UAC +powershell Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name EnableLUA -Value 1 -Force + :: Set Taskbar Layout for All Users echo Setting Taskbar Layout... powershell -ExecutionPolicy Bypass -File "C:\Scripts\StartLayouts\Set-Taskbar-Layout.ps1"