VBS: Finding if user explicitly logs on with cached credentials

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



Hello,


I would like to know how to determine if a user has logged on with
cached credentials.

Testing has shown that the %logonserver% does not change when a user is
using cached credentials (meaning checking %logonserver% against
%hostname% will not work).


Sort of an emergency script.


Please help!


Thanks,

Matt

.



Relevant Pages

  • Re: Proxy nur im Netzwerk
    ... Nils Kaczenski [MVP] schrieb: ... Ich habs mal eben getestet, der %logonserver% ist dann der lokale ... Notebook mit W2KSP4 und ebenfalls Cached Credentials. ...
    (microsoft.public.de.german.win2000.gruppen_richtlinien)
  • Re: Standorte in =?ISO-8859-1?Q?Dom=E4nen?=
    ... Beachte: %LOGONSERVER% ist nicht ganz korrekt, da der letzte "Logon"-DC angezeigt wird, selbst wenn Cached Credentials für die Authentifizierung ...
    (microsoft.public.de.german.windows.server.active_directory)
  • Re: Finding if user explicitly logs on with cached credentials
    ... The environment variable %logonserver% contains two leading back slashes. ... So you must add two leading back slashes to the variable %computername% before you compare the variable contents. ... using cached credentials (meaning checking %logonserver% against ... Sort of an emergency script. ...
    (microsoft.public.windows.server.scripting)