Yes Lonk it is the same, but now you don't have a variable to test against or log... or easily modify in a larger script.

You can use either way Dwanye, but using the variable gives you more options to use in a larger script.

Perhaps it is also an HKCU structure not being loaded during logon or some other policy.