check Password Never Expires perms

  • 219 Views
  • Last Post 30 June 2016
lapidus posted this 17 June 2016

hi all,

How I query users that have permissions to set "Password Never
Expires" ? (Write userAccountControl) ?

br
Forum info: http://www.activedir.org
Problems unsubscribing? Email admin@xxxxxxxxxxxxxxxx

Order By: Standard | Newest | Votes
stevelane85 posted this 30 June 2016

How to locate Active Directory accounts with passwords set to 'Never Expire':
https://community.spiceworks.com/how_to/128015-how-to-locate-active-directory-accounts-with-passwords-set-to-never-expire

HanValk posted this 27 June 2016

Search-ADAccount -PasswordNeverExpires | Sort-Object -Property Name | Format-Table -Property Name | Out-File -PSPath "C:\Temp\passwordneverexpires.txt" Han. 

show

kevinrjames posted this 24 June 2016

Something along the lines of this should work too. – Had to do this morning along with getting lastpassword set date for determine password age in a migration. get-aduser -filter * -properties passwordneverexpires,passwordlastset|select-object name,passwordneverexpires,passwordlastset |export-csv test5.csv  /kj 

show

ant0ni0 posted this 24 June 2016

adfind -bit -default -f "(&(objectCategory=person)(objectClass=user)(userAccountControl:AND:=65536))" > PNE.txt
Here you can download the tool, http://www.joeware.net/freetools/tools/adfind/index.htm


show

ZJORZ posted this 17 June 2016

See

https://jorgequestforknowledge.wordpress.com/2013/05/29/taking-control-over-your-ad-permissions-with-the-ad-acl-scanner-tool/



Met vriendelijke groet / Kind regards,


Jorge de Almeida Pinto



E-Mail:

JorgeDeAlmeidaPinto@xxxxxxxxxxxxxxxx



Tel.: +31-(0)6-26.26.62.80



(+++Sent from my mobile device +++)


(Apologies for any typos)

show

Close