Windows user ID set to non-expire

(imported topic written by anthonymap91)

Does anyone know of a way to pull local user ids on a windows system that are set to non-expire?

thanks!

(imported comment written by BenKus)

How about this?

names of local users whose (password expiration disabled flag of it = true)

Ben