Windows 10 setup scripts for fresh installs. By executing the script, you can complete your scheduled system configuration and the installation of common software semi-automatically.
The following is my personal configuration, you can modify the script to suit your usage habits.
- Activate win10 by kmspro
- Set a new computer name
- Set power settings
- Excute Tweaks from Disassembler0/Win10-Initial-Setup-Script
- Disable Cortana, AdvertisingID, UpdateRestart...
- Set DeveloperMode, DarkMode, SmallTaskbarIcons...
- Hide LibraryMenu, RecentShortcuts...
- Uninstall OneDrive, Xbox...
- Remove built-in apps
- Skype
- YourPhone
- Print3D
- GetHelp
- ...
- Install apps by Winget
- Visual Studio Code
- QQ, WeChat
- Git, NodeJS, Miniconda
- ...
- Install apps by Chocolaty (that can't be installed from Winget)
- v2ray
- ffmpeg
- traffic-monitor
- ...
- Show other app tips that have not been downloaded (add -url can be downloaded via wget)
- Snipaste
- WGestures
- ...
- Configure the environment
- Set git name and email
- Enable git proxy
- Enable npm taobao registry
- Install npm global packages
- whistle
- Clone my repos
- awesome-ahk
- Restart computer
- A fresh install of Windows 10.
- If in China: prepare proxy software to access the true internet.
Fork or download this repo, MODIFY the scripts, and execute setup.cmd
in your fresh installed computer.
Run it as Administrator to ensure that the script can run normally.
The script has not been fully tested after each modification, please be careful if you are using it.
You’d better understand what the scripts do if you run them. Some functions lower security, hide controls or uninstall applications. You'll most likely need to modify the scripts.
Execute setup.ps1
bypassing the default setting that does not allow .ps1
scripts to be executed in Win10.
Contains the main flow of the script, which calls functions in setup.psm1
Some wrapped atomic operations are called by setup.ps1
A transplant from Disassembler0/Win10-Initial-Setup-Script.
tweaks.preset
is my custom preset. You'd better write a preset yourself compared with the original project.
Some scripts or registries that you can selectively execute. Please check the README in the folder for details.
MIT © ceynri