Created
January 13, 2021 23:32
-
-
Save valinet/4fcd335237a981250fe10ef03bde3e20 to your computer and use it in GitHub Desktop.
Windows 10 deployment script that runs once for each newly created user account.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo Y|del %appdata%\microsoft\windows\recent\automaticdestinations\* | |
rem Start Firefox | |
"C:\Program Files\Mozilla Firefox\firefox.exe" | |
rem Uninstall Photos | |
powershell -command "Get-AppxPackage Microsoft.Windows.Photos | Remove-AppxPackage" | |
rem Set region to Romania, regional format to Romania, add Romanian keyboard | |
powershell -command Set-Culture -CultureInfo ro-RO | |
powershell -command Set-WinHomeLocation -GeoId 0xc8 | |
powershell -command "$langs = Get-WinUserLanguageList; $langs.Add(\"ro-RO\"); Set-WinUserLanguageList $langs -Force" | |
powershell -command "Set-TimeZone -Id \"GTB Standard Time\" -PassThru" | |
rem Install appx packages: HEVC codec, Ubuntu (wsl), Pride theme | |
powershell -command Add-AppxPackage C:\Tools\packages\Microsoft.Pride2020Flags_3.0.0.0_neutral__8wekyb3d8bbwe.Appx | |
powershell -command Add-AppxPackage C:\Tools\packages\CanonicalGroupLimited.UbuntuonWindows_2004.2020.418.0_neutral_~_79rhkp1fndgsc.AppxBundle | |
powershell -command Add-AppxPackage C:\Tools\packages\Microsoft.HEVCVideoExtension_1.0.33242.0_x64__8wekyb3d8bbwe.Appx | |
rem Kill Firefox | |
taskkill /f /im firefox.exe | |
rem Configure Firefox addons | |
powershell -command "Copy-Item \"C:\Tools\firefox\{9b8ce341-744f-4f5d-9ff7-b5d7078a7b34}.xpi\" -Destination \"$([environment]::getfolderpath(\"ApplicationData\"))\Mozilla\Firefox\Profiles\dcfvpxs9.default-release\extensions\"" | |
powershell -command "Copy-Item \"C:\Tools\firefox\{287dcf75-bec6-4eec-b4f6-71948a2eea29}.xpi\" -Destination \"$([environment]::getfolderpath(\"ApplicationData\"))\Mozilla\Firefox\Profiles\dcfvpxs9.default-release\extensions\"" | |
powershell -command "Copy-Item \"C:\Tools\firefox\{a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7}.xpi\" -Destination \"$([environment]::getfolderpath(\"ApplicationData\"))\Mozilla\Firefox\Profiles\dcfvpxs9.default-release\extensions\"" | |
powershell -command "Copy-Item \"C:\Tools\firefox\clearcache@michel.de.almeida.xpi\" -Destination \"$([environment]::getfolderpath(\"ApplicationData\"))\Mozilla\Firefox\Profiles\dcfvpxs9.default-release\extensions\"" | |
powershell -command "Copy-Item \"C:\Tools\firefox\extension@tabliss.io.xpi\" -Destination \"$([environment]::getfolderpath(\"ApplicationData\"))\Mozilla\Firefox\Profiles\dcfvpxs9.default-release\extensions\"" | |
powershell -command "Copy-Item \"C:\Tools\firefox\foxyproxy@eric.h.jung.xpi\" -Destination \"$([environment]::getfolderpath(\"ApplicationData\"))\Mozilla\Firefox\Profiles\dcfvpxs9.default-release\extensions\"" | |
powershell -command "Copy-Item \"C:\Tools\firefox\mozilla_cc3@internetdownloadmanager.com.xpi\" -Destination \"$([environment]::getfolderpath(\"ApplicationData\"))\Mozilla\Firefox\Profiles\dcfvpxs9.default-release\extensions\"" | |
powershell -command "Copy-Item \"C:\Tools\firefox\uBlock0@raymondhill.net.xpi\" -Destination \"$([environment]::getfolderpath(\"ApplicationData\"))\Mozilla\Firefox\Profiles\dcfvpxs9.default-release\extensions\"" | |
rem Configure Thunderbird | |
C:\Tools\thunderbird_toasts\thunderbird_toasts.exe | |
rem Add Thunderbird to startup | |
powershell -command "Copy-Item \"C:\Tools\Mozilla Thunderbird.lnk\" -Destination $([environment]::getfolderpath(\"Startup\"))" | |
rem Open Default apps settings page | |
powershell -command Start-Process "ms-settings:defaultapps" | |
rem Install Qt VS extension | |
C:\Tools\qt-vsaddin-msvc2019-2.6.0-rev.07.vsix | |
del %0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment