WSH & ADSI and userflags! 
Author Message
 WSH & ADSI and userflags!

How can you use the userflags in wsh ? and is there any way to clear
the box "User must change his password..." in usermanger throw the
adsi ?

/lgs



Sat, 10 Feb 2001 03:00:00 GMT  
 WSH & ADSI and userflags!
These are the user flags...

+ Indicates that the bit can be set
0x0001  UF_SCRIPT +
0x0002  UF_ACCOUNTDISABLE +
0x0008  UF_HOMEDIR_REQUIRED +
0x0010  UF_LOCKOUT +
0x0020  UF_PASSWD_NOTREQD +
0x0040  UF_PASSWD_CANT_CHANGE +
0x0100  UF_TEMP_DUPLICATE_ACCOUNT0X
0200  UF_NORMAL_ACCOUNT
0X0800  UF_INTERDOMAIN_TRUST_ACCOUNT
0X1000  UF_WORKSTATION_TRUST_ACCOUNT
0X2000  UF_SERVER_TRUST_ACCOUNT
0x10000  UF_DONT_EXPIRE_PASSWD +
0X20000  UF_MNS_LOGON_ACCOUNT +
Regards,
Ian Morrish
http://wsh.glazier.co.nz WSHFAQ
http://ils.glazier.co.nz (NetMeeting)
http://www.glazier.co.nz

Quote:

>How can you use the userflags in wsh ? and is there any way to clear
>the box "User must change his password..." in usermanger throw the
>adsi ?

>/lgs



Sun, 11 Feb 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. changing userflags with Jscript and ADSI

2. Changing Userflags uding ADSI

3. WSH & ADSI for Exchange

4. Success: Creating Exchange Accounts using ADSI & WSH

5. Userflags

6. Set UserFlag query...please help

7. Windows 95/NT clients & ADSI

8. VBS & ADSI

9. ADSI LastLogin & LastLogoff

10. WMI & ADSI

11. ADSI & NT Domain

12. ADSI, lanmanserver & permissions

 

 
Powered by phpBB® Forum Software