Page 1 of 1 1
Topic Options
#7838 - 2001-03-30 10:16 AM How to start W95/9x while script is running !
Anonymous
Unregistered


Hello again!

I opened this new posting because I (and maybe others) finally want to know how to start W95 while script is running...

In my previous posting about the difference between HKLM & HKCU, the idea was to put a Regedit_4 file into the RunOnce section.
Directly poking the following key doesn't work...

WriteValue ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Winlogon","RunLogonScriptSync","0","REG_DWORD")

If somebody knows an answer for this problem... I will be greatfull!

Grtx, Eric

------------------
A l l Y o u r K I X A r e B e l o n g T o U s ! ! !

Top
#7839 - 2001-03-30 06:38 PM Re: How to start W95/9x while script is running !
bleonard Offline
Seasoned Scripter
*****

Registered: 2001-01-19
Posts: 581
Loc: Chicago, IL
SLM -
Actually, the registry value of '1' would turn on this setting (if it will work), while '0' turns off.
Bill

Top
#7840 - 2001-03-30 07:52 PM Re: How to start W95/9x while script is running !
Jack Lothian Offline
MM club member
*****

Registered: 1999-10-22
Posts: 1169
Loc: Ottawa,Ontario, Canada
In runonce, I think you should call a bat file and in the envoked bat file run regedit in batch/silent mode. Pass it your registry edits.
_________________________
Jack

Top
#7841 - 2001-03-31 06:19 AM Re: How to start W95/9x while script is running !
Anonymous
Unregistered


I'm completely confused about what you are actually trying to acheive. First off, Windows is already running when you are logging on and does not need to be started in any way. The user environment is created during the logon process and is ready as soon as the logon is complete.

Please explain exactly what you wish to do.

Top
#7842 - 2001-03-31 09:15 PM Re: How to start W95/9x while script is running !
Anonymous
Unregistered


Fuse,

For example, if you implement a loginscript under NT4, the programs located in your startup folder will start, while the script is executing.
So, you won't have to wait till the script ends, before the other programs will start!

Now try this on a Windows 95 machine and you will see that all the programs will wait for the logonscript to end, and then start...

With the "synchronise logonscript" registry entry, Windows 95 is supposed to start the programs while the script is running... but this doesn't work!

Eric

------------------
A l l Y o u r K I X A r e B e l o n g T o U s ! ! !

Top
#7843 - 2001-03-31 11:24 PM Re: How to start W95/9x while script is running !
Jack Lothian Offline
MM club member
*****

Registered: 1999-10-22
Posts: 1169
Loc: Ottawa,Ontario, Canada
From your previous post I don't think this is an issue of concurrent running. Were you not trying to write to the current user hive during logon. If so, I think the real issue is Win9x doesn't define the "Current User" hive in the registry until after logon completes. In Win9x you can not write to "Curent User" until logon completes.

Does WinNT create this hive before the logon script starts up? We have no WinNT clients on our network so I have never tested this. I had always assumed NT & Win9x behave the same on this issue.

Fuse,

As a guess from his previous post, I assumed he was trying to set registry policies in the current user hive during the logon process.

SLM,

If you are trying to set policies during logon I recommend you turn all user policies off & then you can set very complex lock downs in by writing to the "default user key from your logon script.

If your network clients consists of a relatively homogenous mix of hardware/software then roaming policies might do the trick.

Poking these policies into the runonce key can be a catch-22 sometimes. Some of the policies might require rebooting to work.

Our strategy is turn polices off then lock down real tight during boot up and then relax constraints during logon.

[This message has been edited by JackLothian (edited 31 March 2001).]

_________________________
Jack

Top
#7844 - 2001-04-01 01:31 AM Re: How to start W95/9x while script is running !
Anonymous
Unregistered


SLM, NT has two sets of startup folders. There is one for all users, which is what is running when logging on, and there is one for each individual user. This later has exactly the same restrictions and limitations as the startup folder under Win95. Win95 does not have an all-users program group.

I can see what you are trying to do in very general terms but that doesn't help. If you can give an example of what you want to do (in expicit terms) I'm sure the problem can be solved. However, continuing to pose the question in such broad and general terms will not help.

Top
#7845 - 2001-04-01 03:03 AM Re: How to start W95/9x while script is running !
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

The key RunLogonScriptSync doesn't work for Windows 95.
You should have to wait till completion of the script.
By f.e. NT it works great. Within 2 or 3 seconds an user can
start working. Best advise: when all applications run by NT
migrate to NT.

Bypassing can influence in a negative way roaming profiles usage.
For possible solutions in the furture see:

http://www.regedit.com
http://www.jsiinc.com

Greetings.

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
Page 1 of 1 1


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

Who's Online
0 registered and 837 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.045 seconds in which 0.02 seconds were spent on a total of 12 queries. Zlib compression enabled.

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