Contents

Ch17-复刻 Windows 环境(2024)

2024 年换机,记录当前顺手的 Windows 环境。

  1. Desktop Apps;
  2. Microsoft Store Apps;
  3. MSYS2 Pkgs;
  4. Powershell 配置;
  5. Geek Uninstaller、AutoClock(shell:startup)、Traffic Monitor(VC++运行时)、迅雷 11、B0pass、LS-DYNA、Fliqlo.scr等。
  6. 停止 Windows 更新,性能较低的 PC,可以关闭 Win11 的动画效果。
1
2
@echo off  :: 阻止Windows更新
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v "FlightSettingsMaxPauseDays" /t REG_DWORD /d 15535

跳过TPM验证安装Win11教程:

Win10/Win11升级至Win11,可跳过TPM验证,采用脚本 MediaCreationTool.bat。然后装载下载的镜像,使用镜像中的 setup.exe更新同样许可证版本的Windows11,可以保持个人数据与应用。

17.1 Desktop Apps

已安装程序 (Software)

Geek Uninstaller 1.5.1 于 Saturday, April 27, 2024 11:50:41 生成
WIN-PEOQDUKOHTK

程序名称大小安装时间
Microsoft Edge WebView2 Runtime5.06 GB27.04.2024 08:50
Lenovo Vantage Service2.93 GB27.04.2024 00:12
Fork - a fast and friendly git client570 MB26.04.2024 18:56
Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.38.3313520.6 MB22.04.2024 19:43
imFile 1.0.7274 MB22.04.2024 10:53
QQ598 MB22.04.2024 10:29
AntiCheatExpert73.1 MB14.04.2024 00:00
START383 MB14.04.2024 00:00
WPS Office (12.1.0.16729)0.99 GB14.04.2024 00:00
Microsoft Visual Studio Code356 MB13.04.2024 20:18
DropIt (v8.5.1)7.68 MB12.04.2024 07:50
Waterfox (x64 en-US)1.42 GB12.04.2024 00:00
Microsoft .NET Runtime - 8.0.4 (x64)98.2 MB11.04.2024 00:00
XTerminal 1.20.23500 MB11.04.2024 00:00
搜狗输入法 14.4.0正式版474 MB11.04.2024 00:00
Microsoft Windows Desktop Runtime - 8.0.4 (x64)216 MB11.04.2024 00:00
RayLink 8.0.3.8221 MB10.04.2024 00:00
Intel(R) Management Engine Components193 MB08.04.2024 00:00
PowerToys (Preview) x64899 MB07.04.2024 00:00
R for Windows 4.3.3173 MB06.04.2024 21:00
RStudio903 MB06.04.2024 00:00
Microsoft OneDrive4.73 GB05.04.2024 00:00
Microsoft Edge Update4.41 GB04.04.2024 21:08
腾讯会议531 MB03.04.2024 00:00
Microsoft Office 家庭和学生版 2016 - zh-cn3.07 GB02.04.2024 00:00
Microsoft Visio - zh-cn7.44 GB02.04.2024 00:00
汽水音乐 1.6.1794 MB01.04.2024 11:27
qBittorrent176 MB01.04.2024 00:00
Fluent Reader 1.1.4253 MB30.03.2024 00:00
EditPad Pro 7 v.7.3.121.6 MB29.03.2024 22:13
Oracle VM VirtualBox 7.0.14211 MB28.03.2024 23:44
爱校对插件8.05 MB27.03.2024 14:52
Grammarly for Windows140 MB27.03.2024 00:00
FxSound64.2 MB26.03.2024 18:19
Cloudflare WARP281 MB26.03.2024 17:48
百度网盘847 MB21.03.2024 00:00
微软OfficePLUS65.1 MB21.03.2024 00:00
Visual Basic for Application 7.0.159018.03.2024 00:00
Zotero458 MB15.03.2024 00:00
Microsoft Edge169 MB11.03.2024 00:00
网易云音乐375 MB10.03.2024 00:00
Todo清单 3.6.4230 MB10.03.2024 00:00
Q-Dir4.64 MB24.02.2024 00:00
WinFsp 20231.43 MB23.02.2024 07:26
CloudDrive2 版本 1.043.3 MB23.02.2024 07:26
pot43.3 MB16.02.2024 00:00
爱思助手7.0749 MB17.01.2024 00:00
PowerShell 7-x64267 MB12.01.2024 12:50
uTools 4.0.1296 MB12.01.2024 00:00
MSC.Licensing 11.1327.0 MB11.01.2024 10:16
Revision Tool version 1.6.235.7 MB01.01.2024 00:13
WinSCP 6.1.289.5 MB19.12.2023 01:15
Microsoft Visual C++ 2005 Redistributable5.06 MB28.11.2023 00:29
TreeSize Free V4.7.1 (64 bit)49.2 MB28.11.2023 00:09
哈工程VPN39.5 MB08.11.2023 00:00
LibreOffice 7.5.8.2696 MB05.11.2023 17:57
LibreOffice 7.5 Help Pack (Chinese (simplified))696 MB05.11.2023 17:44
PPSSPP85.3 MB31.10.2023 18:36
钉钉2.54 GB31.10.2023 00:00
carnac20.2 MB23.10.2023 12:42
VLC media player179 MB20.10.2023 00:00
ParaView1.49 GB04.10.2023 23:44
Intel® oneAPI Base Toolkit13.9 GB24.09.2023 00:00
Intel® oneAPI HPC Toolkit13.9 GB24.09.2023 00:00
MathType 620.5 MB13.09.2023 00:00
TIM407 MB12.09.2023 00:00
Microsoft Update Health Tools1.02 MB25.08.2023 14:15
Patran 20193.74 GB17.08.2023 09:59
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.616110.1 MB17.08.2023 09:59
Microsoft Visual C++ 2010 x86 Redistributable - 10.0.303199.71 MB17.08.2023 09:59
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.1710.2 MB17.08.2023 09:59
Microsoft Visual C++ 2010 x64 Redistributable - 10.0.3031912.3 MB17.08.2023 09:58
Dassault Systemes Software VC9 Prerequisites x86-x6421.9 MB17.08.2023 09:58
Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.1712.4 MB17.08.2023 09:58
阿里云盘325 MB17.08.2023 00:00
向日葵远程控制90.4 MB17.08.2023 00:00
Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.6103020.5 MB17.08.2023 00:00
Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.6103017.3 MB17.08.2023 00:00
7-Zip 23.01 (x64)5.52 MB14.08.2023 00:00
SumatraPDF38.3 MB13.08.2023 16:03
Inkscape535 MB13.08.2023 16:02
ToDesk259 MB11.08.2023 00:00
WeChat574 MB22.07.2023 00:00
Chocolatey (Install Only)4.88 MB20.07.2023 11:17
Bonjour616 KB25.06.2023 21:18
Apple Mobile Device Support45.3 MB25.06.2023 21:18
Miniforge3 23.1.0-1 (Python 3.10.10 64-bit)5.49 GB19.06.2023 00:00
oCam版本520.030.6 MB19.05.2023 10:27
剪映专业版19.05.2023 00:00
Inno Setup version 6.2.215.1 MB12.05.2023 10:56
Honeyview38.8 MB12.05.2023 00:00
CAJViewer128 MB13.03.2023 11:17
Microsoft Windows Desktop Runtime - 6.0.14 (x64)210 MB28.02.2023 00:00
Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.3050120.5 MB23.02.2023 00:00
Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.3050117.1 MB23.02.2023 00:00
Microsoft MPI (10.1.12498.16)4.37 GB21.02.2023 20:42
Microsoft MPI SDK (10.1.12498.16)8.20 MB21.02.2023 20:42
知云文献翻译 版本 7.8.0334 MB16.02.2023 19:46
Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.616113.2 MB13.02.2023 15:41
Microsoft Visual C++ 2005 Redistributable (x64)6.83 MB13.02.2023 15:41
QTTabBar ver 20488.20 MB11.02.2023 14:14
福昕高级PDF编辑器932 MB11.02.2023 14:12
Windows SDK AddOn152 KB11.02.2023 13:39
Microsoft .NET Framework 4 Multi-Targeting Pack83.4 MB11.02.2023 13:34
Microsoft Visual Studio Installer59.8 MB11.02.2023 13:31
Notepad3 (x64) 6.23.203.222.5 MB11.02.2023 13:30
MSYS212.7 GB11.02.2023 13:09
Realtek Card Reader15.1 MB11.02.2023 12:54
Neat Download Manager version 1.42.31 MB11.02.2023 12:32
Visual Studio Community 20192.90 GB11.02.2023 00:00
Windows Software Development Kit - Windows 10.0.19041.6852.00 GB11.02.2023 00:00
Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.29.3013917.9 MB11.02.2023 00:00
Everything 1.4.1.935 (x64)50.7 MB11.02.2023 00:00

