Active User Setup

From Syntaro Help

Revision as of 22:24, 25 April 2018 by Basevisi (talk | contribs)

ActiveUserSetup Documentation

If you want to execute something once in the User Context, when the user is login on, then you have to create a Key under: HKEY_LOCAL_MACHINE\SOFTWARE\ActiveUserSetup

The Name of that key needs to be unique. So, a good way to guarantee that would be to use a GUID.

You can then create the following entries below it, depending on your needs:

Item Type Optional/Must Description
Execute REG_SZ Must The Command that gets executed. If the Command needs Arguments provide them in the dedicated Argument Item.
Argument REG_SZ Optional The Arguments for your Exe
Name REG_SZ Optional A Name that explains what this task is about. If you use a GUID as the Key name this helps you understand what that Task does.
Version REG_SZ Optional The Version will be written to the user Registry and when you change it here the task will get executed once more.
SuccessfulReturnCodes REG_SZ Optional* A list separated by “;” that indicates that your task run successful.
WaitOnFinish REG_DWORD Optional* Set it to 1 if you want the Tool to wait for that Task to finish.
OnlyWhenSuccessful REG_DWORD Optional Set it to 1 if you want the User Registry Part only to be written when the Exit Code was one from your List.