Solved

Re: Registry to "PasswordNeverExpires"

Posted on 2007-03-25
5
458 Views
Last Modified: 2007-12-19
Hi
i looking for the registry key path that stores the key enable "passwordneverexpires" for all local user. i would want to check the checkbox. pls help thank u

cheers
0
Comment
Question by:Manfredtoo
  • 2
  • 2
5 Comments
 
LVL 57

Expert Comment

by:giltjr
ID: 18788272
You need to do this for each indvlidual local user.  There is no global option to change this for all local users.

Are you saying that the box is gray'ed out and you can't check this box?  If so is sounds like you might be in a domain and have a GPO that denies this options.
0
 

Author Comment

by:Manfredtoo
ID: 18788288
giltjr: hiya, its not its for the local account users not the domain users.
0
 
LVL 57

Accepted Solution

by:
giltjr earned 250 total points
ID: 18789064
It does not matter, domain GPO can control local settings.  If you company's security policy says all user id's must have passwords that expire, then the domain admins can control all local computer settings via GPO's that are set at the domain level.

When you go to add/modify a exsting local user are you able to check the "password never expires" box?

0
 
LVL 1

Assisted Solution

by:garretto9
garretto9 earned 250 total points
ID: 18791114
don't use the registry, just use the user manager
1. go to start>run and type in "control userpasswords2" without quotes
2. Click the advanced tab
3. Click the advanced button
     A New window will pop up called "local users and groups"
4. Click on the users folder
5. select the user who you want to modify and right click on the account and click properties
6. check the box that says "Password Never Expires" and click okay

you're done, easy as that.
0
 

Author Comment

by:Manfredtoo
ID: 18797827
tot of using registry cos tot using vbs to edit it as all the rest of my scripts are in vbs format. it will be running a sequence automatically.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now