Re: net User command
- From: "Alan" <Alan@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 27 Jan 2006 22:00:27 -0800
Jerold,
My mistake is thinking that I can somehow set the passwordexpires:never at
this command line. But there appears to be no option for that.. is there?
expires:never only refers to the account
thanks
"Jerold Schulman" wrote:
> On Thu, 26 Jan 2006 16:29:02 -0800, "Alan" <Alan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> >Why does this command fail to obey the expires, passwordchg and passwordreq
> >switches on Server2003, and how do I make it obey these switches?
> >
> >net user newuser mypassword /add /fullname:myfullname /comment:"a comment"
> >/expires:never /passwordchg:no /passwordreq:yes
>
>
> ????
>
> It does obey the switches:
>
> net user newuser mypassword /add /fullname:myfullname /comment:"a comment" /expires:never /passwordchg:no /passwordreq:yes
> The command completed successfully.
>
>
> C:\>net user newuser
> User name newuser
> Full Name myfullname
> Comment a comment
> User's comment
> Country code 000 (System Default)
> Account active Yes
> Account expires Never
>
> Password last set 01/27/2006 08:49
> Password expires 03/11/2006 07:36
> Password changeable 01/28/2006 08:49
> Password required Yes
> User may change password No
>
> Workstations allowed All
> Logon script
> User profile
> Home directory
> Last logon Never
>
> Logon hours allowed All
>
> Local Group Memberships *Users
> Global Group memberships *None
> The command completed successfully.
>
> Jerold Schulman
> Windows Server MVP
> JSI, Inc.
> http://www.jsiinc.com
> http://www.jsifaq.com
>
.
- Follow-Ups:
- Re: net User command
- From: Pegasus \(MVP\)
- Re: net User command
- References:
- Re: net User command
- From: Jerold Schulman
- Re: net User command
- Prev by Date: Re: net User command
- Next by Date: Re: Error and Server locking up
- Previous by thread: Re: net User command
- Next by thread: Re: net User command
- Index(es):
Relevant Pages
|
Loading