Thanks NTDOC, I copied and pasted your code into the script, but the problem persists!

Any more ideas?

The code still works perfectly while logged on, just not during the logon process. I am 100% sure that I am running the same script and have tested this using several different scripts! And yep, replication is working, they are Windows 2003 DCs.


Edited by Scottishfruit (2006-09-21 04:26 AM)