星期一, 3月 10, 2025

WIN10/WIN11 常用指令

 命令提示字元

Shift + F10

oobe\bypassnro

群組原則

@echo off pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt dir /b %SystemRoot%\servicing>Pient. /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i" pause

取消密碼到期

wmic UserAccount set PasswordExpires=False

ipconfig /flushdns