在用户帐户界面操作:control userpasswords2
修改注册表实现:
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
添加一项:SpecialAccounts
在SpecialAccounts 添加SpecialAccounts 的子项,名UserList
在Userlist项,添加一个类型为 DWORD (32bit)的项,这个新项的名称就是你的用户名,数据为0(显示为0x00000000)