Password expires after about a month

J

Jason Krause

Hello all,

I have read some of the responses to this question, but those posts were from 2003. Hopefully
things have changed with SP2.

Is there any way for me to set the password to NEVER expire in the Target Designer? I am using the
"User Account" component to create a user with administrative rights with a password of my choosing.
I would like for it to stop asking every 40 days or so to change the password.

Thanks,
Jason
 
S

Sean Liming \(eMVP\)

You can create a custom security templet or just modify the security
settings (secpol.msc /s) so that the password never expires.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit
 
J

Jason Krause

Thanks for the direction, Sean. I found something that will help me:

http://blogs.msdn.com/embedded/archive/2006/07/25/677927.aspx

To remove password expiration from User Accounts

The question came up again recently regarding how to change the default user account password
expiration settings. The steps below to apply a custom security template during FBA are from our
online docs...

By default, when you add user accounts to your image, the user is prompted to change the password 15
days before it will expire. In some types of deployments, it is not feasible or desirable for
end-users to change passwords. You can create a custom security template that turns off password
expiration and add it to your image so that it runs during First Boot Agent.

Note: Weak passwords are a potential security vulnerability and can allow hackers access to your
system. It is always advised to configure all user accounts with strong passwords.

To remove password expiration from User Accounts
1. Create a custom security template. For more information, see Creating a Custom Security Template
Using the MMC Snap-in.
2. In the MMC main window, under the new security template node, expand the Account Policies node.
3. Expand the Password Policy node.
4. In the right pane, right-click Maximum Password Age Policy.
5. Select the Define this policy setting in the template checkbox.
6. Set Password will not expire to 0 days.
7. Click OK and save the template.
8. Create a component for this security template and add it to your image, by following the steps to
Create a Component for a Custom Security Template and to Include a Custom Security Template in your
Runtime Image

- Andy
 
S

Sean Liming \(eMVP\)

My last book on XPe has an example of creating a custom security template.
These are the same steps.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit
 
K

Kiros

Jason said:
Hello all,

I have read some of the responses to this question, but those posts were from 2003. Hopefully
things have changed with SP2.

Is there any way for me to set the password to NEVER expire in the Target Designer? I am using the
"User Account" component to create a user with administrative rights with a password of my choosing.
I would like for it to stop asking every 40 days or so to change the password.

Thanks,
Jason

Maybe you can try this command

net accounts /maxpwage:unlimited

Regards,

Kiros
 
J

Jason Krause

I have one of your books, Sean... Windows XP Embedded Advanced. Is that the one that has it?
 
M

Martin Grossen, eMVP [AVNET Silica]

Hi Jason

Use the component on
www.xpefiles.com for a pre-build out of the box solution.

--

Martin Grossen, eMVP

AVNET EMG Silica
Franchise Manager Microsoft Embedded Europe

Your competent partner for Microsoft Embedded licencing

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top