How to call setupcomplete.cmd

Page 1 of 7 123 ... LastLast

  1. Posts : 63
    windows 10 pro x64
       #1

    how to add unattended program to windows iso


    Hi there, after setupcomplete.cmd format, it should install automatically. How can I call in background automatically

    - - - Updated - - -

    I need acerin legacy unattend.xml windows 10 pro x64 is there anybody

    - - - Updated - - -

    I need it urgently
      My Computer


  2. Posts : 4,176
    Windows 11 Pro, 22H2
       #2

    Forgive me, but I'm having a bit of difficulty understanding what you are trying to do.

    To use the setupcomplete.cmd file, place it on your reference system in the %WINDIR%\Setup\Scripts\ folder just prior to sysprep being run and subsequent imaging of that reference system. EDIT: You don't call it. windows runs it automatically.

    Your next statement says "I need acerin legacy unattend.xml windows 10 pro x64 is there anybody". I don't know what that means. Could you clarify?
      My Computers


  3. Posts : 63
    windows 10 pro x64
    Thread Starter
       #3

    Yes brother, I was going to format the correct format you said they need. I want to call setupcomplete.cmd automatically.

    - - - Updated - - -

    How can we run sysprep, to use setupcomplete.cmd file
      My Computer


  4. Posts : 4,176
    Windows 11 Pro, 22H2
       #4

    Take a look at this tutorial:

    Create media for automated unattended install of Windows 10

    It is Part Five of the tutorial where you are preparing assets that you will want to prepare your SetupComplete.cmd.

    However, the fact that you are asking about sysprep makes me wonder if this is the correct solution for you.

    Are you setting up a reference system and customizing it or are you attempting to simply perform an automated setup of Windows?

    Also, what do you hope to accomplish with the SetupComplete.cmd script?
      My Computers


  5. Posts : 63
    windows 10 pro x64
    Thread Starter
       #5

    How to call setupcomplete.cmd


    Hi, I'm not calling setupcomplete.cmd. How can I do it automatically after the format? Everything is ready for me.
      My Computer


  6. Posts : 4,176
    Windows 11 Pro, 22H2
       #6

    That script is run automatically by Windows after installation completes but before the logon screen appears.

    See here for Microsoft documentation on this script:

    https://docs.microsoft.com/en-us/win...-windows-setup

    To use that script, follow the tutorial from Kari found here:

    Create media for automated unattended install of Windows 10

    Just before you get to the point in the tutorial where you run Sysprep, place the setupcomplete.cmd script in the %WINDIR%\Setup\Scripts\ folder.

    The next steps would be sysprep and image the system as noted in the tutorial. When you then install Windows to a system or VM using that image, the setupcomplete.cmd script will be run before the logon screen is presented after installation.

    EDIT: I thought that this sounded familiar. I responded to your question regarding this yesterday in this thread:

    (1) how to add unattended program to windows iso - Windows 10 Forums (tenforums.com)

    Did that information not help? Are you running into any specific issues that you need further help with or clarification on any of the steps?
      My Computers


  7. Posts : 63
    windows 10 pro x64
    Thread Starter
       #7

    I also don't call setupcomplete.cmd after format, unattended program is not installed.

    - - - Updated - - -

    How do I do it? It doesn't call automatic setupcomplete.cmd
      My Computer


  8. Posts : 4,176
    Windows 11 Pro, 22H2
       #8

    Okay, I guess that I don't understand what you want to do.

    You say that you are not calling setupcomplete.cmd - that's an interesting statement because that is not something that you would EVER call. Windows setup does it automatically.

    Then you ask "how do I do it?". Do what???
      My Computers


  9. Posts : 63
    windows 10 pro x64
    Thread Starter
       #9

    brother are you here @hsehestedt

    - - - Updated - - -

    but it doesn't automatically

    - - - Updated - - -

    setupcomplete.cmd does not install automatically

    - - - Updated - - -

    I don't install it automatically setupcomplete.cmd
      My Computer


  10. Posts : 4,176
    Windows 11 Pro, 22H2
       #10

    Okay, let's gather some more information because I need to be clear on what it is that you are doing so that I can figure out why t is not working.

    Please provide the following information:

    1) In DETAIL, please provide the steps that you are following.

    2) Describe what you are trying to accomplish with the setupcomplete.cmd. Better yet, if possible, could you post a copy here so that I can try to determine if there is a problem with it or if the problem might reside elsewhere?

    Again, provide as much detail as possible. Without knowing the exact steps that you are taking, I won't be able to figure out what step is causing the problem.
      My Computers


 

  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 03:00.
Find Us




Windows 10 Forums