SyntaxFix
Write A Post
Hire A Developer
Questions
When you run WScript.Shell it runs under the local system account, this account has full rights on the machine, but no rights in Active Directory.
http://support.microsoft.com/kb/278319