Archive for the ‘Active Directory’ Category

LogonHours

Below is a script to find any users who have logon hours restricted (i.e. not set to “Allow Any Time”)
 
Don’t forget to generate an objects.txt by doing a “dsquery –user –l 0 > objects.txt” as per any of my other scripts.
 

strtextfile = "objects.txt" [...]

Continue reading »

Updating AD Users from a CSV

I recently come across a question on EE about updating GAL entries (i.e. AD user attributes) via csv.
I wasn’t sure, so did a quick google.
There is a script (http://www.wisesoft.co.uk/scripts/vbscript_update_user_attributes_from_csv.aspx) that allows this. The instructions on the linked page are detailed enough, so take this as a reminder to me (and anyone who comes across this) [...]

Continue reading »

What to do when your SYSVOL stops replicating………

A Quick overlay how to re-replicate NtFrs shares :)

Continue reading »