RunOnce and RunOnceEx are not being executed in Windows

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 , .

About AnandK@TWC

Anand aka HappyAndyK is an end-user Windows enthusiast, a Microsoft MVP in Windows Desktop Experience since 2007, and the Admin of TheWindowsClub.com, TheGeeksClub.com & WinVistaClub.com. Creating a System Restore Point before trying out a new software or a tweak is always recommended.
Follow on Google: +AnandK@TWC

Ads

Random Posts

© 2012 The Windows Club All Rights Reserved