Windows DatabaseebooksStatistical Information

LWE10081 : Howto find the active directory site a computer is located in

Symptom:

You have created sites in active directory and want to know if the a certain computer is in a certain site

Cause:

This is usefull for troubleshooting the logon of the client

Solution:

You can write a little vbscript to find the site. You can also do look in active directory sites and trusts and look at the defined subnets. You than locate the IP address of the client in those subnets.

The vbscript that reads the site information looks like this:

Set objADSysInfo = CreateObject("ADSystemInfo")

WScript.Echo "Your current site name is " & objADSysInfo.SiteName
 


Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2011 Lubby (V3.0.10 Aug 2011)
Sponsored by Keskon.
Statistical information by Google Analytics