use echo %logonserver% command and check the output. If it is the local . NET languages (preferably C#), that would be really helpful. If not .