#5941 - 2000-12-27 08:00 PM
Password
|
Anonymous
Anonymous
Unregistered
|
Does anyone have an idea how to use Kix to force a user to change their NT password?------------------ Jason W. Jones
|
|
Top
|
|
|
|
#5942 - 2000-12-28 08:01 AM
Re: Password
|
Anonymous
Anonymous
Unregistered
|
If using NT is there a reason you would not use poledit, for policy?Much easier and no extra work, one policy works on all!!
|
|
Top
|
|
|
|
#5943 - 2000-12-28 03:46 PM
Re: Password
|
Anonymous
Anonymous
Unregistered
|
Thanks for the response SpriteMike. I guess I should ask the question diiferently.I would like to notify our users when their password is going to expire (using Kix)...got that. I need to do it this way because we have several people on the road and they are using a secureID system. They don't get notified by NT when their password expires. So...all that being said. I need to find a way to let the user change their password, from the login script. In fact, force them to. any ideas? ------------------ DrJones
|
|
Top
|
|
|
|
#5945 - 2000-12-28 05:23 PM
Re: Password
|
Anonymous
Anonymous
Unregistered
|
Thanks Bryce.I've been trying to find the same thing. I even toyed with idea of passing "CTL-ALT, DEL" keys, but that will not work. You can't get Kix to hold down two keys at the same time and send and additional key. Thanks again. ------------------ DrJones
|
|
Top
|
|
|
|
#5946 - 2000-12-28 06:37 PM
Re: Password
|
Anonymous
Anonymous
Unregistered
|
Have you looked into Autoit? it is scripting and you can call it at certain times, it free and works great, here the link. http://www.hiddensoft.com/AutoIt/
|
|
Top
|
|
|
|
#5947 - 2000-12-28 06:57 PM
Re: Password
|
Anonymous
Anonymous
Unregistered
|
I withdraw my last statement about Autoit could do this, just checked, will try, then confirm.They say Certain special keys can be sent and should be enclosed in braces: N.B. Windows does not allow the simulation of the "CTRL-ALT-DEL" combination! I can see some difficulty in this it would begin a shut down of the script, checking.
|
|
Top
|
|
|
|
#5948 - 2000-12-28 08:01 PM
Re: Password
|
Anonymous
Anonymous
Unregistered
|
Thanks again SpriteMike. It's a tough one. I've been using KixTart for 3 years and I'm stumped.  ------------------ DrJones
|
|
Top
|
|
|
|
#5950 - 2000-12-28 09:31 PM
Re: Password
|
Anonymous
Anonymous
Unregistered
|
I have VB C+ and other toys, will play with, the error levels are as follows, policy will have great effect on this.switch (status) { case NERR_Success: // nothing to do break; case ERROR_ACCESS_DENIED: printf("Error: The user does not have access to the requested information.\n"); break; case NERR_InvalidComputer: printf("Error: The computer name is invalid.\n"); break; case NERR_NotPrimary: printf("Error: The operation is allowed only on the primary domain controller of the domain.\n"); break; case NERR_UserNotFound: printf("Error: The user name could not be found.\n"); break; case NERR_PasswordTooShort: printf("Error: The password is shorter than required.\n"); break; case ERROR_INVALID_PASSWORD: printf("Error: The specified network password is not correct.\n"); break; case ERROR_INVALID_PASSWORDNAME: printf("Error: The format of the specified password is invalid.\n"); break; case ERROR_NULL_LM_PASSWORD: printf("Error: The NT password is too complex to be converted to a LAN Manager password.\n"); break; case ERROR_WRONG_PASSWORD: printf("Error: Unable to update the password. The value provided as the current password is incorrect.\n"); break; case ERROR_ILL_FORMED_PASSWORD: printf("Error: Unable to update the password. The value provided for the new password contains values that are not allowed in passwords.\n"); break; case ERROR_PASSWORD_RESTRICTION: printf("Error: Unable to update the password because a password update rule has been violated.\n"); break; case ERROR_LOGON_FAILURE: printf("Error: Logon failure: unknown user name or bad password.\n"); break; case ERROR_PASSWORD_EXPIRED: printf("Error: Logon failure: the specified account password has expired.\n"); break; case ERROR_NT_CROSS_ENCRYPTION_REQUIRED: printf("Error: A cross-encrypted password is necessary to change a user password.\n"); break; case ERROR_LM_CROSS_ENCRYPTION_REQUIRED: printf("Error: A cross-encrypted password is necessary to change this user password.\n"); break; case ERROR_NO_SUCH_DOMAIN: printf("Error: The specified domain did not exist.\n"); Nice find though, time to play!!
|
|
Top
|
|
|
|
#5951 - 2000-12-28 09:37 PM
Re: Password
|
kholm
Korg Regular
   
Registered: 2000-06-19
Posts: 714
Loc: Randers, Denmark
|
Getting User-info from NTYou can use: Net User %username% /DOMAIN > %TEMP%\UserInfo.txt on NT workstations to get info about nearly all net-info for the current user. Among other things all settings for password. Let your script read UserInfo.txt and make what actions you want. Erik [This message has been edited by kholm (edited 28 December 2000).]
|
|
Top
|
|
|
|
#5959 - 2000-12-29 01:16 AM
Re: Password
|
Anonymous
Anonymous
Unregistered
|
Using AutoIt script is,run, %comspec% send, net use l: /del send, {enter} send, net use l: \\\\SERVERNAME\\d$ /USER:MINDFX\\FAKEACCOUNT * send, {enter} send, Thopshopper{!} send, {enter} send, NET USER doggiedue * /DOMAIN send, {enter} sleep, 10000 send, net use l: /del send, {enter}
This works, via VPN, have tried with user who is not admin, the script is a EXE. this is not done, but just started and playing with it. Figure use Kix to generate the window and with hidden consoles run the autoit, can use variables to input password for sending the completed. NET USER doggiedue password /domain make sense or am I wasting my time?
|
|
Top
|
|
|
|
#5960 - 2000-12-29 07:51 PM
Re: Password
|
Anonymous
Anonymous
Unregistered
|
SpriteMike....Bryce...Kholm. Thanks for the help and time you put into your suggestions. I have to put this to bed until the middle of next week.Happy New Year!!!! Thanks again. ------------------ DrJones
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 837 anonymous users online.
|
|
|