Jump to content


  • 0
balubeto

The CopyProfile and DisableFirstRunWizard statements not work

Question

Hi

 

I have written this Unattend.xml file

 

<?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="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]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="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">
	    <CopyProfile>true</CopyProfile>
    </component>
    <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">
	    <DisableFirstRunWizard>true</DisableFirstRunWizard>
    </component>
   </settings>
</unattend>

 

saving it in the%WINDIR%\Panther directory.

 

So, I wrote the sysprep /generalize /oobe /rebootcommand to switch from OOBE to Audit mode.

 

I have noticed that my custom default profile has not been saved, and that the wizard of IE still there.

 

In other words, the <CopyProfile>true</CopyProfile> and <DisableFirstRunWizard>true</DisableFirstRunWizard> instructions did not work. How come?

 

Thanks

 

Bye

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

there's a post here that explains the right way to do it, here it is

 

The problem is this:

 

If I do not put the DisableFirstRunWizard statement, Windows copies the custom profile of the Administrator account in the default profile.

 

Instead, if I put this statement, Windows does execute neither CopyProfile nor DisableFirstRunWizard statement. How come?

 

So, how do I solve this?

 

Thanks

 

Bye

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.