Log in Register

Log in

Klist command - Syntax, Switches, Options and Examples

Klist command - Syntax, Switches, Options and Examples Hot

 
0.0 (0)
3085   0   0   0   0  
Write Review
Functional Area

Use of Klist command:

Klist command used to displays a list of currently cached Kerberos tickets, applies to windows server 2012.

 

Klist command Syntax:

klist [-lh ] [-li ] tickets | tgt | purge | sessions | kcd_cache | get | add_bind | query_bind | purge_bind

 

Klist command Switches:

-lh -> Denotes the high part of the user’s locally unique identifier (LUID),expressed in hexadecimal.If neither –lh or –li are present,the command defaults to the LUID of the user who is currently signed in.

-li -> Denotes the low part of the user’s locally unique identifier (LUID),expressed in hexadecimal.If neither –lh or –li are present,the command defaults to the LUID of the user who is currently signed in.

tickets -> Lists the currently cached ticket-granting-tickets (TGTs),and service tickets of the specified logon session.This is the default option.

tgt -> Displays the initial Kerberos TGT.

purge -> Allows you to delete all the tickets of the specified logon session.

sessions -> Displays a list of logon sessions on this computer.

kcd_cache -> Displays the Kerberos constrained delegation cache information.

get -> Allows you to request a ticket to the target computer specified by the service principal name (SPN).

add_bind -> Allows you to specify a preferred domain controller for Kerberos authentication.

query_bind -> Displays a list of cached preferred domain controllers for each domain that Kerberos has contacted.

purge_bind -> Removes the cached preferred domain controllers for the domains specified.

kdcoptions -> Displays the Key Distribution Center (KDC) options specified in RFC 4120.

/? -> Displays Help for this command.

 

Klist command Example:

When you want to diagnose if a user or a service can get a ticket to a server used  to request a ticket for a specific SPN, type:

klist get host/%computername%

 

User reviews

There are no user reviews for this listing.
Already have an account? or Create an account