If you find that when a command set to execute via RunOnce or RunOnceEx is not being executed as expected, in your Windows 7 or Windows Vista computer, then this article will explain why!
When such a command is set, the registry keys effected are:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Runonce
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunonceEx
KB2021405 states that this is by design and to execute commands from those registry keys, you must log in with an Administrator account.
This will therefore occur if you log on with a Standard User Account.
This issue effects only users with a Standard User account. If the user has an Administrator or Split Token, the execution proceeds.
Description of the RunOnceEx Registry Key may also interest you!
If you have liked this post, you might want to check out some more, on topics like Administrator, Features.