add
To use this command, sid::patch
must be executed first.
sid::add
can be used to add a SID to sIDHistory
of an object. The command must be executed directly on a domain controller. It has the following command line argument:
/sam
: thesAMAccountName
./new
: the new SID value. It also accepts format such asBuiltin\administrators
.
mimikatz # sid::add /sam:username /new:Builtin\administrators
Last updated