# 察看欲修改網路的 InterfaceIndex
Get-NetConnectionProfile
Set-NetConnectionProfile -InterfaceIndex [InterfaceIndex] -NetworkCategory [Public|Private]wevtutil el | foreach { wevtutil cl $_ }HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList
Add DWORD
Name = Username
Value = 0
powercfg –h off