+ Post New Thread
Results 1 to 10 of 10
O/S Deployment Thread, Windows 7 Sysprep File in Technical; I am currently working on the deployment plan for my company. I have ran in to a snag with the ...
  1. #1

    Join Date
    Feb 2010
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Windows 7 Sysprep File

    I am currently working on the deployment plan for my company. I have ran in to a snag with the Windows 7 sysprep file. I would like for it to stop and all me to me to give the machine a name but not allow the creation of a local user account. Since all machines will be part of our domain they will use that account instead. I am able to set the machine name and create a local user name but have not found a solution to just create the machine name.

    Has anyone found a way to do this?

  2. #2

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180
    Did you use MDT 2010 to create the unattended setup files? There is quite fine grained control in there.

  3. #3
    jsnetman's Avatar
    Join Date
    Oct 2007
    Posts
    887
    Thank Post
    23
    Thanked 134 Times in 126 Posts
    Rep Power
    39
    You can also use a utility called MySysprep which is a rewrite of MS Sysprep.

    http://tsaysoft.com/mysysprep2/

  4. #4

    Join Date
    Feb 2010
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Yes I used the MDT. I will check out the other tool listed.

    Like I said I can get it to put in a generic name or stop let me set the name. If it is set to let me create a name I have to also create a local ID.

  5. #5

    Join Date
    Apr 2006
    Location
    Bamber Bridge
    Posts
    192
    Thank Post
    3
    Thanked 10 Times in 10 Posts
    Rep Power
    18
    I've just finished tweaking my unattend.xml for win 7. I use WDS to deploy and have it set to unattended install. All my machines are pre-staged in AD so it pulls the name from there. It stops to ask me for a product key and thats it. If this is any use let me know and i'll post it here.

  6. #6

    Join Date
    Jun 2009
    Location
    Birmingham
    Posts
    600
    Thank Post
    92
    Thanked 72 Times in 64 Posts
    Rep Power
    24
    Quote Originally Posted by Ste_Harve View Post
    If this is any use let me know and i'll post it here.
    I don't know about the original poster but I'd love a look at that.

    Rich

  7. #7

    Join Date
    Apr 2006
    Location
    Bamber Bridge
    Posts
    192
    Thank Post
    3
    Thanked 10 Times in 10 Posts
    Rep Power
    18
    Well here's my xml file. Will probably get a few more tweaks done as i learn more!!

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="generalize">
    <component name="Microsoft-Windows-PnpSysprep" 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">
    <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
    <DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices>
    </component>
    <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>
    <settings pass="specialize">
    <component name="Microsoft-Windows-IE-InternetExplorer" 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">
    <DisableFirstRunWizard>true</DisableFirstRunWizard>
    <SuggestedSitesEnabled>false</SuggestedSitesEnabled>
    </component>
    <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>0809:00000809</InputLocale>
    <SystemLocale>en-gb</SystemLocale>
    <UILanguage>en-gb</UILanguage>
    <UILanguageFallback>en-gb</UILanguageFallback>
    <UserLocale>en-gb</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">
    <ComputerName>%MACHINENAME%</ComputerName>
    <CopyProfile>true</CopyProfile>
    <RegisteredOrganization>Walton-le-Dale Arts College</RegisteredOrganization>
    <RegisteredOwner>Walton-le-Dale Arts College</RegisteredOwner>
    <ShowWindowsLive>false</ShowWindowsLive>
    <TimeZone>GMT Standard Time</TimeZone>
    <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
    </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>WALTONLEDALE.ARTS</Domain>
    <Password>PASSWORD</Password>
    <Username>administrator</Username>
    </Credentials>
    <JoinDomain>WALTONLEDALE.ARTS</JoinDomain>
    </Identification>
    </component>
    <component name="Microsoft-Windows-DNS-Client" 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">
    <DNSDomain>WALTONLEDALE.ARTS</DNSDomain>
    <UseDomainNameDevolution>true</UseDomainNameDevolution>
    </component>
    <component name="Microsoft-Windows-SystemRestore-Main" 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">
    <DisableSR>1</DisableSR>
    </component>
    <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" 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">
    <fDenyTSConnections>false</fDenyTSConnections>
    </component>
    </settings>
    <settings pass="oobeSystem">
    <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">
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>1</ProtectYourPC>
    </OOBE>
    <WindowsFeatures>
    <ShowMediaCenter>false</ShowMediaCenter>
    </WindowsFeatures>
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>dwA0ACEAdAAwAG4AUABhAHMAcwB3AG8AcgBkAA==</Value>
    <PlainText>false</PlainText>
    </Password>
    <Description>Local Admin</Description>
    <DisplayName>Admin</DisplayName>
    <Group>Administrators</Group>
    <Name>Admin</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    </component>
    </settings>
    <settings pass="auditSystem">
    <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">
    <UserAccounts>
    <AdministratorPassword>
    <Value>dwA0ACEAdAAwAG4AQQBkAG0AaQBuAGkAcwB0AHIAYQB 0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
    <PlainText>false</PlainText>
    </AdministratorPassword>
    </UserAccounts>
    <Display>
    <ColorDepth>32</ColorDepth>
    <DPI>120</DPI>
    <HorizontalResolution>1280</HorizontalResolution>
    <RefreshRate>60</RefreshRate>
    <VerticalResolution>800</VerticalResolution>
    </Display>
    </component>
    </settings>
    <cpifflineImage cpi:source="wim://services/e$/win7prox86/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    Ste

  8. #8
    Fatmas's Avatar
    Join Date
    Jul 2009
    Location
    UK
    Posts
    770
    Thank Post
    119
    Thanked 124 Times in 74 Posts
    Blog Entries
    2
    Rep Power
    106
    I used a mixture of this guide (upto step #12):

    Sysprep a Windows 7 Machine ? Start to Finish V2 - Blog.BrianLeeJackson.com


    And this guide:

    Windows 7 Sysprep – Tips & tricks TXT (dot) bitprocessor (dot) be


    It's basically a VBS script which runs after the machine has been sysprepped. On the first run a window pops up and prompts for a computer name BEFORE it joins the domain.

    That second link was very useful as it had a sysprep.xml file that could be changed.

    Hope this helps, we have just started getting some success with deploying Windows 7 using this and Ghost

  9. #9

    Join Date
    Feb 2010
    Location
    England
    Posts
    16
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by Fatmas View Post
    I used a mixture of this guide (upto step #12):

    Sysprep a Windows 7 Machine ? Start to Finish V2 - Blog.BrianLeeJackson.com


    And this guide:

    Windows 7 Sysprep Tips & tricks TXT (dot) bitprocessor (dot) be


    It's basically a VBS script which runs after the machine has been sysprepped. On the first run a window pops up and prompts for a computer name BEFORE it joins the domain.

    That second link was very useful as it had a sysprep.xml file that could be changed.

    Hope this helps, we have just started getting some success with deploying Windows 7 using this and Ghost
    Hi

    Have none of you had difficulty with the copyprofile function as this is the only thing outstanding for me in Windows 7 preparation that is causing real hassle.?

    Sysprep always fails when this is included. I have read many and various forums on this and it would appear to be not an uncommon problem but as nobody here mentioned this I would be pleased to know more if possible.

    Basically, we are looking for a way of configuring a "default user" profile to use probably ultimately as a mandatory .v2 roaming from the server but cannot reliably create one locally for this purpose. This was a doddle for XP but Windows 7 appears not particularly enterprise friendly at the moment to me.

    The Microsoft prose is to only have one account (say administrator) configure that as required with the required personalised settings etc. Make sure no other profiles exist on the workstation and as part of sysprep this will be copied to "default user" during sysprep and then all subsequent logons (to the workstation) will be given this personalised profile.

    The base Microsft article How to customize default user profiles in Windows 7 and in Windows Server 2008 R2 on the subject is eloquent but does not work.

    The Brian Lee Jackson one is also helpful but incomplete.

    It is implied the "other" changes occur to the default profile during the sysprep process although no documentation is available to expand on this.

    Having used sysprep for several years I am certainly familiar with its operation and am frankly surprised and disappointed by the copyprofile difficulty being encountered.

    So if you folks have a magic bullet for this I would be pleased to learn more if possible.

    Rgds

  10. #10

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,260
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    164
    Quote Originally Posted by 57chevvy View Post
    Hi

    Have none of you had difficulty with the copyprofile function as this is the only thing outstanding for me in Windows 7 preparation that is causing real hassle.?

    Sysprep always fails when this is included. I have read many and various forums on this and it would appear to be not an uncommon problem but as nobody here mentioned this I would be pleased to know more if possible.

    Basically, we are looking for a way of configuring a "default user" profile to use probably ultimately as a mandatory .v2 roaming from the server but cannot reliably create one locally for this purpose. This was a doddle for XP but Windows 7 appears not particularly enterprise friendly at the moment to me.

    The Microsoft prose is to only have one account (say administrator) configure that as required with the required personalised settings etc. Make sure no other profiles exist on the workstation and as part of sysprep this will be copied to "default user" during sysprep and then all subsequent logons (to the workstation) will be given this personalised profile.

    The base Microsft article How to customize default user profiles in Windows 7 and in Windows Server 2008 R2 on the subject is eloquent but does not work.

    The Brian Lee Jackson one is also helpful but incomplete.

    It is implied the "other" changes occur to the default profile during the sysprep process although no documentation is available to expand on this.

    Having used sysprep for several years I am certainly familiar with its operation and am frankly surprised and disappointed by the copyprofile difficulty being encountered.

    So if you folks have a magic bullet for this I would be pleased to learn more if possible.

    Rgds

    Did you manage to get anywhere with the copyprofile aspect of the sysprep process? This is my next step.

    Gareth

SHARE:
+ Post New Thread

Similar Threads

  1. Windows 7 Sysprep fun
    By Friez in forum Windows 7
    Replies: 11
    Last Post: 23rd November 2009, 08:17 AM
  2. Can I sysprep Windows XP Home?
    By zx2012 in forum O/S Deployment
    Replies: 9
    Last Post: 28th September 2009, 02:19 AM
  3. Sysprep config delete a text file
    By FN-GM in forum Windows
    Replies: 12
    Last Post: 16th September 2008, 12:57 PM
  4. More powerful Windows file search
    By mortstar in forum Windows
    Replies: 6
    Last Post: 17th June 2008, 01:56 PM
  5. Windows File Permissions
    By stitch in forum Windows
    Replies: 3
    Last Post: 22nd June 2007, 10:54 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
  •