Hi,

I've searched the boards on info about determining the OS of a remote client using only the IP-address. My thought was querying the registry as many of the post do.

What I need to find out is actually only if the OS is a NT OS like NT/2000/XP or another OS like Win95/98 etc. (I don't need to know the name of the OS if it isn't a NT OS).

One of the post I found was this:
http://www.kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=1;t=005783

The problem as I see it is that the only thing I know about the client is his IP-address. They all log on through a VPN tunnel over a WAN link, so there might only be open for certain ports through the VPN tunnel. The clients aren't member of a central domain (they run a Terminal Server client through the VPN tunnel) so I don't have administrative privs on the machine (is it then at all possible to retrive the info from the registry?) - and does anyone know what ports is used when querying the remote registry? I guess the port should be open in the VPN router - and at this moment I don't know excactly how much is allowed through the VPN tunnel.

To summerize:
User connect via a VPN tunnel with port restrictions. When connected he starts a Terminal Server client and logs on to the internal network. The logon script contains a script that retrieves the client IP through some TS DLL calls. What I need is using the retrieved IP-address to find out if the client on the other end of the VPN tunnel runs NT/2000/XP or another OS.

Can it be done?

Any help is highly appreciated!

Thanks ya all!!!!!!!

/Nicolaj [Smile]