Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: mcafee logon script locks
The @ is for larger programs - Office installs, major application rollouts. I use the @ sign because that means Run this program and continue the login script. So my program runs and checks the registry to see if itself has already run. If it hasn't, it waits for the login script to end (with a WinWaitClose("~Results")) and then pops up a big screen announcing the new app and giving the user to decline, help screens, etc. I cannot lock up a login script for 45 minutes while office 2000 installs - it messes up other stuff.
Using the following Netware login script:
#z:TestPro1.exe @z:TestPro2.exe @z:TestPro3.exe #z:TestPro4.exeWith this program, message box #1 came up as it should. Then the machine locked up (on Windows 98SE only). A Ctrl-Alt-Delete and the task manager reported #2 as not responding. I did an endtask - still locked. Now #3 is not responding. Another endtask and the message for program #4 came up and everything continued normally.
The only TSR we run at startup is McAfee (and Client32 - various flavors of version 3) .
I installed REGMON to see what is being accessed in the registry at the time that the script is locking up.
I am launching compiled (small exe) scripts as follows:
#TestPrg1.exe @TestPrg2.exe @TestPrg3.exe #TestPrt4.exeI occasionally still get a MPR.EXE hang while my login script is being processed. However, if MPR.EXE is not hung up then TestPrg3.exe always seems to be the one that gets hung. If I terminate that task then the other scripts run to completion. While either a script is hung or MPR.EXE is hung, I am finding that I cannot ALT+TAB to another window. I discovered this when I had REGMON running because I was able to ALT+TAB between REGMON and the login results window. I'm launching REGMON with "@REGMON" and that is followed by a PAUSE command in the login script that is used to allow REGMON to get fully started before any additional login script commands are executed.
Since ALT+TAB is disabled I tend to think that this is an operating system level problem and not a WinBatch problem. If it was just a single app that was hung due to an internal app problem then the whole system should not be frozen. However, if th app is dependent on some API function in the operating system and the OS goes out to lunch then the app may appear to be hung.
Each time that the test script gets hung up, it hangs while initializing itself. It *NEVER* gets to the point where it is able to process the actual WIL commands in the compiled script and I never get a DebugTrace() log file created for the script. The point at which the script hangs up varies with each particular run of the script. Some times the initialization of the compiled script runs nearly as far as what I see in the REGMON logs for the other scripts that run OK. In other cases, the initialization only gets in a few accesses to the registry and then the script gets hung up.
Does this description of the problem match what you are experiencing now? For the script that gets hung up on your systems, does a debug trace file get created showing an actual WIL statement for which the script got hung up or do you just not get a debug trace file at all?
We are all on the same page, so now what? I am fearful the answer is I must change my entire methodology on how I deploy and track application distribution. That really puts a damper on my entire job function. I have built a Winbatch empire here and part of the foundation appears to be crumbling.... Please say it isn't so!!
Please see if you can duplicate my testing results and let me know what your testing results are. Remember that when you try to launch the compiled scripts and you have them on the local hard drive then they must be explicitly referenced with path information or else they must be located on the search path before the copies of the compiled scripts that are located in the SYS:PUBLIC directory on your server. I'm attaching my test script. You can copy the .EXE file to 4 different names - TestPrg1.exe, TestPrg2.exe, TestPrg3.exe and TestPrg4.exe - as necessary. Please use this exact same script as I have compiled it. It was compiled as SMALL .EXE under WinBatch 99P.
Also, go to http://www.deja.com/home_ps.shtml and search on two keywords - "McAfee" and "NetWare" (don't use the logical operator "AND" in the search) and you will get a lot of hits regarding lockup/hangup problems during login and some hits regarding an inability to run programs from off of a NetWare server volume via the login script when using a Win9x workstation that has McAfee installed on it.
Then, of course, there is always the situation where you can easily turn the problem off and on by disabling/enabling the McAfee VirusShield software. Also, moving the compiled scripts to a local hard drive and making *SURE* that they are being run from the hard drive via the login script w/o any problems is another good diagnostic situation. If you can re-create these two situations in house then you can get a NAI engineer to come look at it.
Article ID: W14471
Filename: Winbatch in Netware Login Scripts and McAfee Issues.txt
File Created: 2000:05:31:11:08:50
Last Updated: 2000:05:31:11:08:50