The Task Scheduler(TS) isn't saving domain information for run task as user.
Steps to replicate:
In General->Security Options it shows which user the task will run as with the button "Change User or Group" beside it.
The TS lets me change the user to a domain user and shows "DOMAIN\USER" in the field.
Pressing OK prompts me to enter the password for "DOMAIN\USER" which I do.
Opening up the TS task again shows that the domain part of the "DOMAIN\USER" has been stripped out of the Run As field.
When that task is run it Does not run as the "DOMAIN\USER".
Expected Behavior
TS should run task as run as user like it does on Server 2012r2.
OS Details
OS is windows server 2016 standard build | Version 10.0.14393 Build 14393 and server is part of a domain.
EDIT: In windows 10 it looks like it does the same thing but the user does end up being run as correctly. In the exported task XML used to look like this: <UserId>DOMAIN\USER
</UserId> but now it looks like this:
[numbers-with-a-lot-of-hypens-that-starts-with-a-letter]<
/UserId>
EDIT-2: It looks like what's being stored in the XML settings is a Windows SID (security identifier).