Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Many users running an exe via NW Login script WS hook

Status
Not open for further replies.

ocarles

Technical User
Jan 9, 2004
6
0
0
PY
In my Netware 5 login script I ran the next a batch file:

@f:\apps\tngsw\am_login.bat

That execute an exe.
All it seems well until many users try to execute the batch file. (say up to 100)
If I execute in one or five ws at the same time, it works well.
WS appear to hook, and the startup process of the WS become very slow (not hang). It seems like the nw clients wait each other to finish the batch file

Thank for you help


 
What is the batch file doing? Is it flaged sharable?

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Brent Schmidt Certified nut case [hippy]
Senior Network Engineer
 
is one user not finishing the command
ie is it staying open for them

and as above what's it doing
 
I hate using batch files in scripts. Why don't you take the commands out of the batch file and put them into the login script directly.

And better yet, understand that you probably don't need them anyway, or their might be a better way to do what you're doing.

Marvin Huffaker MCNE, CNE
Marvin Huffaker Consulting
 
This is what the batch file execute.
As you see, the exe files are umcliw95, umcliwnt.
The only way that I find to do this is via batch file.
Any suggestion?

Regards


@echo OFF
REM Sample Login Script for Asset Management
REM Running Agent from a Netware Server.
If "%OS%" == "Windows_NT" goto winNT
If NOT "%WINBOOTDIR%" == ""? goto win9x
goto otroOS

:win9x
SET PATH=""
SET
PATH=F:\APPS\TNGSW\TNGAM\Agents;C:\TNGSW\TNGSD\BIN;C:\WINDOWS;C:\WINDOWS\SYS
TEM
echo POR FAVOR, ESPERE MIENTRAS SE EJECUTA EL INVENTARIO DE SU MAQUINA
CALL umcliw95 /WSAREA:MATRIZ /USAREA:MATRIZ /EXTDEBUG /SILENT
goto ending

:WinNT
SET PATH=%PATH%;F:\APPS\TNGSW\TNGAM\Agents
echo POR FAVOR, ESPERE MIENTRAS SE EJECUTA EL INVENTARIO DE SU MAQUINA
umcliwnt /WSAREA:MATRIZ /USAREA:MATRIZ /EXTDEBUG /SILENT
goto ending


:OtroOS
echo No es ni windows 9x/ME, ni Windows NT/2000/XP
goto ending

:ending
 
Look into ZENWorks. You should be able to get away with use ZENLite (if you can find it). It wik=ll do what you want with out using a BAT file.

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Brent Schmidt Certified nut case [hippy]
Senior Network Engineer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top