Location: Mail List

Ads

Skyscraper

The GPTalk Mailing List

The GPTALK mailing list is where you can send and receive email related to Windows Group Policy. You must subscribe to the list to send and receive mail from the list. The purpose of the list is to provide a forum for asking and answering technical questions related to Group Policy. Any question is fair game as long as it is related to Windows Group Policy.  The Archives for this list can be found on this page.

 

List Posts

Subject: [gptalk] Enable "User cannot change password" after first login
Prev Next
You are not authorized to post a reply.

AuthorMessages
ananthrgUser is Offline

Posts:20

02/17/2009 8:48 AM  
Hi,
We have some new users joining our domain. Our method is we create the user
names and give "blank" passwords and set "user must change password at
first login". We have password policies also.

After all these users has logged in for the first time, we want to disallow
user from changing the password, for that we need to enable "user cannot
change password" from user properties.

Our question is is it possible to do it through GPO? Is there any script or
setting for it? We want to enable "user cannot change password" after a user
has logged into the domain for the first time and changed his password.

Thanks and regards
Ananth.

DarrenUser is Offline

Posts:103

02/17/2009 9:48 AM  
Ananth-

In general password policy on user objects can't be modified via Group
Policy. You will need to create a script of some kind to do this. I would
suggest checking out the Microsoft TechNet Scripting Center on
technet.microsoft.com. They have a bunch of examples of modifying user
account properties in AD using scripts in various languages. You might also
want to check out admod.exe at joeware.net, which is a command-line tool for
modifying AD objects.



Darren



From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx]
On Behalf Of Ananth Rajagopal
Sent: Tuesday, February 17, 2009 2:52 AM
To: xxxxxxxxxxxxxxxx
Subject: [gptalk] Enable "User cannot change password" after first login



Hi,



We have some new users joining our domain. Our method is we create the user
names and give "blank" passwords and set "user must change password at first
login". We have password policies also.



After all these users has logged in for the first time, we want to disallow
user from changing the password, for that we need to enable "user cannot
change password" from user properties.



Our question is is it possible to do it through GPO? Is there any script or
setting for it? We want to enable "user cannot change password" after a user
has logged into the domain for the first time and changed his password.



Thanks and regards

Ananth.












DarrenUser is Offline

Posts:103

02/17/2009 10:02 AM  
Sorry, I meant to say "account properties" rather than "password policy"
below.



Darren



From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx]
On Behalf Of Darren Mar-Elia
Sent: Tuesday, February 17, 2009 6:42 AM
To: xxxxxxxxxxxxxxxx
Subject: RE: [gptalk] Enable "User cannot change password" after first login



Ananth-

In general password policy on user objects can't be modified via Group
Policy. You will need to create a script of some kind to do this. I would
suggest checking out the Microsoft TechNet Scripting Center on
technet.microsoft.com. They have a bunch of examples of modifying user
account properties in AD using scripts in various languages. You might also
want to check out admod.exe at joeware.net, which is a command-line tool for
modifying AD objects.



Darren



From: xxxxxxxxxxxxxxxx [mailto:xxxxxxxxxxxxxxxx]
On Behalf Of Ananth Rajagopal
Sent: Tuesday, February 17, 2009 2:52 AM
To: xxxxxxxxxxxxxxxx
Subject: [gptalk] Enable "User cannot change password" after first login



Hi,



We have some new users joining our domain. Our method is we create the user
names and give "blank" passwords and set "user must change password at first
login". We have password policies also.



After all these users has logged in for the first time, we want to disallow
user from changing the password, for that we need to enable "user cannot
change password" from user properties.



Our question is is it possible to do it through GPO? Is there any script or
setting for it? We want to enable "user cannot change password" after a user
has logged into the domain for the first time and changed his password.



Thanks and regards

Ananth.












ananthrgUser is Offline

Posts:20

02/17/2009 11:36 AM  
Thanks Darren. You've always been kind enough to help, we will check technet
and once we implement we will inform.

regards
Ananth.



On Tue, Feb 17, 2009 at 8:27 PM, Darren Mar-Elia <xxxxxxxxxxxxxxxx> wrote:

