Password Policy

Posted: 01-18-2005, 08:13 AM
Hi :-)

Is it possible to set the password policy attributes in the registration
database or with a commandline?

regards

- Morten H Andersen -


Password Policy


Responses to "Password Policy"

Morten H Andersen
Guest
Posts: n/a
 
Password Policy
Posted: 01-18-2005, 08:14 AM
Hi :-)

Is it possible to set the password policy attributes in the registration
database or with a commandline?

regards

- Morten H Andersen -


Morten H Andersen
Guest
Posts: n/a
 
Re: Password Policy
Posted: 01-19-2005, 12:23 PM
Thanks!



How the hell could I miss that?? ;-))



I used the NET USER to create an account, but it lacks the parameter to set
"Password never expires" !!





"Jerold Schulman" <Jerry@jsiinc.com> wrote in message
news:dakqu0529e0ovborrv8ekcnvjg1v5huft5@4ax.com...
> On Tue, 18 Jan 2005 09:14:40 +0100, "Morten H Andersen" <na@na.na> wrote:
>
>>Hi :-)
>>
>>Is it possible to set the password policy attributes in the registration
>>database or with a commandline?
>>
>>regards
>>
>>- Morten H Andersen -
>>
>
> net accounts /?
>
> From Help:
>
> Net accounts Updates the user accounts database and modifies password and
> logon requirements for all accounts.
>
> Syntax
> net accounts [/forcelogoff:{Minutes | no}] [/minpwlen:Length]
> [/maxpwage:{Days | unlimited}] [/minpwageays] [/uniquepw:Number]
> [/domain]
>
> Parameters
> /forcelogoff:{Minutes | no}
> Sets the number of minutes to wait before ending a user's session with a
> server when the user account or valid logon time expires. The default
> value, no, prevents users from being forced to log off.
> /minpwlen:Length
> Sets the minimum number of characters for a user account password. The
> range is from 0 through 127 characters and the default is six characters.
> /maxpwage:{Days | unlimited}
> Sets the maximum number of days that a user account's password is valid.
> The unlimited value sets no maximum time. The /maxpwage command-line
> option must be greater than /minpwage. The range is from 1 through 49,710
> days (that is, unlimited
> equals 49,710 days), and the default value is 90 days.
> /minpwageays
> Sets the minimum number of days before a user can change a new password.
> The default value is zero days, which sets no minimum time. The range is
> from 0 through 49,710 days.
> /uniquepw:Number
> Requires a user to not repeat the same password for the specified Number
> of password changes. The range is from 0 through 24 password changes, and
> the default is five password changes.
> /domain
> Performs the operation on the primary domain controller of the current
> domain. Otherwise, the operation is performed on the local computer.
> net help Command
> Displays help for the specified net command.
> Remarks
> The Net Logon service must be running on the computer where you want to
> change account parameters. Used without parameters, net accounts displays
> the current settings for password, logon limitations, and domain
> information.
> You must do the following before you can use net accounts:
> Create user accounts. Use User Manager or net user to set up user
> accounts.
> Run the Net Logon service on all servers that verify logon in the domain.
> Net Logon starts automatically at startup.
> When you use /forcelogoff:Minutes, a warning is sent minutes before users
> are forced to log off from the network. Users are also notified if any
> files are open. If Minutes is less than two, users are warned to log off
> from the network
> immediately.
> Examples
> To display the current settings, the password requirements, and the server
> role for a server, type:
>
> net accounts
>
> To set a minimum of seven characters for user account passwords, type:
>
> net accounts /minpwlen:7
>
> To specify that users can reuse a password only after the fifth time they
> change passwords, type:
>
> net accounts /uniquepw:5
>
> To prevent users from changing passwords more often than every seven days,
> force users to change passwords every 30 days, and force users to log off
> after the logon time expires with a five-minute warning, type:
>
> net accounts /minpwage:7 /maxpwage:30 /forcelogoff:5
>
> To ensure that the preceding settings take effect for the domain that the
> computer is logged on to, type:
>
> net accounts /minpwage:7 /maxpwage:30 /domain
>
>
>
> Jerold Schulman
> Windows Server MVP
> JSI, Inc.
> http://www.jsiinc.com

