[REPO/HOW-TO/CHAT] Audit/Sysprep/Generalize; Setupcomplete/Firstlogon; Silent Install

Discussion in 'Scripting' started by s1ave77, Feb 11, 2017.

  1. #161 Deleted member 1385001, Jul 12, 2021
    Last edited by a moderator: Jul 12, 2021
    yes . Using Fully AutoUnattended Installation . Pl Search POWIS on MDL.

    Edit :
    Here
     
  2. maargueb

    maargueb MDL Member

    Jun 9, 2019
    153
    13
    10
    #162 maargueb, Jul 13, 2021
    Last edited: Jul 13, 2021
  3. #163 Deleted member 1385001, Jul 13, 2021
    Last edited by a moderator: Jul 16, 2021
  4. maargueb

    maargueb MDL Member

    Jun 9, 2019
    153
    13
    10
  5. #165 Deleted member 1385001, Jul 14, 2021
    Last edited by a moderator: Jul 14, 2021
    If you dont have genuine M$ win key then you can use the same for PRO SKU or select the key according to your desired SKU from here : https://www.windowsafg.com/keys.html
    or
    If you have your own windows 10 key then replace that with it after you generate xml file & download it to your system but pl dont paste key online anywhere even this domain too.

    //

    To Generate Power Plan Script Pl Visit :
    https://www.windowsafg.com/power10.html

    //

    To Generate Tweaked Services Script Pl Visit :
    https://www.windowsafg.com/win10services.html
     
  6. maargueb

    maargueb MDL Member

    Jun 9, 2019
    153
    13
    10
    I made a file "autounattend.xml"
    https://www.windowsafg.com/win10x86_x64_uefi.html
    After trying it with VM ,not installed,

    Is there anyone who can explain the steps of work?
    I found this file in the internet This file is running on VM
    like this example: :confused:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <NetworkLocation>Home</NetworkLocation>
    <ProtectYourPC>3</ProtectYourPC>
    </OOBE>
    </component>
    </settings>
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DynamicUpdate>
    <Enable>true</Enable>
    <WillShowUI>OnError</WillShowUI>
    </DynamicUpdate>
    <ImageInstall>
    <OSImage>
    <Compact>true</Compact>
    <WillShowUI>OnError</WillShowUI>
    <InstallFrom>
    <MetaData wcm:action="add">
    <Key>/IMAGE/INDEX</Key>
    <Value>1</Value>
    </MetaData>
    </InstallFrom>
    </OSImage>
    </ImageInstall>
    <UserData>
    <ProductKey>
    <Key></Key>
    </ProductKey>
    </UserData>
    </component>
    </settings>
    </unattend>
     
  7. #167 Deleted member 1385001, Jul 16, 2021
    Last edited by a moderator: Jul 16, 2021
    Which BIOS ie Legacy or UEFI you are Trying to Install your OS Plus Which Disk Layout ie MBR or GPT
    Tell Me Actually what you want to do with Autounattend xml or with another scenario ie setupcomplete via autounattend inatallation of your Guest OS .

    Edit : Be Quick Pl as i have to go somewhere within 15 minutes.
     
  8. maargueb

    maargueb MDL Member

    Jun 9, 2019
    153
    13
    10
    #168 maargueb, Jul 16, 2021
    Last edited: Jul 16, 2021
    UEFI and MBR
    Thank you for your help, I will use the program
    windows ADK installer
     
  9. What is the role of ADK here if system image management for Autounattend xml generation then its ok otherwise of no use.
     
  10. maargueb

    maargueb MDL Member

    Jun 9, 2019
    153
    13
    10
    I don't know, I just want to add a file Autounattend xml with a file containing setupcomplete
     
  11. #171 Deleted member 1385001, Jul 16, 2021
    Last edited by a moderator: Jul 16, 2021
    Already told you two times :
    Code:
               <FirstLogonCommands>
                   <SynchronousCommand wcm:action="add">
                       <Order>?</Order>
                       <CommandLine>cmd /c C:\Windows\Setup\Scripts\SetupComplete.cmd</CommandLine>
                       <Description>SteupComplete Via Autounattended Installation</Description>
                   </SynchronousCommand>
               </FirstLogonCommands>
    
    Just change ? to next numerical on your synchronous commands order in autounattend xml file & paste this code at end of first logon commands tag already there in your autounattend xml file.
    dont include <FirstLogonCommands> & </FirstLogonCommands> they are already there in your xml.
    you havent even understood this very easy code.
     
  12. maargueb

    maargueb MDL Member

    Jun 9, 2019
    153
    13
    10
    One last question, sorry for my many stupid questions.
    I need to apply this with pictures
     
  13. Pl dont feel sorry . Questioning always make us learn more n more . its good to question when we cant understand anything.
    Pl Explain ? Pictures? i cant understand this.
     
  14. maargueb

    maargueb MDL Member

    Jun 9, 2019
    153
    13
    10
    I am weak in English, I need to explain with pictures or video:rolleyes:
     
  15. As You Wish Brother . Its your decision always how to explain to whom . be sure dont include anything which is your personal data in any media file you will share to clear me as we cant trust anybody else & this thread is visible to guests too without any account on MDL.
    i hope you will understand my suggestion.
     
  16. maargueb

    maargueb MDL Member

    Jun 9, 2019
    153
    13
    10
    Make you for me an explanation with a video
    This is the last solution.
    Promise me, I'll never bother you again
     
  17. I cant understand again .Pl type in your languae . i am good in reading almost any language.
     
  18. maargueb

    maargueb MDL Member

    Jun 9, 2019
    153
    13
    10
    Est ce que possible vous faire une explication par vidéo pour créer "autounattend Xml" avec "setupcomplete"
     
  19. //

    Is it possible to give you an explanation by video to create "autounattend Xml" with "setupcomplete"

    Must be :

    Is it possible for you to explan by creating a video on how to create "autounattend Xml" with "setupcomplete"

    Pl improve your vocab.

    Answer to your Question :
    Sorry i cant create any media file regarding anything.
     
  20. maargueb

    maargueb MDL Member

    Jun 9, 2019
    153
    13
    10
    Demande
    est ce que vous pouvez repeter l'explication en français :)
    quelles langues parlez-vous?