Re: determine if PC is on a certain network

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Pegasus [MVP]" wrote:
How can you tell if your PCs are connected to foo1? By their IP subnet? By
their %LogonServer%? Are the PCs in fact in a domain network or in a
workgroup network?

All good questions, Pegasus, which eventually led me to a solution. From the
PC, I try to ping the domain server and set a boolean variable. If True, the
PC is connected to that domain, and if False, it's not. Appears to be working
so far in testing. Thanks for the help!

.