Originally Posted By: Robdutoit
NOW:

If I login as the domain admin account that the scheduled task runs as, everything works beautifully, however even if I login as another domain admin account, the script is not being applied - the reason being - the script is running in the user context of the scheduled task not the logged on user which means its not saving to the hkey_current_users area.
HKCU is a smoke and mirrors view of HKU\SID. You cannot run the shed task as the user (to use HKCU) as the user hasn't the rights. You need to map the reg to HKU\SID instead.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.