Skip to content

Windows 11 Initialization Configuration

Installation Steps

1. Install VMware Tools

Ensure that VMware Tools is installed to enhance system performance and usability.

2. Configure Taskbar

Customize the taskbar settings as per your preference.

3. Activate Windows Using KMS

Use the following PowerShell commands with administrator privileges:

powershell
set ipk=<ipk>
set skms=<skms>

slmgr.vbs /ipk %ipk%
slmgr.vbs /skms %skms%
slmgr.vbs /ato

# View the current product key
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" | findstr Key

4. Configure NAT Network

Execute these commands in the command prompt to set a static IP and DNS:

cmd
netsh interface show interface
netsh interface ip set address name="Ethernet0" static 192.168.1.2 255.255.255.0 192.168.1.254
netsh interface ip set dns name="Ethernet0" static 114.114.114.114
netsh interface ip add dns name="Ethernet0" 8.8.8.8 index=2

5. Initial Configuration

Perform the following initial system configurations:

powershell
# Show file extensions
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "HideFileExt" -Value 0
Stop-Process -Name explorer -Force; Start-Process explorer

# Set File Explorer to open 'This PC' by default
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v LaunchTo /t REG_DWORD /d 1 /f

# Disable sleep mode
powercfg -change -standby-timeout-ac 0

# Prevent the screen from turning off automatically
powercfg -change -monitor-timeout-ac 0

6. Install Scoop

Install Scoop to manage software installations:

powershell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression

7. Configure SOCKS5 Proxy

Set up a SOCKS5 proxy for Scoop:

powershell
scoop config proxy 127.0.0.1:10809

Software Installation

powershell
scoop install git
scoop bucket add extras

1. Install WinRAR

Install WinRAR using Scoop and configure shell integration:

powershell
scoop install extras/winrar
# winrar -> ctrl+s -> Integration -> Shell Integration -> Legacy context menus

2. Install Sublime Text

powershell
scoop install extras/sublime-text
# reg import "$dir\install-context.reg"

3. Install Google Chrome

powershell
scoop install extras/googlechrome
echo chrome --proxy-server="http://127.0.0.1:10809" > Desktop/proxy_chrome.bat

4. Install Python 3.9

powershell
scoop bucket add versions
scoop install versions/python39
python39 -V
python39 -m pip install --upgrade pip
pip install pdm

5. Install Visual Studio Code

powershell
scoop install vscode
# reg import "$dir\install-context.reg"
# reg import "$dir\install-associations.reg"

6. Install Tabby and Winscp

powershell
scoop bucket add extras
scoop install extras/tabby
scoop install extras/winscp

7. Install everything

powershell
scoop install extras/everything
# reg import "$dir\install-context.reg"

8. Install proxifier

powershell
scoop install extras/proxifier

Released under the MIT License.