Domain validation and the registry

  • Thread starter Thread starter Glynn Jones
  • Start date Start date
G

Glynn Jones

Hi folks,

I need to able to tell via vbs scripting if a machine has
been validated by a domain controller or is using cached
information. I figure there must be a registry key for
this somewhere but can't find any information on it. Or is
there any other method?

Any info greatly appreciated

Glynn
 
Hi, Glynn -

I'm not a developer but one easy way to tell is that a
domain login script won't run during a cached login. Can
you check for the existence of a mapped drive?

There are probably better ways to do this but this one
just came to mind as I was reading your post. I'm sure
someone will come up with a little better solution,
though.

Hope this helps a little -
 
Allan,

The script will actually be based on a laptop and will make some registry
changes when not validated by the DC. I assumed that the 'Volatile
Environment' section of the registry which lists the validating DC would be
blank when using the cached account but this isn't the case, it keeps the
last entry. There are a few ways to test connectivity but would prefer to to
rely on non network dependant methods... Thanks for the post though bud, nice
to kno the newsgroup system works!

Glynn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top