Computer Disabled when?

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 15 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
ajgtx
Posts: 25
Last visit: Thu Nov 20, 2008 5:07 am

Computer Disabled when?

Post by ajgtx »

Still having problems tracking down the code for determining when a computer object was disabled. Anyone? I'm looking for a Master Jedi VBscripter here... :)
User avatar
jhicks
Posts: 1789
Last visit: Mon Oct 19, 2015 9:21 am

Computer Disabled when?

Post by jhicks »

The account disabled/enabled I believe is part of the userAccountControl property. The only way you can see when this value was changed would be to look at replication metadata for this property on a given computer. This is not an easy thing to script so if it is a one time or occassional thing, I recommend using REPLMON from the server support tools.
This topic is 15 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked