• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 434
  • Last Modified:

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.
0
JeffBeall
Asked:
JeffBeall
1 Solution
 
Patrick TallaricoFSEP 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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now