Hi,This is my problem on Vista, I wish someone can help me with it,thank you!
I am working in a domain. On the computer that acts as a domain controller,I use the domain group policy
editor to set that if the password of the domain user is soon to be out of date,Windows will remind me when I logon
to the computer with the user account.Then I manually adjust the system time on the domain controller so a
specified domain user "PasswordTest"(user I use to test) is soon to be out of date.
On another computer running Vista in the domain, By default,I mean,the value of the entry Userinit under the
following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
is set to "C:\WINDOWS\system32\userinit.exe,".
When I logon to Vista with the user "PasswordTest", Windows will prompt a balloon showing that the password
will soon be out of date after xxx days shortly after the desktop is shown.This is what I expected.
But if I modify the value of the entry Userinit to be "D:\test\CallUserinit.exe,"(Here CallUserinit.exe is a
dialog-based test application that does nothing but simply starts up C:\WINDOWS\system32\userinit.exe using
CreateProcess() when the button on the dialog is clicked and then exits),and then again logon to Vista with the
user "PasswordTest".
As expected,I input the user name and password,then my test application started up,I clicked the button, it
exited soon,and Windows continued its logon process.But this time Windows did not prompt a balloon showing that the
password will soon be out of date after xxx days after the desktop was shown.This disturbed me.
If I set back the value of the entry Userinit to the original value "C:\WINDOWS\system32\userinit.exe,", there
is no such problem.
So could anybody help me with it? Thanks very much!