✨
新电脑到手了!跟着这个清单设置
30 分钟搞定所有设置,让新电脑从第一天就好用
⚡ 一键脚本
复制即用# PowerShell 管理员运行 - 新电脑首次设置一键脚本
Write-Host "🎉 新电脑首次设置脚本" -ForegroundColor Cyan
# 1. 关闭 Windows 广告推荐
$cdm = "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
Set-ItemProperty -Path $cdm -Name "SubscribedContent-338389Enabled" -Value 0
Set-ItemProperty -Path $cdm -Name "SubscribedContent-310093Enabled" -Value 0
Set-ItemProperty -Path $cdm -Name "SilentInstalledAppsEnabled" -Value 0
Write-Host "✅ 已关闭广告推荐" -ForegroundColor Green
# 2. 设置文件资源管理器显示扩展名
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "HideFileExt" -Value 0
Write-Host "✅ 已显示文件扩展名" -ForegroundColor Green
# 3. 设置任务栏(Win11 左对齐)
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "TaskbarAl" -Value 0
Write-Host "✅ 已设置任务栏左对齐" -ForegroundColor Green
# 4. 安装基础软件
Write-Host "\n📦 开始安装基础软件..." -ForegroundColor Yellow
winget install 7zip.7zip --accept-source-agreements --accept-package-agreements
winget install Mozilla.Firefox
winget install Snipaste.Snipaste
winget install voidtools.Everything
Write-Host "✅ 基础软件安装完成" -ForegroundColor Green💡 右键 PowerShell → 以管理员身份运行 → 粘贴上面的代码 → 回车
🧠 为什么会这样?
新电脑出厂状态有很多不合理的默认设置:隐藏文件扩展名(安全隐患)、开启大量广告推荐、预装垃圾软件。这个脚本帮你一次性修正。
📖 手动操作教程
不想用脚本?按这个步骤手动操作
1
连接 WiFi + Windows 更新
让系统先更新到最新版本,修复安全漏洞
2
卸载预装软件
设置 → 应用 → 看到不认识的/不需要的全部卸载
3
显示文件扩展名
文件资源管理器 → 查看 → 显示 → 文件扩展名 ✓
4
关闭 Windows 广告
设置 → 个性化 → 开始 → 关闭所有"建议"
5
设置默认浏览器
安装 Firefox/Chrome 后设为默认
6
安装基础软件
去 /script 生成一键装机命令
❓ 常见问题
需要装杀毒软件吗?
不需要。Windows 11 自带的 Defender 已经足够好了,不要装360/腾讯管家等。
要不要重装系统?
一般不需要。如果预装软件特别多(如联想部分型号),可以考虑。
先更新还是先设置?
先连网更新系统,更新完重启后再做其他设置。