> Sorry, I meant to say "account properties" rather than "password policy"
> below.
>
>
>
> Darren
>
>
>
> *From:* xxxxxxxxxxxxxxxx [mailto:
> xxxxxxxxxxxxxxxx] *On Behalf Of *Darren Mar-Elia
> *Sent:* Tuesday, February 17, 2009 6:42 AM
> *To:* xxxxxxxxxxxxxxxx
> *Subject:* RE: [gptalk] Enable "User cannot change password" after first
> login
>
>
>
> Ananth-
>
> In general password policy on user objects can't be modified via Group
> Policy. You will need to create a script of some kind to do this. I would
> suggest checking out the Microsoft TechNet Scripting Center on
> technet.microsoft.com. They have a bunch of examples of modifying user
> account properties in AD using scripts in various languages. You might also
> want to check out admod.exe at joeware.net, which is a command-line tool
> for modifying AD objects.
>
>
>
> Darren
>
>
>
> *From:* xxxxxxxxxxxxxxxx [mailto:
> xxxxxxxxxxxxxxxx] *On Behalf Of *Ananth Rajagopal
> *Sent:* Tuesday, February 17, 2009 2:52 AM
> *To:* xxxxxxxxxxxxxxxx
> *Subject:* [gptalk] Enable "User cannot change password" after first login
>
>
>
> Hi,
>
>
>
> We have some new users joining our domain. Our method is we create the user
> names and give "blank" passwords and set "user must change password at
> first login". We have password policies also.
>
>
>
> After all these users has logged in for the first time, we want to disallow
> user from changing the password, for that we need to enable "user cannot
> change password" from user properties.
>
>
>
> Our question is is it possible to do it through GPO? Is there any script or
> setting for it? We want to enable "user cannot change password" after a user
> has logged into the domain for the first time and changed his password.
>
>
>
> Thanks and regards
>
> Ananth.
>
>
>
>
>
>
>
>
>
>
>

gollum123User is Offline

Posts:0

02/17/2009 11:52 AM  
Hello,

appart from technically changing the AD attribute, blocking users from
changing their password is lowering your security level.
With the time being, users tends to exchange their password, so keeping it
always the same makes people having access with others account for a long
term.

2009/2/17 Ananth Rajagopal <xxxxxxxxxxxxxxxx>

>
>
> Thanks Darren. You've always been kind enough to help, we will check
> technet and once we implement we will inform.
>
> regards
> Ananth.
>
>
>
> On Tue, Feb 17, 2009 at 8:27 PM, Darren Mar-Elia <xxxxxxxxxxxxxxxx>wrote:
>
>> Sorry, I meant to say "account properties" rather than "password policy"
>> below.
>>
>>
>>
>> Darren
>>
>>
>>
>> *From:* xxxxxxxxxxxxxxxx [mailto:
>> xxxxxxxxxxxxxxxx] *On Behalf Of *Darren Mar-Elia
>> *Sent:* Tuesday, February 17, 2009 6:42 AM
>> *To:* xxxxxxxxxxxxxxxx
>> *Subject:* RE: [gptalk] Enable "User cannot change password" after first
>> login
>>
>>
>>
>> Ananth-
>>
>> In general password policy on user objects can't be modified via Group
>> Policy. You will need to create a script of some kind to do this. I would
>> suggest checking out the Microsoft TechNet Scripting Center on
>> technet.microsoft.com. They have a bunch of examples of modifying user
>> account properties in AD using scripts in various languages. You might also
>> want to check out admod.exe at joeware.net, which is a command-line tool
>> for modifying AD objects.
>>
>>
>>
>> Darren
>>
>>
>>
>> *From:* xxxxxxxxxxxxxxxx [mailto:
>> xxxxxxxxxxxxxxxx] *On Behalf Of *Ananth Rajagopal
>> *Sent:* Tuesday, February 17, 2009 2:52 AM
>> *To:* xxxxxxxxxxxxxxxx
>> *Subject:* [gptalk] Enable "User cannot change password" after first
>> login
>>
>>
>>
>> Hi,
>>
>>
>>
>> We have some new users joining our domain. Our method is we create the
>> user names and give "blank" passwords and set "user must change password at
>> first login". We have password policies also.
>>
>>
>>
>> After all these users has logged in for the first time, we want
>> to disallow user from changing the password, for that we need to enable
>> "user cannot change password" from user properties.
>>
>>
>>
>> Our question is is it possible to do it through GPO? Is there any script
>> or setting for it? We want to enable "user cannot change password" after a
>> user has logged into the domain for the first time and changed his password.
>>
>>
>>
>> Thanks and regards
>>
>> Ananth.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>


--
Cordialement,
Mathieu CHATEAU
French blog: http://www.lotp.fr
English blog: http://lordoftheping.blogspot.com

You are not authorized to post a reply.
Forums >GPTalk >GPTalk Mailing List > [gptalk] Enable "User cannot change password" after first login



ActiveForums 3.7

Members

MembershipMembership:
Latest New UserLatest:carmicklec
New TodayNew Today:1
New YesterdayNew Yesterday:1
User CountOverall:1399

People OnlinePeople Online:
VisitorsVisitors:0
MembersMembers:0
TotalTotal:0

Online NowOnline Now:

Ads

Banner Inv
Copyright 2009 by GPOGUY.COM
Terms Of Use