总计 113 个程序占用空间 111 GB

经验:

  1. 建议在 Everything 中设置索引数据库存储路径,以避免频繁启动时重新检索磁盘。

17.2 Microsoft Store Apps

已安装程序 (Software)

Geek Uninstaller 1.5.1 于 Wednesday, April 10, 2024 07:32:14 生成
WIN-PEOQDUKOHTK

程序名称大小安装时间
Microsoft Edge83.0 KB07.04.2024 23:03
Windows Package Manager Source (winget)9.87 MB06.04.2024 20:52
Microsoft Copilot138 KB28.03.2024 23:20
云·星穹铁道356 KB21.03.2024 17:22
Notion69.0 KB18.03.2024 16:13
QQ邮箱195 KB13.03.2024 23:12
Spotify88.0 KB13.03.2024 23:03
YouTube50.0 KB11.03.2024 11:47
Debian490 MB10.03.2024 10:47
抖音60.0 KB04.03.2024 16:25
Pantone Color of the Year 20223.33 MB01.01.2024 00:29
Lenovo Vantage645 MB09.12.2023 18:48
App Installer142 MB19.11.2023 22:50
WinGet COM Server142 MB19.11.2023 22:50
Windows Package Manager Client142 MB19.11.2023 22:50
App Installer142 MB19.11.2023 22:50
wolai65.0 KB10.11.2023 16:57
终端17.5 MB06.11.2023 12:28
Microsoft Store68.0 MB05.11.2023 18:05
Calculator18.9 MB05.11.2023 18:04
中文(简体)本地体验包62.1 MB05.11.2023 18:02
有道云笔记104 KB02.11.2023 10:47
NxShell323 MB01.09.2023 13:30
Store Experience Host34.2 MB24.08.2023 14:19
HEIF Image Extensions5.57 MB24.08.2023 14:19
Intel® Graphics Command Center122 MB13.08.2023 12:50
百度网盘4.36 MB09.08.2023 15:07
Webp Image Extensions914 KB09.08.2023 15:06
Web 媒体扩展2.71 MB02.07.2023 00:53
VP9 Video Extensions5.58 MB24.06.2023 12:22
Snip & Sketch3.81 MB31.03.2023 09:57
ELAN TrackPoint for Thinkpad1.14 MB14.02.2023 15:48
ELAN Touchpad for Thinkpad997 KB14.02.2023 15:48
Microsoft Pay4.96 MB11.02.2023 12:17

