Setup Note: Microsoft Windows - takumaw/Configs GitHub Wiki
Microsoft Windows Setup Note
Initial Setup
Installer Selection
TBD
System Configs
TBD
- Enable Sudo
Install PowerToys
See:
Install Windows Terminal
See:
Install Windows Package Manager (winget)
See:
- https://learn.microsoft.com/ja-jp/windows/package-manager/winget/
- https://www.marticliment.com/wingetui/
Enable Hyper-V
See:
Enable WSL2
See:
- https://learn.microsoft.com/ja-jp/windows/wsl/install
- https://learn.microsoft.com/ja-jp/windows/wsl/install-manual
Update WSL2
wsl --update
If you are behind WSUS, see:
- https://www.quora.com/How-do-I-bypass-the-WSUS-server-in-Windows-10
- https://community.spiceworks.com/how_to/138033-wsus-bypass-to-windows-updates-online
Install wslu
For Ubuntu:
# add ppa if needed
sudo add-apt-repository ppa:wslutilities/wslu
sudo apt install -y wslu
For RHELs:
sudo dnf copr enable wslutilities/wslu
sudo dnf install wslu
See:
Enable Ubuntu Automatic Update
On the Task Scheduler, define a task to run the command below on PowerShell (in Priviledged mode):
wsl --distribution Ubuntu --user root --cd ~ -- /bin/zsh -c " sudo apt update; sudo apt upgrade -y; sudo apt autoremove -y; sudo apt autoclean"
See also:
Enable WSL2-Hyper-V access
On the Task Scheduler, define a task to run the command below on PowerShell (in Priviledged mode):
wsl --distribution Ubuntu --user root --cd ~ -- true
Get-NetIPInterface |
where {$_.InterfaceAlias -eq 'vEthernet (WSL)' -or $_.InterfaceAlias -eq 'vEthernet (Default Switch)'} |
Set-NetIPInterface -Forwarding Enabled
See also:
- http://ogawa.s18.xrea.com/tdiary/20201208p01.html
- https://gist.github.com/takumaw/693f1e1071ed3b0f79d981c7c4ec7866
Allow firewall to access to the Internet from WSL
See:
- https://learn.microsoft.com/en-my/windows/wsl/faq#why-do-i-not-have-internet-access-from-wsl-
- https://knowledge.broadcom.com/external/article/250344/windows-subsystem-for-linux-v2-windows.html
Tweak Explorer
See:
- Add or Remove Folders in File Explorer Navigation Pane in Windows 11 | Windows 11 Forum
- Add or Remove Gallery in File Explorer Navigation Pane in Windows 11 | Windows 11 Forum
- Add or Remove OneDrive in Navigation Pane of File Explorer in Windows 11 | Windows 11 Forum
With Winaero Tweaker:
- Behavior
- Ads and Unwanted Apps
- Remove Ads
- Ads and Unwanted Apps
- Context Menu
- Run As Always Visible
- Add Run as different user to the Start Menu
- Run As Always Visible
- File Explorer
- Customize This PC Folders
- Add Cloud Drives
- Navigation Pane - Default Items
- Remove Home
- Remove Gallery
- Customize This PC Folders
Console Applications
Setup console applications inside WSL2.
See: Setup Note: Ubuntu
Graphical Applications
Office
- Microsoft Office
- Microsoft OneNote
- Microsoft To-Do
- Microsoft Whiteboard
- Adobe Reader
- Gpg4win
Creativity
- Adobe Creative Cloud
- GIMP
- Inkscape
- Blender
- Audacity
- MuseScore
Scientific
- TeX Live
- LyX
- Mendeley
- Coq
- Isabelle/HOL
Utilities
- PowerToys
- Power Automate
- Caffeine
Development
- Git for Windows
- Google Chrome
- Mozilla Firefox
- Micsoroft Visual Studio Code
- JetBrains Datagrip
- JetBrains IntelliJ IDEA
- Eclipse
- DBeaver
- Wireshark
- Burp Suite