Marianne Lindstrom
Guest
Posts: n/a
 
Re: Password Policy
Posted: 01-19-2005, 10:20 PM
You've sent this to a dozen different groups. It's against the rules to cross post. With this kind of behavior, you don't deserve an answer!

"Morten H Andersen" <na@na.na> skrev i en meddelelse news:%23e9aQWT$EHA.1604@TK2MSFTNGP12.phx.gbl...
> Hi :-)
>
> Is it possible to set the password policy attributes in the registration
> database or with a commandline?
>
> regards
>
> - Morten H Andersen -
>
>
Ken Blake
Guest
Posts: n/a
 
Re: Password Policy
Posted: 01-19-2005, 10:34 PM
In news:ewjMkUn$EHA.208@TK2MSFTNGP12.phx.gbl,
Marianne Lindstrom <marianne@nospam.com> typed:
> You've sent this to a dozen different groups. It's against the
> rules
> to cross post. With this kind of behavior, you don't deserve an
> answer!

Rules? There are no rules against crossposting. *Excessive*
crossposting is frowned upon. Crossposting to a bunch of
unrelated groups is often the work of a spammer and is
reprehensible.

But there's nothing wrong with crossposting to a few related
groups. It's far better, for example, than multi-posting (sending
the same message separately to more than one newsgroup) which
just fragments the thread, so someone who answers in one
newsgroup doesn't get to see answers from others in another
newsgroup. The result of admonishments like yours is often that
people, fearing complaints, multipost when they should have
crossposted.

He crossposted to seven groups (not a dozen), which is a few
more than is usally advisable. But it's certainly not such
terrible behavior that it justifies a response like yours.

--
Ken Blake - Microsoft MVP Windows: Shell/User
Please reply to the newsgroup


> "Morten H Andersen" <na@na.na> skrev i en meddelelse
> news:%23e9aQWT$EHA.1604@TK2MSFTNGP12.phx.gbl...
>> Hi :-)
>>
>> Is it possible to set the password policy attributes in the
>> registration database or with a commandline?
>>
>> regards
>>
>> - Morten H Andersen -

Marianne Lindstrom
Guest
Posts: n/a
 
Re: Password Policy
Posted: 01-19-2005, 11:45 PM
Please explain the difference between cross-posting and multi-posting - as you see it? In this particular case, Morten got an answer in a different group, but there's no record of that in this group, so how do you know when to answer - if you have an answer - unless you check all the groups he posted to. People reading this group didn't see an answer to the question.

I don't think it's terrible behavior what Morten did, but I think it's bad behavior - and certainly not very considerate towards the readers or towards you guys who spend a lot of time answering questions.
===============
"Ken Blake" <kblake@this.is.an.invalid.domain> skrev i en meddelelse news:up9dRcn$EHA.3336@TK2MSFTNGP11.phx.gbl...
> In news:ewjMkUn$EHA.208@TK2MSFTNGP12.phx.gbl,
> Marianne Lindstrom <marianne@nospam.com> typed:
>
> > You've sent this to a dozen different groups. It's against the
> > rules
> > to cross post. With this kind of behavior, you don't deserve an
> > answer!
>
>
> Rules? There are no rules against crossposting. *Excessive*
> crossposting is frowned upon. Crossposting to a bunch of
> unrelated groups is often the work of a spammer and is
> reprehensible.
>
> But there's nothing wrong with crossposting to a few related
> groups. It's far better, for example, than multi-posting (sending
> the same message separately to more than one newsgroup) which
> just fragments the thread, so someone who answers in one
> newsgroup doesn't get to see answers from others in another
> newsgroup. The result of admonishments like yours is often that
> people, fearing complaints, multipost when they should have
> crossposted.
>
> He crossposted to seven groups (not a dozen), which is a few
> more than is usally advisable. But it's certainly not such
> terrible behavior that it justifies a response like yours.
>
> --
> Ken Blake - Microsoft MVP Windows: Shell/User
> Please reply to the newsgroup
>
>
>
> > "Morten H Andersen" <na@na.na> skrev i en meddelelse
> > news:%23e9aQWT$EHA.1604@TK2MSFTNGP12.phx.gbl...
> >> Hi :-)
> >>
> >> Is it possible to set the password policy attributes in the
> >> registration database or with a commandline?
> >>
> >> regards
> >>
> >> - Morten H Andersen -
>
>
a nonymous
Guest
Posts: n/a
 
