Announcement

Collapse
No announcement yet.

The CopyProfile and DisableFirstRunWizard statements not work

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • The CopyProfile and DisableFirstRunWizard statements not work

    Hi

    I have written thisUnattend.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="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <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="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <CopyProfile>true</CopyProfile>
            </component>
            <component name="Microsoft-Windows-IE-InternetExplorer" 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">
                <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
    balubeto

  • #2
    Re: The CopyProfile and DisableFirstRunWizard statements not work

    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
    Last edited by balubeto; 7th October 2012, 11:05.
    balubeto

    Comment


    • #3
      Re: The CopyProfile and DisableFirstRunWizard statements not work

      Please stop bouncing your posts -- I'm sure someone will have an idea to help you, but it is the weekend for most of the world.

      And can you please get some proper training in WDS as you seem to hit a new problem every week. By the time you have got them all sorted out and are ready to deploy, Windows 9 will be reaching end of life
      Tom Jones
      MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
      PhD, MSc, FIAP, MIITT
      IT Trainer / Consultant
      Ossian Ltd
      Scotland

      ** Remember to give credit where credit is due and leave reputation points where appropriate **

      Comment


      • #4
        Re: The CopyProfile and DisableFirstRunWizard statements not work

        How did you write the XML file??

        Comment


        • #5
          Re: The CopyProfile and DisableFirstRunWizard statements not work

          Originally posted by Ossian View Post
          Please stop bouncing your posts -- I'm sure someone will have an idea to help you, but it is the weekend for most of the world.

          And can you please get some proper training in WDS as you seem to hit a new problem every week. By the time you have got them all sorted out and are ready to deploy, Windows 9 will be reaching end of life
          So, I hope that, in the next days, someone is able to solve my problem.

          Thanks

          Bye
          balubeto

          Comment


          • #6
            Re: The CopyProfile and DisableFirstRunWizard statements not work

            Please start reviewing this

            http://technet.microsoft.com/en-us/l...(v=ws.10).aspx

            It would seem that you are struggling with the deployment of Windows 7. I have personally used both of the statements in my deployment and both work exactly as expected, my admin profile gets copied and IE first run is disabled.

            Also the MS documentation on the copy profile is incorrect and should be used when deploying an image rather than creating the image. This i found out the hard way.

            http://blogs.technet.com/b/askcore/a...pyprofile.aspx

            It would also appear that you are creating you own XML files rather than using the WAIK that MS provide for free which can be used to edit your XML files.

            Comment


            • #7
              Re: The CopyProfile and DisableFirstRunWizard statements not work

              Originally posted by wullieb1 View Post
              How did you write the XML file??
              Yes, because I do not have a computer with MDT or WAIK.

              Thanks

              Bye
              balubeto

              Comment


              • #8
                Re: The CopyProfile and DisableFirstRunWizard statements not work

                Originally posted by balubeto View Post
                Yes, because I do not have a computer with MDT or WAIK.
                FFS!
                Ask your network administrator to download it for you
                Tom Jones
                MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
                PhD, MSc, FIAP, MIITT
                IT Trainer / Consultant
                Ossian Ltd
                Scotland

                ** Remember to give credit where credit is due and leave reputation points where appropriate **

                Comment


                • #9
                  Re: The CopyProfile and DisableFirstRunWizard statements not work

                  Originally posted by wullieb1 View Post
                  Please start reviewing this

                  http://technet.microsoft.com/en-us/l...(v=ws.10).aspx

                  It would seem that you are struggling with the deployment of Windows 7. I have personally used both of the statements in my deployment and both work exactly as expected, my admin profile gets copied and IE first run is disabled.

                  Also the MS documentation on the copy profile is incorrect and should be used when deploying an image rather than creating the image. This i found out the hard way.

                  http://blogs.technet.com/b/askcore/a...pyprofile.aspx

                  It would also appear that you are creating you own XML files rather than using the WAIK that MS provide for free which can be used to edit your XML files.
                  Could you show me your unattend.xml file so that I can understand where am I wrong?

                  Thanks

                  Bye
                  Last edited by balubeto; 7th October 2012, 18:02.
                  balubeto

                  Comment


                  • #10
                    Re: The CopyProfile and DisableFirstRunWizard statements not work

                    Originally posted by balubeto View Post
                    Could you show me your unattend.xml file so that I can understand where am I wrong?

                    Thanks

                    Bye
                    No i can't. Its company sensitive information and as such i can't show it.

                    Not to be funny but you really are creating more work for yourself by not installing the WAIK. I would personally say that this tool is one of the most important tools for Windows 7 deployment.

                    Comment

                    Working...
                    X