Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Cannot disable Windows Features with AutoUnattend.xml

10 Sep 2015   #1
Mvp77

Windows 7 HomePremium 64-bit
 
 
Cannot disable Windows Features with AutoUnattend.xml

I created an answer file in Windows SIM.
When I install system disabled features are still there.

Code:
<?xml version="1.0" encoding="utf-8"?>
<!--Windows 7 HOMEPREMIUM Audit Mode-->
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <servicing>
        <package action="configure">
            <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7601.17514" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />
            <selection name="InboxGames" state="false" />
            <selection name="MediaPlayback" state="false" />
            <selection name="MSRDC-Infrastructure" state="false" />
            <selection name="Printing-XPSServices-Features" state="false" />
            <selection name="SimpleTCP" state="true" />
            <selection name="TabletPCOC" state="false" />
            <selection name="TelnetClient" state="true" />
            <selection name="WindowsGadgetPlatform" state="false" />
            <selection name="Xps-Foundation-Xps-Viewer" state="false" />
.....
Did anyone try to change <package action> value?
I don't know... setting remove or stage instead of configure...??


My System SpecsSystem Spec
.
12 Sep 2015   #2
Mvp77

Windows 7 HomePremium 64-bit
 
 

Well, great Forum!
Three threads in a month, zero answers.
My System SpecsSystem Spec
12 Sep 2015   #3
Mvp77

Windows 7 HomePremium 64-bit
 
 

Finally found an answer here: https://technet.microsoft.com/en-us/library/hh825129.aspx.
Only way to disable features is to apply unattend.xml to wim.
Did anyone try to configure hidden packages in unattended file?
My System SpecsSystem Spec
.

10 May 2016   #4
adds

Windows 7 64bit Home Prem
 
 

Hi Mvp,

Just wanted to say thanks for updating the thread with the solution. I also made a unattend file with packages to exclude some features and the articles on Microsoft's website are terrible for people who havent actually done this type of stuff before, and dont explain the whole process fully in one place in my opinion so i had no idea where this file is meant to be loaded or stored.

Just for clarification, is this meant to be loaded using the sysprep tool? As again, this isn't made clear on the MS article.

Thanks
Adam
My System SpecsSystem Spec
Reply

 Cannot disable Windows Features with AutoUnattend.xml




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Programs and Features - Enable or Disable
How to Enable or Disable "Programs and Features" in Windows 7 This will show you how to enable or disable all or specific users from being able to access Programs and Features in the Control Panel to view, uninstall, change, or repair programs that are currently installed in Windows 7. You...
Tutorials
Windows Features: disable .NET Framework 3.5
Howdy Folks! I have just recently installed the "stand alone" version of Microsoft .NET Framework 4.5 and I have a simple question regarding that. Can I safely turn off the .NET Framework 3.5 in "Turn on/off Windows features?" To navigate to the Windows Features" service simply go here: Start >...
Performance & Maintenance
Windows Virtual PC Integration Features - Install, Enable, and Disable
How to Install, Enable, and Disable Windows Virtual PC Integration Features The Integration Components package contains integration features, which improve the interactions between the virtual machine (guest) and the physical computer (host). This will show you how to install, enable, and...
Tutorials
May I safely disable "Media Features" from "Windows Features" menu?
I am currently perusing the "Turn Windows features on or off" menu and I see I can disable Media Features. This will disable Windows Media Center, Windows DVD Maker and Windows Media Player. When I attempt to disable these features I receive a warning from Windows that "turning off media features...
Media Center
where s the option to disable desktop features?
where s that option to set the themes and option to set the desktop features or let windows decide?
General Discussion
Windows Features - Enable or Disable
How to Enable or Disable "Windows Features" in Windows 7 and Windows 8 This tutorial will allow you to enable or disable all or specific users from being able to access Windows Features in Windows 7 and Windows 8. You must be logged in as an administrator to be able to do the steps in...
Tutorials


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:50.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App