Last active
October 26, 2020 07:10
-
-
Save rokoucha/5d89b0586b7b9350be9ac699915a3c06 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Install chocolatey | |
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
# Install Boxstarter | |
choco install -y Boxstarter | |
# Setup | |
BOXSTARTERSHELL | |
Install-BoxstarterPackage -PackageName 'https://gist.githubusercontent.com/rokoucha/5d89b0586b7b9350be9ac699915a3c06/raw/boxstarter.ps1' |
This file contains hidden or 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
# Boxstarter script | |
# Before setup | |
Update-ExecutionPolicy Unrestricted | |
Disable-UAC | |
# Explorer options | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -DisableOpenFileExplorerToQuickAccess -DisableShowRecentFilesInQuickAccess -DisableShowFrequentFoldersInQuickAccess | |
Set-BoxstarterTaskbarOptions -Size Large -Dock Bottom -Combine Always -AlwaysShowIconsOn | |
Set-BoxstarterTaskbarOptions -MultiMonitorOff | |
Disable-BingSearch | |
Disable-GameBarTips | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced' -Name 'NavPaneShowAllFolders' -Value 1 | |
# Caps2Ctrl | |
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Keyboard Layout' -Name 'Scancode Map' -Value ([byte[]](0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x1D,0x00,0x3A,0x00,0x00,0x00,0x00,0x00)) | |
# No Meiryo | |
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes' -Name 'MS Pゴシック' -Value 'メイリオ' | |
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes' -Name 'MS UI Gothic' -Value 'Meiryo UI' | |
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes' -Name 'MS ゴシック' -Value 'MeiryoKe_Gothic' | |
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes' -Name 'Yu Gothic UI' -Value 'Meiryo UI' | |
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes' -Name 'ゴシック' -Value 'MeiryoKe_Gothic' | |
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes' -Name 'ゴシック' -Value 'MeiryoKe_Gothic' | |
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes' -Name '標準ゴシック' -Value 'MeiryoKe_Gothic' | |
# Disable Application suggestions and automatic installation | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager' -Name 'ContentDeliveryAllowed' -Type DWord -Value 0 | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager' -Name 'OemPreInstalledAppsEnabled' -Type DWord -Value 0 | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager' -Name 'PreInstalledAppsEnabled' -Type DWord -Value 0 | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager' -Name 'PreInstalledAppsEverEnabled' -Type DWord -Value 0 | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager' -Name 'SilentInstalledAppsEnabled' -Type DWord -Value 0 | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager' -Name 'SubscribedContent-310093Enabled' -Type DWord -Value 0 | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager' -Name 'SubscribedContent-314559Enabled' -Type DWord -Value 0 | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager' -Name 'SubscribedContent-338387Enabled' -Type DWord -Value 0 | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager' -Name 'SubscribedContent-338388Enabled' -Type DWord -Value 0 | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager' -Name 'SubscribedContent-338389Enabled' -Type DWord -Value 0 | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager' -Name 'SubscribedContent-338393Enabled' -Type DWord -Value 0 | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager' -Name 'SubscribedContent-353694Enabled' -Type DWord -Value 0 | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager' -Name 'SubscribedContent-353696Enabled' -Type DWord -Value 0 | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager' -Name 'SubscribedContent-353698Enabled' -Type DWord -Value 0 | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager' -Name 'SystemPaneSuggestionsEnabled' -Type DWord -Value 0 | |
# Unpin all Start Menu tiles | |
$key = Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\*start.tilegrid`$windows.data.curatedtilecollection.tilecollection\Current" | |
$data = $key.Data[0..25] + ([byte[]](202,50,0,226,44,1,1,0,0)) | |
Set-ItemProperty -Path $key.PSPath -Name "Data" -Type Binary -Value $data | |
Stop-Process -Name "ShellExperienceHost" -Force -ErrorAction SilentlyContinue | |
# Always show all icons and notifications on the taskbar | |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer' -Name 'EnableAutoTray' -Type DWord -Value 0 | |
# Windows Optional Features | |
#Enable-WindowsOptionalFeature -Online -FeatureName 'Containers-DisposableClientVM' | |
#Enable-WindowsOptionalFeature -Online -FeatureName 'Microsoft-Hyper-V-All' | |
#Enable-WindowsOptionalFeature -Online -FeatureName 'Microsoft-Windows-Subsystem-Linux' | |
# Windows Capabilities | |
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0 | |
# Applications | |
choco install 7zip -y | |
choco install adobereader -y | |
choco install battle.net -y | |
choco install calibre -y | |
choco install chocolatey -y | |
choco install chocolateygui -y | |
choco install crystaldiskinfo -y | |
choco install crystaldiskmark -y | |
choco install discord -y | |
choco install eartrumpet -y | |
choco install epicgameslauncher -y | |
choco install Firefox -y | |
choco install google-backup-and-sync -y | |
choco install google-drive-file-stream -y | |
choco install GoogleChrome -y | |
choco install hwinfo -y | |
choco install jre8 -y | |
choco install logitechgaming -y | |
choco install minecraft -y | |
choco install mullvad-app -y | |
choco install obs-studio -y | |
choco install obs-virtualcam -y | |
choco install origin -y | |
choco install osu -y | |
choco install paint.net -y | |
choco install powertoys -y | |
choco install samsung-magician -y | |
choco install slack -y | |
choco install spotify -y | |
choco install steam -y | |
choco install teamspeak -y | |
choco install toggl -y | |
choco install transmission -y | |
choco install twitch -y | |
choco install uplay -y | |
choco install virtualbox -y | |
choco install vlc -y | |
choco install vscode -y | |
choco install yubico-authenticator -y | |
# Firefox Developer Edition | |
choco install firefox-dev -y --pre --params "l=en-GB" | |
# Manual Install | |
New-Item \Applications -ItemType Directory | |
Invoke-WebRequest -Uri 'http://coexe.web.fc2.com/skkfep012_20190506.zip' -Outfile '\Applications\skkfep.zip' | |
Invoke-WebRequest -Uri 'http://coexe.web.fc2.com/skkgate03_20190401.zip' -Outfile '\Applications\skkgate.zip' | |
Invoke-WebRequest -Uri 'http://download.msi.com/uti_exe/mb/LiveUpdate.zip' -Outfile '\Applications\LiveUpdate.zip' | |
Invoke-WebRequest -Uri 'http://drive.google.com/uc?export=download&id=1zDgM-H3jfQkzf28wgxICR7l4pjkCa58n' -Outfile '\Applications\kiwimonitior.zip' | |
Invoke-WebRequest -Uri 'http://spring-fragrance.mints.ne.jp/aviutl/aviutl110.zip' -Outfile '\Applications\aviutl.zip' | |
Invoke-WebRequest -Uri 'http://spring-fragrance.mints.ne.jp/aviutl/exedit93rc1.zip' -Outfile '\Applications\exedit.zip' | |
Invoke-WebRequest -Uri 'http://takabosoft.com/download/win/domino/Domino144.zip' -Outfile '\Applications\domino.zip' | |
Invoke-WebRequest -Uri 'https://drive.google.com/uc?export=download&id=1FGOfvOpjSBXBcTddFqJACXlePucucy1j' -Outfile '\Applications\vceenc.zip' | |
Invoke-WebRequest -Uri 'https://mail.tutanota.com/desktop/tutanota-desktop-win.exe' -Outfile '\Applications\tutanota-desktop-win.exe' | |
Invoke-WebRequest -Uri 'https://pop.4-bit.jp/bin/l-smash/L-SMASH_Works_r940_plugins.zip' -Outfile '\Applications\L-SMASH_Works_plugins.zip' | |
Invoke-WebRequest -Uri 'https://prod.escapefromtarkov.com/launcher/download' -Outfile '\Applications\BsgLauncher.exe' | |
Invoke-WebRequest -Uri 'https://valorant.secure.dyn.riotcdn.net/channels/public/x/installer/current/live.live.ap.exe' -Outfile '\Applications\valorant-live.exe' | |
Invoke-WebRequest -Uri 'https://www.battle.net/download/getInstallerForGame?os=win&locale=enUS&version=LIVE&gameProgram=BATTLENET_APP' -Outfile '\Applications\Battlenet.exe' | |
Invoke-WebRequest -Uri 'https://github.com/meir000/MeiryoKe/releases/download/v6.50rev1/meiryoKe_gen_6.50rev1.zip' -Outfile '\Applications\meiryoKe_gen_6.50rev1.zip' | |
# After setup | |
Enable-UAC | |
Enable-MicrosoftUpdate | |
Install-WindowsUpdate -acceptEula |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
choco install firefox-dev --pre --params "l=en-GB" --force
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Keyboard Layout' -Name 'Scancode Map' -Value ([byte[]](0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x1D,0x00,0x3A,0x00,0x00,0x00,0x00,0x00))