Computer Hope

Microsoft => Microsoft Windows => Windows Vista and 7 => Topic started by: guardian on July 22, 2010, 12:29:03 PM

Title: Windows 7 (Sysprep)
Post by: guardian on July 22, 2010, 12:29:03 PM
Since Microsoft changed the file structure and sysprep for windows 7 I am having a few issues getting it done.  My goal is to have Windows completely configured and have it so when someone take a computer that has been syspreped they just plug it in and it does the entire first time setup and give the computer either a predefined name or a random name along with adds it to the domain.  Is there a way to do that with the new sysprep so that everything is completely unattended until it gets to the Alt+Ctrl+ Del screen?

Any direction, pre done .xml files or well anything is greatly appreciated.


Thanks,
Title: Re: Windows 7 (Sysprep)
Post by: Salmon Trout on July 22, 2010, 12:38:51 PM
pre done .xml files

The only qualification needed to be a sysadmin these days - a subscription to Computer Hope!
Title: Re: Windows 7 (Sysprep)
Post by: guardian on July 22, 2010, 12:53:16 PM
The only qualification needed to be a sysadmin these days - a subscription to Computer Hope!


LOL..... Very true.  I have a file already created with all the settings I want done but I am unable to figure out hot to have the First time logon section ( Time zone, device name, etc). 

Code: [Select]
  <?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
        <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="XXXXXXXXXXXXX" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <StartPages>
                <StartPage wcm:action="add">
                    <StartPageUrl>XXXXX</StartPageUrl>
                    <StartPageKey>XXXXX</StartPageKey>
                </StartPage>
            </StartPages>
            <DisableFirstRunWizard>true</DisableFirstRunWizard>
            <Home_Page>http://XXXXX.aspx</Home_Page>
            <BlockPopups>no</BlockPopups>
            <CompanyName>COMPANY</CompanyName>
            <DisableDataExecutionPrevention>true</DisableDataExecutionPrevention>
            <DisableDevTools>false</DisableDevTools>
            <Help_Page>www.google.com</Help_Page>
            <LocalIntranetSites>http://XXXXX/</LocalIntranetSites>
            <NoDial>true</NoDial>
            <PlaySound>true</PlaySound>
            <ShowInformationBar>false</ShowInformationBar>
        </component>
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="XXXXXXXXXXXXX" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <Display>
                <RefreshRate>60</RefreshRate>
                <HorizontalResolution>1024</HorizontalResolution>
                <VerticalResolution>768</VerticalResolution>
                <ColorDepth>64</ColorDepth>
            </Display>
            <Themes>
                <DefaultThemesOff>true</DefaultThemesOff>
            </Themes>
            <WindowsFeatures>
                <ShowMediaCenter>false</ShowMediaCenter>
                <ShowInternetExplorer>true</ShowInternetExplorer>
                <ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer>
            </WindowsFeatures>
            <CopyProfile>true</CopyProfile>
            <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
            <ShowWindowsLive>false</ShowWindowsLive>
        </component>
        <component name="Security-Malware-Windows-Defender" processorArchitecture="x86" publicKeyToken="XXXXXXXXXXXXX" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <DisableAntiSpyware>true</DisableAntiSpyware>
        </component>
        <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" publicKeyToken="XXXXXXXXXXXXX" 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>DOMAIN</Domain>
                    <Password>PASSWORD</Password>
                    <Username>USERNAME</Username>
                </Credentials>
                <JoinDomain>DOMAIN</JoinDomain>
            </Identification>
        </component>
        <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="XXXXXXXXXXXXX" 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="Networking-MPSSVC-Svc" processorArchitecture="x86" publicKeyToken="XXXXXXXXXXXXX" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <DomainProfile_DisableNotifications>true</DomainProfile_DisableNotifications>
            <DomainProfile_EnableFirewall>false</DomainProfile_EnableFirewall>
            <PublicProfile_EnableFirewall>false</PublicProfile_EnableFirewall>
            <PublicProfile_DisableNotifications>true</PublicProfile_DisableNotifications>
            <PrivateProfile_EnableFirewall>false</PrivateProfile_EnableFirewall>
            <PrivateProfile_DisableNotifications>true</PrivateProfile_DisableNotifications>
        </component>
        <component name="Microsoft-Windows-TapiSetup" processorArchitecture="x86" publicKeyToken="XXXXXXXXXXXXX" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <TapiUnattendLocation>
                <AreaCode>563</AreaCode>
            </TapiUnattendLocation>
        </component>
    </settings>
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="XXXXXXXXXXXXX" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ComplianceCheck>
                <DisplayReport>OnError</DisplayReport>
            </ComplianceCheck>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <RefreshRate>60</RefreshRate>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <UserData>
                <ProductKey>
                    <Key>XXXXXXXXXXXXXXXXXXXXXXXX </Key>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
                <FullName>COMPANY</FullName>
                <Organization>COMPANY</Organization>
            </UserData>
            <EnableFirewall>false</EnableFirewall>
            <EnableNetwork>true</EnableNetwork>
            <Restart>Restart</Restart>
        </component>
        <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="XXXXXXXXXXXXX" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <SetupUILanguage>
                <UILanguage>en-US</UILanguage>
            </SetupUILanguage>
            <UILanguage>en-US</UILanguage>
            <InputLocale>en-US</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguageFallback>en-US</UILanguageFallback>
            <UserLocale>en-US</UserLocale>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-MigrationWizardApplication" processorArchitecture="x86" publicKeyToken="XXXXXXXXXXXXX" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <HideDiscontinuedComponents>true</HideDiscontinuedComponents>
        </component>
    </settings>
    <settings pass="offlineServicing">
        <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="x86" publicKeyToken="XXXXXXXXXXXXX" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <EnableLUA>false</EnableLUA>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/users/user/desktop/win7/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
 

