Page 1 of 1 1
Topic Options
#81947 - 2002-04-28 04:43 PM Sequence of events during logon
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Maybe I should have called this "Why can't I access HKEY_CURRENT_USER on Win9x/ME during logon"
...or Why doesn't my script work during logon but works if I run it after logon"
...or "Why does... <place your problem here> ...only work after I reboot or logoff and logon again".

ScriptLogic has an Article T1056 that explains how the various Run, RunOnce, RunServices, RunServicesOnce, and RunOnce\Setup registry keys relate to each other, the Startup folder and logon scripting.  It also describes the order in which these events are processed.

This is "have to have" information to plan out and troubleshoot your logon scripts, particularly when you have a mix of client OS.  One must also consider whether the logon script runs sync or async.  See also, the FAQ
W2k - Keep the Window visible on login?

After reviewing the Article T1056 you will see why it is better to use true policies rather than reg hacks.  You should also have an understanding of why scripts are often pushed to the RunOnce key (thought for another FAQ topic).

[edit]They keep changing the URL for the article. Had to search on the title "Explanation of how the various Run, RunOnce, RunServices, and RunServicesOnce registry keys are sequenced with ScriptLogic" to find it.


Edited by Les (2011-11-18 05:12 PM)
Edit Reason: URL changed
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#177918 - 2007-07-13 01:45 PM Re: Sequence of events during logon [Re: Les]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
the scriptlogic articles have moved.
I was able to find this, which most likely is the exact same one:
Q13868 - INFO: Explanation of how the various Run, RunOnce, RunServices, and RunServicesOnce registry keys are sequenced

Top
#177980 - 2007-07-16 04:34 PM Re: Sequence of events during logon [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
INFO: Run, RunOnce, RunServices, RunServicesOnce and Startup
http://support.microsoft.com/kb/179365

Definition of the RunOnce Keys in the Registry
http://support.microsoft.com/kb/137367/EN-US/

A definition of the Run keys in the Windows XP registry
http://support.microsoft.com/kb/314866/EN-US/

Regards,

Brad V
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Jochen, Radimus, Glenn Barnas, Allen, Arend_, ShaneEP, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 768 anonymous users online.
Newest Members
Raoul, Timothy, Jojo67, MaikSimon, kvn317
17875 Registered Users

Generated in 0.054 seconds in which 0.024 seconds were spent on a total of 15 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org