Win 10 Dism/AutoUnattended.xml

Discussion in 'Windows 10' started by spidernz, Jul 6, 2015.

  1. spidernz

    spidernz MDL Senior Member

    May 20, 2011
    389
    112
    10
    Is there a comprehensive Dism/AutoUnattended.xml for Windows 10 yet.

    I know alot of the Win8.1 stuff still works, but i' mostly after AutoUnattended.xml settings, so i can enable disable all those oobe settings and setup a nice clean Unattended Disc.

    I've tried modifying my old windows 8.1 one but quite a few things dont work correctly.
     
  2. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    There's a Windows SIM for preview in the preview ADK.
    You can generate unattended settings through that.
    Don't ask me exactly how to do it, cuz I don't know.
     
  3. AnimaliX

    AnimaliX MDL Novice

    Jul 28, 2009
    45
    23
    0
    #3 AnimaliX, Jul 6, 2015
    Last edited: Jul 6, 2015
    Windows ADK RC for Windows 10
    msdn.microsoft.com/en-us/windows/hardware/dn913721.aspx

    and i find that
    "<ProtectYourPC>3</ProtectYourPC>" dont disable Windows Update anymore ...
    "<DisableAntiSpyware>true</DisableAntiSpyware>" for disabling Windows Defender works only in VirtualBox correctly (need more testing) :)
     
  4. ZaForD

    ZaForD MDL Expert

    Jan 26, 2008
    1,212
    200
    60
    I spent a good couple of weeks going through/learning that thing when it first came out with Vista.
    And I still have no idea of which sections particular settings should be set in or at. o_O
     
  5. Polo69

    Polo69 MDL Novice

    Aug 30, 2013
    28
    2
    0
    Murphy.. would you recommend putting a ninite post install script in a custom win10 iso ? Is that even possible?:eek:
     
  6. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    I prefer to leave custom stuff out of my Operating Systems, but what you do with your own is your business.
    IMO, there's a lot that can go wrong and not a whole lot that can go right.
     
  7. spidernz

    spidernz MDL Senior Member

    May 20, 2011
    389
    112
    10
    #7 spidernz, Jul 10, 2015
    Last edited by a moderator: Apr 20, 2017
    (OP)
  8. spidernz

    spidernz MDL Senior Member

    May 20, 2011
    389
    112
    10
    #8 spidernz, Jul 10, 2015
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Also anyone else having issues with the 'remove feature' not working for some parts?

    i have the Following in my script:

    Code:
    Echo --------------------------------------------------------------------------------
    Echo "Disabling And Removing Excess Features"
    Echo --------------------------------------------------------------------------------
    "%DISMX64%\Dism.exe"/Image:%MOUNT% /Disable-Feature /FeatureName:Microsoft-Hyper-V-Hypervisor /FeatureName:Microsoft-Hyper-V-Services /FeatureName:Microsoft-Hyper-V /FeatureName:Microsoft-Hyper-V-Tools-All /FeatureName:Microsoft-Hyper-V-All /FeatureName:Microsoft-Hyper-V-Management-Clients /FeatureName:Microsoft-Hyper-V-Management-PowerShell /FeatureName:Printing-Foundation-LPRPortMonitor /FeatureName:Printing-Foundation-LPDPrintService /FeatureName:Printing-Foundation-InternetPrinting-Client /FeatureName:ScanManagementConsole /FeatureName:SimpleTCP /FeatureName:SNMP /FeatureName:WMISnmpProvider /FeatureName:Windows-Identity-Foundation /FeatureName:MicrosoftWindowsPowerShellV2Root /FeatureName:MicrosoftWindowsPowerShellV2 /FeatureName:DirectoryServices-ADAM-Client /FeatureName:Internet-Explorer-Optional-amd64 /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServer /FeatureName:IIS-CommonHttpFeatures /FeatureName:IIS-HttpErrors /FeatureName:IIS-HttpRedirect /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-NetFxExtensibility /FeatureName:IIS-NetFxExtensibility45 /FeatureName:IIS-HealthAndDiagnostics /FeatureName:IIS-HttpLogging /FeatureName:IIS-LoggingLibraries /FeatureName:IIS-RequestMonitor /FeatureName:IIS-HttpTracing /FeatureName:IIS-Security /FeatureName:IIS-URLAuthorization /FeatureName:IIS-RequestFiltering /FeatureName:IIS-IPSecurity /FeatureName:IIS-Performance /FeatureName:IIS-HttpCompressionDynamic /FeatureName:IIS-WebServerManagementTools /FeatureName:IIS-ManagementScriptingTools /FeatureName:IIS-IIS6ManagementCompatibility /FeatureName:IIS-Metabase /FeatureName:WAS-WindowsActivationService /FeatureName:WAS-ProcessModel /FeatureName:WAS-NetFxEnvironment /FeatureName:WAS-ConfigurationAPI /FeatureName:IIS-HostableWebCore /FeatureName:IIS-CertProvider /FeatureName:IIS-WindowsAuthentication /FeatureName:IIS-DigestAuthentication /FeatureName:IIS-ClientCertificateMappingAuthentication /FeatureName:IIS-IISCertificateMappingAuthentication /FeatureName:IIS-ODBCLogging /FeatureName:IIS-StaticContent /FeatureName:IIS-DefaultDocument /FeatureName:IIS-DirectoryBrowsing /FeatureName:IIS-WebDAV /FeatureName:IIS-WebSockets /FeatureName:IIS-ApplicationInit /FeatureName:IIS-ASPNET /FeatureName:IIS-ASPNET45 /FeatureName:IIS-ASP /FeatureName:IIS-CGI /FeatureName:IIS-ISAPIExtensions /FeatureName:IIS-ISAPIFilter /FeatureName:IIS-ServerSideIncludes /FeatureName:IIS-CustomLogging /FeatureName:IIS-BasicAuthentication /FeatureName:IIS-HttpCompressionStatic /FeatureName:IIS-ManagementConsole /FeatureName:IIS-ManagementService /FeatureName:IIS-WMICompatibility /FeatureName:IIS-LegacyScripts /FeatureName:IIS-LegacySnapIn /FeatureName:IIS-FTPServer /FeatureName:IIS-FTPSvc /FeatureName:IIS-FTPExtensibility /FeatureName:MSMQ-Container /FeatureName:MSMQ-Server /FeatureName:MSMQ-Triggers /FeatureName:MSMQ-ADIntegration /FeatureName:MSMQ-HTTP /FeatureName:MSMQ-Multicast /FeatureName:MSMQ-DCOMProxy /FeatureName:WCF-Services45 /FeatureName:WCF-HTTP-Activation45 /FeatureName:WCF-TCP-Activation45 /FeatureName:WCF-Pipe-Activation45 /FeatureName:WCF-MSMQ-Activation45 /FeatureName:WCF-TCP-PortSharing45 /FeatureName:WCF-HTTP-Activation /FeatureName:WCF-NonHTTP-Activation /FeatureName:NetFx4-AdvSrvs /FeatureName:NetFx4Extended-ASPNET45 /FeatureName:RasCMAK /FeatureName:RasRip /FeatureName:TelnetClient /FeatureName:TFTP /FeatureName:TIFFIFilter /FeatureName:MSRDC-Infrastructure /FeatureName:Printing-XPSServices-Features /FeatureName:SMB1Protocol /FeatureName:WorkFolders-Client /FeatureName:SearchEngine-Client-Package /FeatureName:LegacyComponents /FeatureName:WindowsMediaPlayer /Remove >>"%BUILD%\Logs\RemoveFeatures.txt"
    
    

    but the following are still enabled despite being listed above:

    Code:
         
    MicrosoftWindowsPowerShellV2Root            | Enabled       
    MicrosoftWindowsPowerShellV2                | Enabled       
    Internet-Explorer-Optional-amd64            | Enabled       
         
    WCF-Services45                              | Enabled       
         
    WCF-TCP-PortSharing45                       | Enabled       
    
    NetFx4-AdvSrvs                              | Enabled       
       
    MediaPlayback                               | Enabled       
    WindowsMediaPlayer                          | Enabled       
         
    Printing-XPSServices-Features               | Enabled       
      
    MSRDC-Infrastructure                        | Enabled       
    
    WorkFolders-Client                          | Enabled       
    SMB1Protocol                                | Enabled       
    SearchEngine-Client-Package                 | Enabled   
    Printing-Foundation-InternetPrinting-Client | Enabled       
    FaxServicesClientPackage                    | Enabled       
    
     
  9. spidernz

    spidernz MDL Senior Member

    May 20, 2011
    389
    112
    10
    #9 spidernz, Jul 16, 2015
    Last edited: Jul 17, 2015
    (OP)
    hmm with regards to the previous post seems the same issue with build 240 (using dism build 240 as well).

    Anyone know if these packages are required, on a normal home system?

    Microsoft-Windows-Prerelease-Client-Package~31bf3856ad364e35~amd64~en-US~10.0.10240.16384
    Microsoft-Windows-Prerelease-Client-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
     
  10. TeamOS

    TeamOS MDL Guru

    May 27, 2013
    3,036
    1,739
    120
    did you try use winreducer tool?
     
  11. TwinA

    TwinA MDL Novice

    Jan 30, 2012
    20
    5
    0
    #11 TwinA, Jul 19, 2015
    Last edited: Jul 19, 2015
    Hello,

    Yes, but I have to buy winreducer, right? Or where can I get it free if possible?

    Thank you all for any advice!

    Kind Regards
    TwinA
     
  12. TeamOS

    TeamOS MDL Guru

    May 27, 2013
    3,036
    1,739
    120
    why you need buy it i trough it was free pfff :/
     
  13. spidernz

    spidernz MDL Senior Member

    May 20, 2011
    389
    112
    10
    #14 spidernz, Jul 20, 2015
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Anyone having the same issue as below???


     
  14. TwinA

    TwinA MDL Novice

    Jan 30, 2012
    20
    5
    0
    That's fine, but how do you get the batch file to execute on first login after Windows install? How do you define that in the image when you customize it..?
     
  15. TwinA

    TwinA MDL Novice

    Jan 30, 2012
    20
    5
    0
    Sorry spidernz, I have no idea why.. Does it work if you run the commands manually and not via the install procedure?
     
  16. rydeordie99

    rydeordie99 MDL Novice

    Dec 30, 2007
    19
    3
    0
    Is anybody having issues removing payload with using DISM on features? Usually if you add "/Remove" to the end of the /Disable-feature cmd in dism command line, the feature is completely removed, but now it just says disabled with 10240.
     
  17. TwinA

    TwinA MDL Novice

    Jan 30, 2012
    20
    5
    0
    That's the problem spidernz is having. Possibly we have to wait some time for things to get sorted out :)
     
  18. TwinA

    TwinA MDL Novice

    Jan 30, 2012
    20
    5
    0
    Zardoc, I know that tool, but is it working fine for Windows 10? What have you successfully accomplished with it on a Windows 10 image?

    Kind Regards
    TwinA