I am not sure if it will make a differance but i am planning on using this agian in a Vmware View environment to create Windows 7 desktop pools.
Title: Re: Windows 7 (Sysprep)
Post by: Salmon Trout on July 22, 2010, 01:02:25 PM
I cannot supply an xml file, and in fact all I can do is Google... have you seen this?

http://www.ehow.com/how_5392616_sysprep-machine-start-finish-v2.html

Title: Re: Windows 7 (Sysprep)
Post by: guardian on July 22, 2010, 01:11:22 PM
Yes I have read that.  The problem i have is that it says
Quote
"you will be automatically logged into the administrator account, and the sysprep.xml file is deleted. You are now ready to use the computer or join it to the domain. Enjoy!"

and I need it to not auto login to admin and I need it already added to the domain.
Title: Re: Windows 7 (Sysprep)
Post by: Salmon Trout on July 22, 2010, 01:16:40 PM
 
 ?

(http://blogs.technet.com/blogfiles/medv/WindowsLiveWriter/WhentoUseSYSPREPandwhentousetheVMPrepara_A2F6/clip_image003_3.png)
Title: Re: Windows 7 (Sysprep)
Post by: guardian on July 22, 2010, 01:32:35 PM
OK what is that screen shot from?  i don't remember seeing anything like that through the tools I have been using?
Title: Re: Windows 7 (Sysprep)
Post by: Salmon Trout on July 22, 2010, 01:48:47 PM
http://blogs.technet.com/b/medv/archive/2010/04/21/when-to-use-sysprep-and-when-to-use-the-vm-preparation-tool-for-configuring-auto-logon-for-med-v-workspaces.aspx
Title: Re: Windows 7 (Sysprep)
Post by: guardian on July 22, 2010, 02:10:06 PM
1.) i cant find this tool for download.

2.) No where that I have found mentions it works with Windows 7

3.) I cant use sysprep and the VM Preparation tool together so how does the VMware prep tool clean the SID and copy my pre defined profile to the default profile location for my users?

Sorry if these are dumb questions its just been one of them days.  Thanks for all of the help.
Title: Re: Windows 7 (Sysprep)
Post by: killerb255 on July 22, 2010, 09:45:39 PM
Try the settings here:

http://technet.microsoft.com/en-us/library/cc766283%28WS.10%29.aspx
Title: Re: Windows 7 (Sysprep)
Post by: guardian on July 23, 2010, 11:44:54 AM
Thanks for the help guys/girls.  I think I have the direction i need to go but it will require more testing on my part.  Also if there are any other ideas out there I am open for more suggestions, and well anything that could help.