Re: Password Policy
Posted: 01-20-2005, 12:54 AM

"Marianne Lindstrom" <marianne@nospam.com> wrote:
| Please explain the difference between cross-posting and multi-posting

http://www.blakjak.demon.co.uk/mul_crss.htm
Multiposting vs Crossposting


| In this particular case, Morten got an answer in a different group, but there's no record of that in this group

That answer may have been posted via CDO - which is only to the group where that poster responded.


| so how do you know when to answer

.... especially when the original poster never returns (such as in this case)


| I don't think it's terrible behavior what Morten did, but I think it's bad behavior - and certainly not very considerate towards
the readers

By the way, what is _your_ philosophy on

*cough*
http://www.caliburn.nl/topposting.html
Top-Posting
*/cough*



Ken Blake
Guest
Posts: n/a
 
Re: Password Policy
Posted: 01-20-2005, 02:16 AM
In news:OtL9sDo$EHA.3908@TK2MSFTNGP12.phx.gbl,
Marianne Lindstrom <marianne@nospam.com> typed:
> Please explain the difference between cross-posting and
> multi-posting
> - as you see it?

Cross-posting is addressing a single message to more than one
group, which is what he did. This message is crossposted to

microsoft.public.dk.windowsxp,
microsoft.public.windowsxp.basics,
microsoft.public.windowsxp.configuration_manage,
microsoft.public.windowsxp.customize,
microsoft.public.windowsxp.general, and
microsoft.public.windowsxp.security_admin

Multi-posting is sending a separate message to more than one
group.

> In this particular case, Morten got an answer in a
> different group, but there's no record of that in this group,

In that case, besides crossposting, he also multri-posted, which
I didn't realize.

> so how
> do you know when to answer - if you have an answer - unless you
> check
> all the groups he posted to.

You don't. Multi-posting is always a bad thing to do under all
circumstances, as I said in my original message. You don't even
know what other groups he posted to. Because he cross-posted, I
hadn't realized that he also multi-posted.

> People reading this group didn't see an
> answer to the question.

Exactly.

> I don't think it's terrible behavior what Morten did, but I
> think
> it's bad behavior - and certainly not very considerate towards
> the
> readers or towards you guys who spend a lot of time answering
> questions.

If he multi-posted, I agree with you. If it's just crossposting,
I don't think it usually deserves the bad rap it often gets,
which was the point of my reply to you.

--
Ken Blake - Microsoft MVP Windows: Shell/User
Please reply to the newsgroup

