Author: tfaber
Date: Wed May 9 09:08:02 2012
New Revision: 56550
URL:
http://svn.reactos.org/svn/reactos?rev=56550&view=rev
Log:
[EXPLORER]
- Execute HKCU RunOnce entries as well. Patch by Edijs Kolesnikovics.
See issue #7062 for more details.
Modified:
trunk/reactos/base/shell/explorer/services/startup.c
Modified: trunk/reactos/base/shell/explorer/services/startup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/servic…
==============================================================================
--- trunk/reactos/base/shell/explorer/services/startup.c [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/services/startup.c [iso-8859-1] Wed May 9 09:08:02
2012
@@ -510,6 +510,8 @@
res = ProcessRunKeys(HKEY_LOCAL_MACHINE, runkeys_names[RUNKEY_RUN], FALSE,
FALSE);
if (res && ops.postlogin && ops.startup)
res = ProcessRunKeys(HKEY_CURRENT_USER, runkeys_names[RUNKEY_RUN], FALSE,
FALSE);
+ if (res && ops.postlogin && ops.startup)
+ res = ProcessRunKeys(HKEY_CURRENT_USER, runkeys_names[RUNKEY_RUNONCE], TRUE,
FALSE);
printf("Operation done\n");