Skip to content

Instantly share code, notes, and snippets.

@hiono
Last active September 2, 2020 22:09
Show Gist options
  • Save hiono/6d35f7a6333fe7efe2446f44aefc09be to your computer and use it in GitHub Desktop.
Save hiono/6d35f7a6333fe7efe2446f44aefc09be to your computer and use it in GitHub Desktop.
boxstartert script for MSEdge VM. VBoxManage import ~/"MSEdge - Win10.ova" --vsys 0 --cpus 2 --vsys 0 --memory 16384
#
# Setup for data platform demo environment
# Learn more: http://boxstarter.org/Learn/WebLauncher
#
# Install manually
#---- セットアップ用の一時的な設定---
Update-ExecutionPolicy Unrestricted
Disable-UAC
#--- Windows Settings ---
Disable-GameBarTips
Disable-InternetExplorerESC
# 「隠しファイル・フォルダを表示する」+「OSのシステムファイルを表示する」+「拡張子を表示する」を同時に設定
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Set-TaskbarOptions -Size Small -Dock Bottom -Combine Full -Lock
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name NavPaneShowAllFolders -Value 1
# Dark theme
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 0 -Type Dword -Force
# Enable RemoteDesktop
Enable-RemoteDesktop
# 電源管理
Powercfg /Change monitor-timeout-ac 0
Powercfg /Change monitor-timeout-dc 0
Powercfg /Change standby-timeout-ac 0
Powercfg /Change standby-timeout-dc 0
chocolatey feature enable -n=allowGlobalConfirmation
# choco upgrade
choco upgrade all
#--- Windows Subsystems/Features ---
# choco install = CINST
# WSL
# CINST Microsoft-Windows-Subsystem-Linux -source windowsfeatures
# --- UI Locale & Timezone (Tokyo)
# Set-WinUILanguageOverride -Language ja-JP
Set-WinCultureFromLanguageListOptOut -OptOut $False
Set-WinHomeLocation -GeoId 0x7A
# Set-WinSystemLocale -SystemLocale ja-JP
Set-TimeZone -Id "Tokyo Standard Time"
#--- Fonts ---
choco install inconsolata
choco install fonts-ricty-diminished
# choco install noto
#--- Tools ---
choco install sysinternals
# choco install git.install
choco install vscode
#--- Apps ---
# choco install googlechrome
# choco install powerbi
choco install microsoft-teams
choco install microsoft-office-deployment
chocolatey feature disable -n=allowGlobalConfirmation
# Install-ChocolateyPinnedTaskBarItem "$env:windir\system32\mstsc.exe"
# Install-ChocolateyPinnedTaskBarItem "$env:programfiles\console\console.exe"
Enable-MicrosoftUpdate
Install-WindowsUpdate -acceptEula
# Restart-Computer
#--- Restore Temporary Settings ---
Enable-UAC
@hiono
Copy link
Author

hiono commented Jul 21, 2020

「隠しファイル・フォルダを表示する」+「OSのシステムファイルを表示する」+「拡張子を表示する」の設定を追加

@hiono
Copy link
Author

hiono commented Jul 21, 2020

Add dark theme setting.

@hiono
Copy link
Author

hiono commented Jul 21, 2020

Fix dark theme setting

@hiono
Copy link
Author

hiono commented Jul 21, 2020

Fix typo

@hiono
Copy link
Author

hiono commented Jul 28, 2020

電源管理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment