When a user logs on, the programs and documents in the run-once list are run just once, but never again. These entries are generally configured by installation routines.

To prevent the entries in the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce key and HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce from starting, enable the Disable the run once list Group Policy at Computer Configuration\Administrative Templates\System or User Configuration\Administrative Templates\System.

If the policy is Not configured, you can implement it by setting the DisableLocalMachineRunOnce value name, a REG_DWORD data type, to 1, at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer or HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer.