Rodd,
I created a new program, pasted your code, changed the user and domain name, selected the text and executed it. As far as I know, no special setting, but, your last question might be the answer, for I am a domain administrator, and logged into the domain, not the local computer, not sure how would this affect the process, but it might.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges