text
stringlengths
0
4.23k
ksetup domain
Allows you to specify a domain (if the <domainname> hasn't already been set by the /domain parameter).
ksetup changepassword
Allows you to use the kpasswd to change the logged on user's password.
ksetup listrealmflags
Lists the available realm flags that ksetup can detect.
ksetup setrealmflags
Sets realm flags for a specific realm.
ksetup addrealmflags
Adds additional realm flags to a realm.
ksetup delrealmflags
Deletes realm flags from a realm.
ksetup dumpstate
Analyzes the Kerberos configuration on the given computer. Adds a host to realm mapping to the registry.
ksetup addhosttorealmmap
Adds a registry value to map the host to the Kerberos realm.
ksetup delhosttorealmmap
Deletes the registry value that mapped the host computer to the Kerberos realm.
ksetup setenctypeattr
Sets one or more encryption types trust attributes for the domain.
ksetup getenctypeattr
Gets the encryption types trust attribute for the domain.
ksetup addenctypeattr
Adds encryption types to the encryption types trust attribute for the domain.
ksetup delenctypeattr
Deletes the encryption types trust attribute for the domain.
/?
Displays Help at the command prompt.
<domainname>
ktmutil
Starts the Kernel Transaction Manager utility. If used without parameters, ktmutil displays available subcommands.
Syntax
ktmutil list tms
ktmutil list transactions [{TmGUID}]
ktmutil resolve complete {TmGUID} {RmGUID} {EnGUID}
ktmutil resolve commit {TxGUID}
ktmutil resolve rollback {TxGUID}
ktmutil force commit {GUID}
ktmutil force rollback {GUID}
ktmutil forget
Examples
To force an Indoubt transaction with GUID 311a9209-03f4-11dc-918f-00188b8f707b to commit, type:
ktmutil force commit {311a9209-03f4-11dc-918f-00188b8f707b}
ktpass
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Configures the server principal name for the host or service in Active Directory Domain Services (AD DS) and generates a .keytab file that contains the shared secret key of the service. The .keytab file is based on the Massachusetts Institute of Technology (MIT) implementation of the Kerberos authentication protocol. T...
Syntax
ktpass
[/out <filename>]
[/princ <principalname>]
[/mapuser <useraccount>]
[/mapop {add|set}] [{-|+}desonly] [/in <filename>]
[/pass {password|*|{-|+}rndpass}]
[/minpass]
[/maxpass]
[/crypto {DES-CBC-CRC|DES-CBC-MD5|RC4-HMAC-NT|AES256-SHA1|AES128-SHA1|All}]
[/itercount]
[/ptype {KRB5_NT_PRINCIPAL|KRB5_NT_SRV_INST|KRB5_NT_SRV_HST}]
[/kvno <keyversionnum>]
[/answer {-|+}]
[/target]
[/rawsalt] [{-|+}dumpsalt] [{-|+}setupn] [{-|+}setpass <password>] [/?|/h|/help]
Parameters
Parameter
Description