Skip to content

Sys_ExecuteRunOnceValues

Runs the commands in HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce_Temp, one at a time, and waits for each command to finish. This is the key that Sys_MoveRunOnceValues moves the RunOnce commands to. Only string values are run, and commands that contain grpconv.exe are skipped. Each value is deleted after it has run, and the key is deleted at the end.

You don’t normally need to call this function. Job_PostProcedure calls it.

Sys_ExecuteRunOnceValues() As Boolean

If bStatus Then bStatus = Sys_ExecuteRunOnceValues()

Scripting Guidelines

Sys_MoveRunOnceValues Job_PostProcedure Constants Package Property Variables