If you enable the Disable legacy run list Group Policy at User Configuration\Administrative Templates\System\Logon/Logoff or Computer Configuration\Administrative Templates\System\Logon/Logoff, the applications in the the Registry RUN key, at HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run and HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows\Run will not run when a user logs on.
If the policy is Not configured, you can implement it by setting the DisableLocalMachineRun value name, a REG_DWORD data type, to 1 at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer or HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.