windows 7 command line

is there a windows 7 command line command that tells if you have successfully authenticated to the domain? So that you are sure that you are not using cached credentials?
I guess it wouldn't have to be command line, if there is something in win7 that would be fine too.
I ask because someone I work with is logging into his pc on the domain but can't get to any website. and the way our setup is, this happens when a computer is on the network but not authenticated, then the computer is blocked from all web traffic.
LVL 1
JeffBeallAsked:
Who is Participating?
 
Patrick TallaricoConnect With a Mentor FSEP Systems AnalystCommented:
Perhaps you could write a script that runs after logon and uses the stored authentication information to retest the account, and the connection.
The following page has an example of a script that could be modified to perform this sort of check.
http://stackoverflow.com/questions/14776696/how-to-use-obtained-credentials-in-powershell-to-find-groups-of-the-authenticate
0
 
JeffBeallAuthor Commented:
thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.