Automatically Run Batch Script

Page 1 of 2 12 LastLast

  1. Posts : 15
    windows
       #1

    Automatically Run Batch Script


    Hi everyone

    When the windows installation is finished, automatically run batch script.

    How can I do that?

    Thanks
      My Computer

  2. Samuria's Avatar
    Posts : 6,030
    windows 10
       #2

    Are you running a custom install or just standard ms install?
      My Computer


  3. Posts : 15
    windows
    Thread Starter
       #3

    in batch file, I have some settings for Windows.
    I want the batch file to run automatically After windows installation
    so a custom install :)
      My Computer

  4. Samuria's Avatar
    Posts : 6,030
    windows 10
       #4

    When I say custom install I mean you have changed the default ms install and created a new custom one?
      My Computer


  5. Posts : 15
    windows
    Thread Starter
       #5

    no, batch file will run automatically after normal win10 installation.
    I hope I can tell :)
      My Computer

  6. Matthew Wai's Avatar
    Posts : 5,006
    Windows 10 Home 20H2
       #6

    If the file needs to be run regularly, use Task Scheduler.
    If the file needs to be run only once, double-click on it.
      My Computer


  7. Posts : 15
    windows
    Thread Starter
       #7

    I have a config.bat file that I've written in my configurations for win10.
    batch file will run automatically after normal win10 installation.
    so config.bat will start automatically without intervention.
    maybe i can do it with an utility program
    As soon as win10 installation is finished, config.bot run automatically

    i have 50 computer, i don't want to run config.bat one by one for each computer.
    I want config.bat to run automatically when win10 setup is finished on a computer
      My Computer

  8. Matthew Wai's Avatar
    Posts : 5,006
    Windows 10 Home 20H2
       #8

    Samuria said:
    you have changed the default ms install and created a new custom one
    The above is necessary for the following:

    fenomist said:
    batch file will run automatically after normal win10 installation.
      My Computer


  9. Posts : 15
    windows
    Thread Starter
       #9

    @Matthew Waihow should i follow a path?
      My Computer


  10. Posts : 15
    windows
    Thread Starter
       #10

    Do I need to change the autorun.inf

    example;

    [AutoRun.Amd64]
    open=setup.exe
    icon=setup.exe,0
    open=config.bat

    [AutoRun]
    open=sources\SetupError.exe x64
    icon=sources\SetupError.exe,0
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 15:01.
Find Us




Windows 10 Forums