Last active
October 19, 2023 17:35
-
-
Save TheTrigger/aaf143b9e64b40d523ed9bdb47b1e53f to your computer and use it in GitHub Desktop.
BoxStarter script #1
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
# Open powershell ad administrator: | |
# Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://boxstarter.org/bootstrapper.ps1')); Get-Boxstarter -Force | |
# install winget https://apps.microsoft.com/store/detail/programma-di-installazione-app/9NBLGGH4NNS1?hl=it-it&gl=it&rtc=1 | |
# Install-BoxstarterPackage -PackageName https://gist.githubusercontent.com/TheTrigger/aaf143b9e64b40d523ed9bdb47b1e53f/raw/boxstarter.ps1 -DisableReboots | |
# https://gist.github.com/TheTrigger/758c5fe82d73a8572eb3bc018961cd6f | |
Import-Module Boxstarter.Chocolatey | |
#BoxStarter options | |
$BoxStarter.Rebootok=$false | |
$BoxStarter.NoPassword=$false | |
$BoxStarter.AutoLogin=$true | |
#---- TEMPORARY --- | |
Disable-UAC | |
#if (Test-PendingReboot) { Invole-Reboot } | |
Enable-ComputerRestore -Drive "C:\" | |
Checkpoint-Computer "Pre software install snapshot" | |
# Privacy: Let apps use my advertising ID: Disable | |
#Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 0 | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions | |
# -EnableShowProtectedOSFiles | |
#Enable-RemoteDesktop | |
#--- Enable developer mode on the system --- | |
Set-ItemProperty -Path HKLM:\Software\Microsoft\Windows\CurrentVersion\AppModelUnlock -Name AllowDevelopmentWithoutDevLicense -Value 1 | |
cinst firacode -y | |
cinst hackfont -y | |
#winget install --silent Chocolatey.ChocolateyGUI | |
winget install --silent 7zip.7zip | |
winget install --silent Microsoft.Powertoys | |
winget install --silent Microsoft.WindowsTerminal | |
winget install --silent Microsoft.PowerShell | |
winget install --silent dbeaver.dbeaver | |
winget install --silent HeidiSQL.HeidiSQL | |
winget install --silent Docker.DockerDesktop | |
cinst docker-compose -y | |
winget install --silent VMware.WorkstationPro | |
winget install --silent Google.Chrome | |
winget install --silent Mozilla.Firefox | |
winget install --silent Microsoft.Edge | |
winget install --silent VivaldiTechnologies.Vivaldi | |
winget install --silent Opera.Opera | |
winget install Microsoft.VisualStudio.2022.Community | |
cinst git.install -y --params "/NoShellIntegration" | |
cinst Git-Credential-Manager-for-Windows -y | |
#cinst openssh -y | |
winget install --silent Dropbox.Dropbox | |
winget install --silent Postman.Postman | |
winget install --silent Axosoft.GitKraken | |
winget install --silent Dropbox.Dropbox | |
winget install --silent SublimeHQ.SublimeText.4 | |
winget install --silent SublimeHQ.SublimeMerge | |
winget install --silent Microsoft.VisualStudioCode | |
winget install --silent PuTTY.PuTTY | |
winget install --silent WinSCP.WinSCP | |
winget install --silent Telegram.TelegramDesktop | |
winget install --silent Piriform.Speccy | |
winget install --silent OBSProject.OBSStudio | |
winget install --silent RustDesk.RustDesk | |
winget install --silent AnyDeskSoftwareGmbH.AnyDesk | |
winget install --silent Microsoft.BingWallpaper | |
#cinst anydesk --version 6.2.3.0 --params="/NOSTARTMENU /UPDATETYPE:disabled" -y | |
cinst winbox -y | |
cinst hxd -y | |
#cinst battle.net -y | |
#cinst msiafterburner -y | |
winget install --silent Nvidia.GeForceExperience | |
winget install --silent Discord.Discord | |
winget install --silent Valve.Steam | |
winget install --silent HearthSim.HearthstoneDeckTracker | |
winget install --silent Logitech.GHUB | |
winget install --silent Logitech.OptionsPlus | |
winget install --silent GIMP.GIMP | |
winget install --silent VideoLAN.VLC | |
cinst ffmpeg -y | |
winget install --silent Audacity.Audacity | |
cinst audacity-lame -y | |
cinst audacity-ffmpeg -y | |
cinst foxitreader -y --ia "/LANG=it" | |
winget install --silent calibre.calibre | |
winget install --silent TheDocumentFoundation.LibreOffice | |
winget install --silent TheDocumentFoundation.LibreOffice.HelpPack | |
cinst TelnetClient -source windowsFeatures | |
cinst Microsoft-Windows-Subsystem-Linux -source windowsFeatures | |
wsl --update | |
# Enable Windows Sandbox | |
Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online | |
# addons già legati all'account | |
#Install-ChocolateyVsixPackage xunit http://visualstudiogallery.msdn.microsoft.com/463c5987-f82b-46c8-a97e-b1cde42b9099/file/66837/1/xunit.runner.visualstudio.vsix | |
# Pin to taskbar vscode sublimetext | |
#Install-ChocolateyPinnedTaskBarItem "$env:windir\system32\mstsc.exe" | |
# install asus drivers | |
# https://www.asus.com/it/Motherboards/ROG-STRIX-Z390-E-GAMING/HelpDesk_Download/ | |
#$DriverPath = [Environment]::GetFolderPath("Desktop") + "\asus-drivers\" | |
#if(![System.IO.File]::Exists($DriverPath)) { | |
# mkdir $DriverPath | |
# | |
# $drivers = @( | |
# "https://dlcdnets.asus.com/pub/ASUS/mb/07VGA/DRV_VGA_Intel_CML_TP_W10_64_V27201008190_20200609R.zip" | |
# "https://dlcdnets.asus.com/pub/ASUS/mb/01AUDIO/Audio_Realtek_UWD_SONICSTUDIO_III_TP_W10_64_VER6018666.zip" | |
# "https://dlcdnets.asus.com/pub/ASUS/mb/04LAN/LAN_DRV_Intel_I219_UWD_TP_W10_64_VER121897_20190628R.zip" | |
# "https://dlcdnets.asus.com/pub/ASUS/mb/08WIRELESS/DRV_WiFi_Intel_TP_W10_64_V219032_20200604R.zip" | |
# "https://dlcdnets.asus.com/pub/ASUS/mb/05SATA/DRV_RST_Intel_19F1_TP_W10_64_VER17501017_20190702R.zip" | |
# "https://dlcdnets.asus.com/pub/ASUS/mb/LGA1151/ROG_MAXIMUS_XI_APEX/MEUpdateTool_12.0.49.1534_T.zip" | |
# "https://dlcdnets.asus.com/pub/ASUS/mb/02BT/DRV_Bluetooth_Intel_9461_9560_TP_W10_64_V219021_20200604R.zip" | |
# "https://dlcdnets.asus.com/pub/ASUS/mb/14Utilities/ArmouryCrateInstallTool.zip" | |
# "https://dlcdnets.asus.com/pub/ASUS/mb/03CHIPSET/DRV_MEI_Intel_Cons_CNL_TP_W10_64_V19521401470_20200330R.zip" | |
# ) | |
# | |
# foreach ($driver in $drivers) { | |
# Start-BitsTransfer -Source $driver -Destination $DriverPath -TransferType Download | |
# } | |
# | |
# explorer $DriverPath | |
#} | |
#Pin key applications to the TaskBar | |
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Google\Chrome\Application\chrome.exe" | |
del C:\eula*.txt | |
del C:\install.* | |
del C:\vcredist.* | |
#Final system restore snapshot | |
Checkpoint-Computer "Post software install snapshot" | |
Enable-MicrosoftUpdate | |
# turn on | |
Install-WindowsUpdate -AcceptEula | |
Enable-UAC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment