跳转至

Windows 相关

跳过联网/MS账号登录

首先需要确保计算机处于离线状态. 然后按下 Shift + F10 打开命令行, 然后输入下面命令:

reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE /v BypassNRO /t REG_DWORD /d 1 /f
shutdown /r /t 0

随后计算机会重启, 连接网络的步骤现在可以点击 "I don't have internet" 跳过.

Info

oobe\bypassnro 脚本已于 Build 26200.5516 中被移除. 详情请参考 Windows Insider Blog.

激活

在 PowerShell 中输入下面命令以激活 Windows 和 MS Office:

irm https://get.activated.win | iex

https://massgrave.dev/

清理日志

wevtutil enum-logs | ForEach-Object { wevtutil clear-log $_ }

(Get-EventLog -List).Log | ForEach-Object { Clear-EventLog -LogName $_ }

日志清理后会在 Windows Logs | System 留下一个 Log clear 类型事件.


Stop-Service -Name EventLog -Force -ErrorAction Stop

评论