Re: RunOnce



Lloyd,

I'd say 12000 is enough and by that time network components should be
already installed.
Do you see any errors reported by the netsh script you run? Or, better, can
you issue ipconfig and other network commands from within the same CMD
window to see if the network stack got install and up and running?

Regards,
KM

Thanks for the suggestion. I changed the image to use the Generic Command
and
at least see the batch file execute. I used the cmd.exe /k option so that
the
cmd window stays open. It seems that I am running the netsh commands too
soon
- I rx an error that the interface does not exist. I have the phase set to
12000 - should this be a higher value?

Lloyd

"KM" wrote:

Lloyd,

1) Batch file, cfgip.bat, placed in root directory - just to make
things
simple for now.
2) Added Extra Resources->RunOnce Request. RunOnce arguments = .
RunOnce
FilePath = %11%\cmd.exe /c d:\cfgip.bat. RunOnce flag = 2. Also tried
FilePath = %24%\cfgip.bat, flag = 1, but the fbalog.txt file turned up
an

Stick to CMD when you want to deal with batch files.

You should try RunOnce request:
FilePath = %11%\cmd.exe /c d:\cfgip.bat, Flag = 1
(or whatever path to the batch file where you actually store it
on
the disk)


FBA Generic command is probably more appropriate for running a network
configuraiton batch script as it gives you more control over the momemnt
you
launch the script during FBA.

error - "cfgip.bat error code 0x1.


Regards,
KM





.



Relevant Pages

  • Re: editing SBS_LOGIN_SCRIPT.bat
    ... clients to network drives and printers, network shares, profiles, sets the ... browsers, and be denied connection to all the network resources that a LAN ... Had an idea for a way to use this script for a very restricted guest ... this batch file, but it refers to an .EXE file. ...
    (microsoft.public.windows.server.sbs)
  • Repost: User Independent Mapped Drive
    ... I'm managing a network that has 5 different ... OU that runs a batch file to map the drives. ... script, ...
    (microsoft.public.windows.server.networking)
  • Re: Call a batch file from a vbs script
    ... In regards to the 1st response I do not see where you ... specify the name of the batch file you are trying to call. ... network thru a wireless connection. ... policy to open the script during the login process. ...
    (microsoft.public.scripting.vbscript)
  • Re: Remote Registry
    ... It's a viable way for me to run a script or batch file. ... Or you might find a third party network registry tool which can search ... have a script or batch file do the changes for the users as they logon. ...
    (microsoft.public.win2000.registry)
  • Re: Modelling Complex Sentences
    ... re-inventing the network data model). ... If such as classifying node does not exist, ... Since people complained that dbd's scripts were too long, ... you typically use the CREATE/INSERT commands to ...
    (comp.databases.theory)