For questions involving the usage of ktpass.exe - Kerberos keytab creation in Windows Active Directory.
ktpass.exe is the command used to create a key table file (keytab) in a Windows Active Directory network. ktpass must be run on either a member server or a domain controller of the Active Directory domain. Note that Keytabs must be created on a Windows Server operating system such as Windows Server 2008, 2012, or 2016. Keytabs cannot be created on a workstation operating system, such as Windows 7, 8 or Windows 10. When running ktpass.exe, the Command-line shell (cmd.exe) must be run under the context of administrator.
Further Reference: Kerberos Keytabs – Explained