> ===============
> "Ken Blake" <kblake@this.is.an.invalid.domain> skrev i en
> meddelelse
> news:up9dRcn$EHA.3336@TK2MSFTNGP11.phx.gbl...
>> In news:ewjMkUn$EHA.208@TK2MSFTNGP12.phx.gbl,
>> Marianne Lindstrom <marianne@nospam.com> typed:
>>
>> > You've sent this to a dozen different groups. It's against
>> > the
>> > rules
>> > to cross post. With this kind of behavior, you don't deserve
>> > an
>> > answer!
>>
>>
>> Rules? There are no rules against crossposting. *Excessive*
>> crossposting is frowned upon. Crossposting to a bunch of
>> unrelated groups is often the work of a spammer and is
>> reprehensible.
>>
>> But there's nothing wrong with crossposting to a few related
>> groups. It's far better, for example, than multi-posting
>> (sending
>> the same message separately to more than one newsgroup) which
>> just fragments the thread, so someone who answers in one
>> newsgroup doesn't get to see answers from others in another
>> newsgroup. The result of admonishments like yours is often
>> that
>> people, fearing complaints, multipost when they should have
>> crossposted.
>>
>> He crossposted to seven groups (not a dozen), which is a few
>> more than is usally advisable. But it's certainly not such
>> terrible behavior that it justifies a response like yours.
>>
>> --
>> Ken Blake - Microsoft MVP Windows: Shell/User
>> Please reply to the newsgroup
>>
>>
>>
>> > "Morten H Andersen" <na@na.na> skrev i en meddelelse
>> > news:%23e9aQWT$EHA.1604@TK2MSFTNGP12.phx.gbl...
>> >> Hi :-)
>> >>
>> >> Is it possible to set the password policy attributes in the
>> >> registration database or with a commandline?
>> >>
>> >> regards
>> >>
>> >> - Morten H Andersen -

Kelly
Guest
Posts: n/a
 
Re: Password Policy
Posted: 01-20-2005, 09:14 AM
> *cough*
> http://www.caliburn.nl/topposting.html
> Top-Posting
> */cough*
Such a dangerous area to delve into. (

--
All the Best,
Kelly (MS-MVP)

Troubleshooting Windows XP
http://www.kellys-korner-xp.com


"a nonymous" <anonymous@discussions.microsoft.com> wrote in message
news:O%23F0vqo$EHA.3368@TK2MSFTNGP10.phx.gbl...
>
> "Marianne Lindstrom" <marianne@nospam.com> wrote:
> | Please explain the difference between cross-posting and multi-posting
>
> http://www.blakjak.demon.co.uk/mul_crss.htm
> Multiposting vs Crossposting
>
>
> | In this particular case, Morten got an answer in a different group, but
> there's no record of that in this group
>
> That answer may have been posted via CDO - which is only to the group
> where that poster responded.
>
>
> | so how do you know when to answer
>
> ... especially when the original poster never returns (such as in this
> case)
>
>
> | I don't think it's terrible behavior what Morten did, but I think it's
> bad behavior - and certainly not very considerate towards
> the readers
>
> By the way, what is _your_ philosophy on
>
> *cough*
> http://www.caliburn.nl/topposting.html
> Top-Posting
> */cough*
>
>
>

Torgeir Bakken \(MVP\)
Guest
Posts: n/a
 
Re: Password Policy
Posted: 01-20-2005, 11:18 AM
a nonymous wrote:
> "Marianne Lindstrom" <marianne@nospam.com> wrote:
>
>> Please explain the difference between cross-posting and
>> multi-posting
>
> http://www.blakjak.demon.co.uk/mul_crss.htm
> Multiposting vs Crossposting
Hi

And some input here as well:

Please don't multi-post.
http://www.aspfaq.com/etiquette.asp?id=5003


Crossposting is fine as long as the groups included are relevant, and
it is advisable to limit the number of groups to maximum three to
avoid flaming.


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scr...r/default.mspx
 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Policy Settings Doug986 Windows XP Configuration & Management 0 09-15-2004 09:30 PM
group policy Franz Chernjak Windows XP Beta 0 05-25-2004 10:53 AM
Gruop policy under XPE Andrea Windows XP Embedded 0 09-02-2003 10:09 AM
User Password - Screen locks up before I can key in password Brenda Windows XP Accessibility 1 08-23-2003 02:26 AM
Can't logon with password set in installation (or random password, either) David C. Vigil Windows XP New Users 0 08-17-2003 12:33 AM