balubeto

Extraordinary Member
Joined
Apr 27, 2012
Messages
55
Hi

To change the default profile in Windows 7 SP1 64-bit, during the its installation, I passed immediately in Audit mode by means of the Ctrl+Shift+F3 sequence.

So, I have updated Windows 7 and I have configured it.

Then, I put in the c:\windows\panther directory the Unattend.xml file:

Code:
<?xml version='1.0' encoding='utf-8'?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="generalize" wasPassProcessed="true">
        <component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[B]Link Removed due to 404 Error[/B]" xmlns:xsi="[URL]http://www.w3.org/2001/XMLSchema-instance[/URL]">
            <SkipRearm>1</SkipRearm>
        </component>
       <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
          <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
       </component>
    </settings>
    <settings pass="specialize" wasPassProcessed="true">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[B]Link Removed due to 404 Error[/B]" xmlns:xsi="[URL]http://www.w3.org/2001/XMLSchema-instance[/URL]">
            <CopyProfile>true</CopyProfile>
        </component>
    </settings>
</unattend>

and then I opened the Command Prompt and I type the sysprep /generalize /oobe /reboot command to go in OOBE (or normal) mode.

When I was in Audit mode, I removed from the taskbar the Internet Explorer 9, Windows Media Player 11 and Windows Explorer icons.

Now that I am in normal mode, each user account created has still in its taskbar the icons above. How come?

Also, if I open Internet Explorer or Windows Media Player, the configuration wizard is displayed even if I had it already executed in Audit mode. How come?

So, how do I avoid all this?

How do I automatically delete the Unattend.xml file after that Windows has executed it?

Thanks

Bye
 
To address the issues you are facing with the Taskbar icons persisting for newly created user accounts and the configuration wizard reappearing for Internet Explorer and Windows Media Player, you need to make some adjustments to your setup. Let's break down the steps to resolve these issues:

Taskbar Icons Persistence:​

  1. Taskbar Icons Removal in Audit Mode:
    • When you remove icons from the Taskbar in Audit mode, it affects the default profile. However, this may not carry over to new user accounts created after the system is generalized and rebooted.
    []CopyProfile Setting:
    • The CopyProfile setting in the Unattend.xml file under the Microsoft-Windows-Shell-Setup component should ideally copy the customized Taskbar settings to new user profiles. However, there might be issues with this configuration.

      Configuration Wizard Reappearance:​

    [
    ]Inconsistent Configuration Settings:
    • The configuration wizard for Internet Explorer and Windows Media Player might be triggered due to inconsistent settings between the Audit mode and the new user profiles.

      Automatic Deletion of Unattend.xml:​

      To automatically delete the Unattend.xml file after it has been executed during the Windows setup process, you can add a command to the Unattend.xml file itself using the setting. Here are the general steps you can take to address these issues:
    • Modify the Unattend.xml File:
      • Ensure that the CopyProfile setting is correctly configured under the Microsoft-Windows-Shell-Setup component.
      • Review the settings to ensure that customization applied during Audit mode properly transfers to new user profiles.
    • Tasks to Perform Post-Setup:
      • After the setup is complete, consider running a script or batch file to clean up any residual files like the Unattend.xml.
    • Testing and Troubleshooting:
      • Test the setup on a clean installation of Windows 7 SP1 64-bit to confirm that the Taskbar icon removal and configuration settings persist as expected.
    • Additional Considerations:
      • Double-check the component settings in the Unattend.xml file and review the generalization process to identify any potential issues causing the behavior you are experiencing. By following these steps, you should be able to ensure that the customized Taskbar settings from Audit mode are applied consistently to new user profiles and address the configuration wizard reappearing issue.