Page 1 of 1 1
Topic Options
#5628 - 2000-12-07 05:41 PM User must change password at net logon
Anonymous
Unregistered


Friends,

I'm using KIX to create new user in NT, but I can't seem to enable the "User Must Change Password at Next Logon" option. So, I found the the function of that choice "PwdLastSet", I need to figure out how to set the attribute to zero(0) to enable this option. Can anyone please help me on this? Thanks!

TP


Top
#5629 - 2000-12-07 06:06 PM Re: User must change password at net logon
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
TP:

What tool are using to create these users within KiX ?

Shawn.



Top
#5630 - 2000-12-07 06:43 PM Re: User must change password at net logon
Anonymous
Unregistered


I use NT Utility. Here is an example:

run "net user $username /add /domain"
sleep 1

shell "cmd.exe /c echo y| net accounts /sync"
sleep 1

? "Setting user profile for " + $username
? " "

run 'net user $username $InitialPassword /fullname:"$fname" /comment:"$Comment" /homedir:$homedir /scriptpath:$log /domain'
sleep 1

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 640 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.049 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org