There is a strong tendency to want to use %username%
as a macro in GPOs, to get the user’s name in. However, this doesn’t work in GPO. One has to use %LogonUser%
. To get the whole list of macros, press F3 while the cursor is in the GPO setup field.