When I execute whoami /user
on the command line, I get
User Name SID
===================== ==============================================
tq84\rene.nyffenegger S-1-5-21-1111111111-2222222222-3333333333-1224
However, If I execute wmic useraccount where name='%username%' get sid
I get a different SID:
S-1-5-21-4444444444-5555555555-6666666666-1001
Not only is the RID different, but also the figures that are supposed to identify the domain.
Is this behaviour expected or is something gone wrong with the SID database on my system?