How are user ids and group ids assigned in UWIN?
UWIN maintains a table of subject identifier prefixes, and constructs the user id and group id by a combination of the index in this table and the last component of the subject identifier. The number of subject identifier prefixes that are likely to be encountered on a given machine is much smaller than the number of accounts so that this table is easier to maintain. The subject identifier prefix for the local system is 0 so that local accounts have small ids. The local adminstrator id is 0 and the local system account is mapped to group 1.