Windows Vista下管理员帐户开启UAC后本地登录失败的问题

被Windows Vista上这个问题困扰了两天:不知道做了什么操作,导致登录进我的帐户之后无法启动Explorer(桌面、task manager等都无法启动),一直困在一个黑(灰)色空屏幕,上面只有一个鼠标指针。重启进入Safe Mode关掉UAC之后就正常了。但发现另一个帐户即使打开UAC也能正常登登录,说明不是什么驱动程序和UAC冲突的问题。关掉UAC确实有安全隐患,而且总让我觉得不爽,于是决定弄清楚。

根据我登录失败的时间去看Event Log (eventvwr),发现一条Warning很可疑,"The Windows logon process has failed to spawn a user application. Application name: . Command line parameters: C:\Windows\system32\userinit.exe."。Google一下就找到原因和解决方法(Kudos to the author.  The linked resources in the post are worth reading as well)。原来是不知怎么的把内建的’NT AUTHORITY\INTERACTIVE’组从本地’Users’组里删掉了,所以用另一个普通用户帐户本地登录成功,而用管理员帐户(不是内建的Administrator)本地登录反而失败。把需要本地登录的管理员帐户加回在’Users’组里就好了。内在的机制讲解参见这里

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>