A couple of things.

DeleteFF, can you provide the code for that?

In your first post you mention a simple logoff and log back in fixes the problem. This sounds similar to the old problem of Windows running scripts before the network was ready. I don't know if it applies but this might be worth looking into:

Windows XP Professional Fast Logon Optimization -
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=112428#Post112428