总计 34 个程序占用空间 2.34 GB

17.3 MSYS2 环境

2024 年 4 月开始,更换笔记本,将新笔记本的 MSYS2 环境设为 UCRT64

MSYS2 是作者主力编程和开源工具环境,提供了诸如 GCC、Python 等编程环境,也提供了诸如 mdbook、LaTex、inkscape 等工具。

常用命令:

1
2
3
pacman -Syu         # 更新包索引
pacman -S <pkg>     # 安装包
pacman -Rs <pkg>    # 删除包

国内开发者可以使用清华大学的镜像

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
$ pacman -Qe
mingw-w64-clang-x86_64-clang 17.0.6-7
mingw-w64-clang-x86_64-cmake 3.28.3-2
mingw-w64-clang-x86_64-llvm-15 15.0.7-2
mingw-w64-clang-x86_64-ninja 1.11.1-3
mingw-w64-x86_64-argparse-f 0.1.0-1
mingw-w64-x86_64-binutils 2.41-1
mingw-w64-x86_64-cmake 3.27.2-1
mingw-w64-x86_64-crt-git 11.0.0.r107.gd367cc9d7-1
mingw-w64-x86_64-fastfetch 2.1.2-1
mingw-w64-x86_64-fffc 1.5.202310-1
mingw-w64-x86_64-flang 17.0.6-1
mingw-w64-x86_64-fortran-stdlib 0.3.0-1
mingw-w64-x86_64-fpm 0.10.0-1
mingw-w64-x86_64-fzf 0.48.1-1
mingw-w64-x86_64-gcc 13.2.0-2
mingw-w64-x86_64-gcc-fortran 13.2.0-2
mingw-w64-x86_64-gcc-libgfortran 13.2.0-2
mingw-w64-x86_64-gcc-libs 13.2.0-2
mingw-w64-x86_64-gcc-objc 13.2.0-2
mingw-w64-x86_64-gdb 13.2-3
mingw-w64-x86_64-github-cli 2.32.0-1
mingw-w64-x86_64-go 1.21.0-2
mingw-w64-x86_64-h5part 1.2.20230625-1
mingw-w64-x86_64-headers-git 11.0.0.r107.gd367cc9d7-2
mingw-w64-x86_64-kiss_fft 1.3.1-1
mingw-w64-x86_64-lfortran 0.33.1-2
mingw-w64-x86_64-libgccjit 13.2.0-2
mingw-w64-x86_64-libmangle-git 11.0.0.r107.gd367cc9d7-1
mingw-w64-x86_64-libwinpthread-git 11.0.0.r107.gd367cc9d7-1
mingw-w64-x86_64-llvm-15 15.0.7-1
mingw-w64-x86_64-lua 5.4.6-2
mingw-w64-x86_64-make 4.4-2
mingw-w64-x86_64-mdbook 0.4.37-1
mingw-w64-x86_64-meson 1.2.1-1
mingw-w64-x86_64-minpack 2.0.0-1
mingw-w64-x86_64-nnps 1.3.0-1
mingw-w64-x86_64-octave 9.1.0-4
mingw-w64-x86_64-onefetch 2.18.1-3
mingw-w64-x86_64-pkgconf 1~2.0.1-1
mingw-w64-x86_64-python-ipykernel 6.25.2-1
mingw-w64-x86_64-python-jupyter_notebook 7.0.6-1
mingw-w64-x86_64-python-matplotlib 3.7.1-2
mingw-w64-x86_64-python-pandas 2.2.1-1
mingw-w64-x86_64-python-pip 23.2.1-2
mingw-w64-x86_64-python-scipy 1.11.1-2
mingw-w64-x86_64-python-toml 0.10.2-4
mingw-w64-x86_64-python-websocket-client 1.6.2-1
mingw-w64-x86_64-quadrature-fortran 1.0.0-1
mingw-w64-x86_64-rust 1.72.0-1
mingw-w64-x86_64-scc 3.1.0-1
mingw-w64-x86_64-sccache 0.5.4-1
mingw-w64-x86_64-seakeeping 2.7.202312-1
mingw-w64-x86_64-starship 1.17.1-2
mingw-w64-x86_64-test-drive 0.4.0-1
mingw-w64-x86_64-tools-git 11.0.0.r107.gd367cc9d7-1
mingw-w64-x86_64-winpthreads-git 11.0.0.r107.gd367cc9d7-1
mingw-w64-x86_64-winstorecompat-git 11.0.0.r107.gd367cc9d7-1

17.4 Powershell 配置

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
# PWD: C:\Users\zoziha\Documents\WindowsPowerShell 或者 C:\Users\zoziha\Documents\PowerShell
# 命令:notepad $PROFILE
# 依赖:
# - Startship
# - PSReadLine

Import-Module PSReadLine
Set-PSReadLineOption -PredictionSource History
# 下面是三条是文档里推荐的,根据自己的习惯决定是否添加
# 其他有用的命令是:
# - F2 选择历史命令;
# - Ctrl-l 清屏;
# - Ctrl-左右键 跳转.
Set-PSReadLineKeyHandler -Key Tab -Function Complete
Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward
Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward

Invoke-Expression (starship init powershell)        # Starship
[System.Console]::OutputEncoding=[System.Text.Encoding]::GetEncoding(65001)     # utf-8

17.5 Edge 浏览器插件

  1. uBlock Origin:阻止广告、跟踪、恶意软件;
  2. 豆包:网页翻译和总结。