NTDoc raises some good points. However, if you are dead set on having this process driven by user logins (maybe you are trying to clear up unused accounts), you could simply have the script do the following: Users without home directories could write their user names to a centralized file with WriteProfile(), then periodically you (or another admin) could run an administrator script to create the folder(s), assign permissions, do the appropriate sharing, then clear the file for the next day.

What the hey... you could even have the admin script run hourly with task scheduler if you wanted. Or you could write a script that ran continuously, but paused a few minutes between each iteration. So many possibilities...

NMM