+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 27 of 27
Windows 7 Thread, Windows 7 Sysprep - does it ever work! in Technical; <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="specialize"> <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SkipAutoActivation>false</SkipAutoActivation> </component> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" ...
  1. #16

    Join Date
    Nov 2009
    Posts
    43
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
    <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SkipAutoActivation>false</SkipAutoActivation>
    </component>
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>
    <ShowWindowsLive>false</ShowWindowsLive>
    <TimeZone>Eastern Standard Time</TimeZone>
    <ComputerName></ComputerName>
    <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
    <ProductKey>Windows 7 Product Key</ProductKey>
    </component>
    <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <RunSynchronous>
    <RunSynchronousCommand wcm:action="add">
    <Credentials>
    <Password>password</Password>
    <Username>administrator</Username>
    </Credentials>
    <Order>1</Order>
    <Path>net user administrator /active:yes</Path>
    </RunSynchronousCommand>
    </RunSynchronous>
    </component>
    <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Identification>
    <Credentials>
    <Domain>name of domain</Domain>
    <Password>domain admin password</Password>
    <Username>domain admin username</Username>
    </Credentials>
    <JoinDomain>name of domain</JoinDomain>
    </Identification>
    </component>
    </settings>
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <InputLocale>EN-US</InputLocale>
    <SystemLocale>EN-US</SystemLocale>
    <UILanguage>EN-US</UILanguage>
    <UserLocale>EN-US</UserLocale>
    </component>
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <RegisteredOrganization>UUFSD</RegisteredOrganization>
    <RegisteredOwner>UUFSD</RegisteredOwner>
    <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
    <OOBE>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>1</ProtectYourPC>
    <SkipUserOOBE>true</SkipUserOOBE>
    <HideEULAPage>true</HideEULAPage>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    </OOBE>
    </component>
    </settings>
    <settings pass="generalize">
    <component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" 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>
    </settings>
    <cpifflineImage cpi:source="catalog:c:/users/administrator/desktop/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    That's my XML file. It runs through the sysprep process completely, no errors or bangs and reboots. I'm back where I started from. I'm using sysprep with oobe and generalize set.
    Last edited by dhorowitz; 31st May 2011 at 07:39 PM.

  2. #17

    Join Date
    Jan 2009
    Location
    Essex / Macclesfield
    Posts
    272
    Thank Post
    28
    Thanked 8 Times in 6 Posts
    Rep Power
    13
    so when you say your back where you started, it goes though the OOBE again ? I.E loops?

    P.S you may want to remove your product key from your XML file!!!

  3. #18

    Join Date
    Nov 2009
    Posts
    43
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    OOPS! When it runs, the only thing it seems to do is generate a new computer name. The computer comes back to me in a usable state, however needing to re-name and manually join about 4000 PCs district wide is not going to be fun. Looking at the setup logs, I'm getting error 1355 on my attempt to join the domain which points to DNS/WINS...I can ping my DC and I can also browse the net from this machine.
    Last edited by dhorowitz; 31st May 2011 at 08:17 PM.

  4. #19

    Join Date
    Jan 2009
    Location
    Essex / Macclesfield
    Posts
    272
    Thank Post
    28
    Thanked 8 Times in 6 Posts
    Rep Power
    13
    The scripts for unattended install is not something I have had much experience with, I tend to name and the machines, and use a script to join them to the domain after the image has been installed.
    I am guessing if you remove the XML file from your WDS the machine will image fine? and then ask you to name it and select all the options manually?

  5. #20

    Join Date
    Nov 2009
    Posts
    43
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    If I remove the xml file, it runs through the sysprep no prompts for names or anything. It generates another random name. This is very frustrating.

  6. #21

    Join Date
    Jan 2009
    Location
    Essex / Macclesfield
    Posts
    272
    Thank Post
    28
    Thanked 8 Times in 6 Posts
    Rep Power
    13
    ahh yes. that random name you mention will be based on the username you use to connect to WDS - You need to tweak your WDS settings from the server.

    Under the properties of your WDS server there is a tab called AD DS in there you can see the format of the name it will auto generate, if you dont have a config file.

    The settings I have are -

    Computer Account Location - Same as the WDS Server

    Also under the Client tab, there is a check box, Do not join the client to the domain after install, your choice on this one, but I have it ticked as I use another script to do this. Also if I remember right if you leave this checked you will then be asked for a machine name after you image the machine.

    But the reason your getting a funny name is from the AD DS tab. Hope that helps.

  7. #22

    Join Date
    Nov 2009
    Posts
    43
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I understand your input about WDS, however we don't have any WDS servers configured. Is that something that is required to do this with Windows 7?

  8. #23

    Join Date
    Jan 2009
    Location
    Essex / Macclesfield
    Posts
    272
    Thank Post
    28
    Thanked 8 Times in 6 Posts
    Rep Power
    13
    Hi No, sorry my assumption. WDS is away of deploying your images after you capture them. WDS = Microsoft's version of Norton Ghost.

  9. #24

    Join Date
    Mar 2011
    Location
    Taunton
    Posts
    31
    Thank Post
    3
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hi,

    This post won't solve the big issue - but if you want it to prompt for a computer name you have to remove the <ComputerName></ComputerName>

    I also encountered errors revolving around using Win7 Sysprep to name and join a computer to a domain. In the end I removed the area that joins it to the domain, just made it prompt for a name and then set it to Autologin, on first logon it automatically joins the domain (as well as activating office and Windows) before rebooting and leaving the computer in a usable state.

  10. #25
    Jamo's Avatar
    Join Date
    Jan 2009
    Posts
    1,349
    Thank Post
    66
    Thanked 175 Times in 147 Posts
    Rep Power
    60
    Is there any reason why you aren't using MDT2010? It links in with WDS (for PXE boot) sorts out driver injection and computer naming as well and its free!

    Not had a problem with the sysprep for W7 with it, whereas I couldn't get a good working image (to use on our ancient ghost server) because of the way W7 installs with the help of the unattend file.

  11. #26
    ricki's Avatar
    Join Date
    Jul 2005
    Location
    uk
    Posts
    1,475
    Thank Post
    20
    Thanked 164 Times in 157 Posts
    Rep Power
    52
    Hi

    I have had problems with sysprep if you have a restore partition on the machine. We got some dell machines and sysprep either killed the machine or it appeared to work but when joined to the domain did not install gpo programs.

    We have to wipe the machine completely getting rid of all partitions and install from install dvd and it worked.

    Dont forget to fully patch it there is a microsoft kb download that will allow early versions of sysprep to work its an update but if you have SP1 installed its already on.

    Richard

  12. #27
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,121
    Thank Post
    537
    Thanked 150 Times in 136 Posts
    Blog Entries
    78
    Rep Power
    79
    Have to do a plus one here for MDT as a minimum, as it handles this for you. I will post up my unattened.xml which does all the setup stuff. MDT handles (well SCCM for me) handles the drive wiping etc as part of the sequencing. PM if you need any help... or take a look at windowsnoob.com

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Windows 7 sysprep - argh!
    By GoldenWonder in forum Windows 7
    Replies: 27
    Last Post: 11th April 2011, 06:59 PM
  2. Windows Media player - why will it work at home but not at work?
    By speckytecky in forum Internet Related/Filtering/Firewall
    Replies: 5
    Last Post: 12th October 2010, 03:35 PM
  3. Sysprep Windows 7 pro
    By HCC in forum Windows 7
    Replies: 13
    Last Post: 5th August 2010, 07:32 AM
  4. Sysprep Windows 7, for Deployment
    By neilmc in forum O/S Deployment
    Replies: 2
    Last Post: 28th May 2010, 09:53 AM
  5. Replies: 3
    Last Post: 20th August 2009, 08:24 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •