Actually, if you want to set local user account expiration
date, this isn't a policy option, but rather an attribute on the local SAM
account. You can set it using a script like this:
Set usr =
GetObject("WinNT://machinename/darren")
usr.AccountExpirationDate = "06/06/2005" usr.SetInfo From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SysPro Support Sent: Friday, March 26, 2004 6:17 PM To: [EMAIL PROTECTED] Subject: Re: [ActiveDir] Domian VS Local I think you can go in to Local Group policy on the
machine and set it. However, if the machine is on the domain, you will need to
take steps to ensure the global policy doesn't override it (e.g. make the
machine a member of a group and then make the group No Apply for the Domain
policy)
I haven't tried it, but give it a go
Alan C
|
- [ActiveDir] Domian VS Local Mike Hogenauer
- Re: [ActiveDir] Domian VS Local SysPro Support
- RE: [ActiveDir] Domian VS Local joe
- Darren Mar-Elia