Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 270
  • Last Modified:

Password never Expires for all the Current users has to be unchecked.

Hi,

Password never Expires for all the Current users has to be unchecked.
How can i do this. Any script or an inbuilt way of doing this.
All users in an OU.

Regards
Sharath
0
bsharath
Asked:
bsharath
2 Solutions
 
szaibotCommented:
Open AD users and Computers
go to that OU, select all users like you would select files, right click , properties.
On the account tab you may untick that option
0
 
bsharathAuthor Commented:
Oops thats what happens when i dont have an AD when i post Questions... :-)
Ok hope its that easy.. Shall check in the morning and post back...
0
 
Joseph DalyCommented:
That is the way to do it. You if you wanted to do it via script you could also have used.

Dsquery user -samid * | DSmod user -pwdneverexpires no
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now