|
running batch file located in netlogon \ stopping services
|
|
What is the preferred way to execute a batch file located in the netlogon directory. My desired effect is to stop some services... any hints appreciated.
|
|
Re: running batch file located in netlogon \ stopping services
|
|
Call it?
I mean, what alternatives do you have to start a batch file?
What exactly are you trying to accomplish?
|
|
Re: running batch file located in netlogon \ stopping services
|
|
To answer your question you simply reference it on the command line like any batch file (\\server\netlogon\batch.bat) and press enter.
What is it that you really what to know? Please supply some more detail. What services do you want to stop. On what computer do you want to stop them? Who is executing the batch file? Do you want this batch file executed as a logon script?
|
|
Re: running batch file located in netlogon \ stopping services
|
|
I want to call the batch file from my kix script. The script in question uses net stop commands to stop misc services like wuauserv, dhcp, etc... they are all win2k pro clients. I just wanted some ideas how to best stop services... preferably via batch file located in the netlogon share.
|
|
Re: running batch file located in netlogon \ stopping services
|
|
You can use SHELL and RUN ro call external batch files. Please read the KiXtart Manual for more info about the syntax. you can also use a couple of KiXtart UDFs that start/stop/manage servcie either with the help of external executables or via WMI. Please use the KiXtart BBS Search to find the appropriate UDFs. [ 18. September 2002, 18:04: Message edited by: sealeopard ]
|