Skip to content

Instantly share code, notes, and snippets.

@j796160836
Last active September 24, 2024 05:29
Show Gist options
  • Save j796160836/652f84c78c565fef10395ff03bc89ad1 to your computer and use it in GitHub Desktop.
Save j796160836/652f84c78c565fef10395ff03bc89ad1 to your computer and use it in GitHub Desktop.

Windows 環境安裝


Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
choco upgrade chocolatey
choco install -y firefox
choco install -y googlechrome
choco install -y 7zip.install
choco install -y adobereader
choco install -y vscode
choco install -y sublimetext4
choco install -y picpick.portable
choco install -y mobaxterm
choco install -y tabby
choco install -y sourcetree
choco install -y git
choco install -y git.install
choco install -y nodejs
choco install -y python3
choco install -y cmdermini
choco install -y another-redis-desktop-manager
choco install -y conemu
choco install -y microsoft-windows-terminal --pre 
choco install -y cygwin
choco install -y ccleaner
choco install -y putty.install
choco install -y scanner
choco install -y vnc-viewer
choco install -y wincdemu
choco install -y jdk8
choco install -y jdk11
choco install -y pathed
choco install -y openjdk11
choco install -y corretto17jdk
choco install -y crystaldiskinfo
choco install -y potplayer
choco install -y obsidian
choco install -y logseq
choco install -y docker-desktop
choco install -y rancher-desktop
choco install -y line
choco install -y discord
choco install -y telegram
choco install -y crystaldiskinfo

其他沒列到的在底下補充

Presentions tools

Color pickers

Install Windows Subsystem for Linux (WSL)

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --list --verbose

Install wsl2 from Chocolatey

choco install wsl2 --params "/Version:2 /Retry:true

https://docs.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package

wsl_update_x64.msi
https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi

wsl --set-default-version 2

Windows10Debloater

https://github.com/Sycnex/Windows10Debloater

  1. Open PowerShell as an Administrator
  2. Enable PowerShell execution
PS> Set-ExecutionPolicy Unrestricted -Force
  1. Run Windows10Debloater
PS> ./Windows10DebloaterGUI.ps1

Windows Debloat Tools

https://github.com/LeDragoX/Win-Debloat-Tools

PS> Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 | Unblock-File; .\"Win10ScriptGUI.ps1"

Auto Login user

control userpasswords2

or

netplwiz

Open startup folder

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