+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 30 of 30
Windows 7 Thread, Unattended ComputerName + Join Domain - Windows 7 in Technical; Thats not a problem, just making sure its possible...
  1. #16

    nephilim's Avatar
    Join Date
    Nov 2008
    Location
    Dunstable
    Posts
    11,101
    Thank Post
    1,430
    Thanked 1,693 Times in 1,266 Posts
    Blog Entries
    2
    Rep Power
    364
    Thats not a problem, just making sure its possible

  2. #17

    Join Date
    Jan 2012
    Posts
    70
    Thank Post
    1
    Thanked 3 Times in 3 Posts
    Rep Power
    5
    For some reason I am getting this error when trying your solution. (Windows 7 Enterprise N 64bit)

    Windows could not parse or process the unattended answer file for pass [specialize]. the settings specified in the answer file cannot be applied. the error was detected while processing settings for componeted [Microsoft-windows-shell-setup]

    then goes in a loop

    this happens once I enter the name of the workstation I want ?

    Any ideas ?

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-International-Core" 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">
    <InputLocale>en-GB</InputLocale>
    <SystemLocale>en-GB</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UILanguageFallback>en-GB</UILanguageFallback>
    <UserLocale>en-GB</UserLocale>
    </component>
    <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">
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>1</ProtectYourPC>
    </OOBE>
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>cABhAHMAcwB3AG8AcgBkAFAAYQBzAHMAdwBvAHIAZAA =</Value>
    <PlainText>false</PlainText>
    </Password>
    <Description>IT.Services</Description>
    <DisplayName>IT.Services</DisplayName>
    <Group>administrators</Group>
    <Name>IT.Services</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    <TimeZone>GMT Standard Time</TimeZone>
    <RegisteredOrganization>test me</RegisteredOrganization>
    <RegisteredOwner>test me</RegisteredOwner>
    <ShowWindowsLive>false</ShowWindowsLive>
    </component>
    </settings>
    <settings pass="specialize">
    <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">
    <ProductKey>FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4</ProductKey>
    <ComputerName>%Please input a computer name%</ComputerName>
    <RegisteredOrganization>test me</RegisteredOrganization>
    <RegisteredOwner>test me</RegisteredOwner>
    <ShowWindowsLive>false</ShowWindowsLive>
    <TimeZone>GMT Standard Time</TimeZone>
    </component>
    <component name="Microsoft-Windows-UnattendedJoin" 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">
    <Identification>
    <Credentials>
    <Domain>test.AC.UK</Domain>
    <Username>ADMIN</Username>
    <Password>password</Password>
    </Credentials>
    <JoinDomain>test.AC.UK</JoinDomain>
    </Identification>
    </component>
    </settings>
    <cpifflineImage cpi:source="wim:///isos/microsoft/windows/windows%207%20enterprise%20n%2064bit/sw_dvd5_sa_win_ent_n_7w_sp1_64bit_english_-2_mlf_x17-59927/sources/install.wim#Windows 7 ENTERPRISEN" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

  3. #18

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    8,941
    Thank Post
    232
    Thanked 1,510 Times in 1,206 Posts
    Rep Power
    328
    I have created a slightly revised guide which you can find here.

    Your XML file looks OK to me (from what I can see), other than the CPI:source being different.

    And I presume you're using the 64Bit version of MySysprep 2?

  4. #19

    Join Date
    Jan 2012
    Posts
    70
    Thank Post
    1
    Thanked 3 Times in 3 Posts
    Rep Power
    5
    Quote Originally Posted by Michael View Post
    I have created a slightly revised guide which you can find here.

    Your XML file looks OK to me (from what I can see), other than the CPI:source being different.

    And I presume you're using the 64Bit version of MySysprep 2?
    Hi,

    Same error on
    Windows could not parse or process the unattended answer file for pass [specialize]. the settings specified in the answer file cannot be applied. the error was detected while processing settings for componeted [Microsoft-windows-shell-setup]

    Its the 64bit version I am using, with Windows 7 Enterprise 64bit SP1 N

    Am I missing anything obvious out ?

  5. #20

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    8,941
    Thank Post
    232
    Thanked 1,510 Times in 1,206 Posts
    Rep Power
    328
    64Bit N shouldn't make any difference. I wonder if the publicKeyToken="31bf3856ad364e35" is different from the 32Bit answer file?

  6. #21

    Join Date
    Jan 2012
    Posts
    70
    Thank Post
    1
    Thanked 3 Times in 3 Posts
    Rep Power
    5
    Will give it ago, I am busy going through the specilize but which it fails at.

    I will then try to recreate the file using the AIK as a 64bit file and not copy and paste the above one

  7. #22

    Join Date
    Jan 2012
    Posts
    70
    Thank Post
    1
    Thanked 3 Times in 3 Posts
    Rep Power
    5
    I recreated my sysprep file and it now works ?!?

    Any way to remove the My Sysprep logo that is plastered all over the screen ?

  8. #23

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    8,941
    Thank Post
    232
    Thanked 1,510 Times in 1,206 Posts
    Rep Power
    328
    Quote Originally Posted by internetuser View Post
    I recreated my sysprep file and it now works ?!?

    Any way to remove the My Sysprep logo that is plastered all over the screen ?
    I don't think so, but I don't care about it really. It disappears once Sysprep has finished and you see the logon screen.

  9. #24

    Join Date
    Apr 2012
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Still having trouble

    Quote Originally Posted by internetuser View Post
    I recreated my sysprep file and it now works ?!?

    Any way to remove the My Sysprep logo that is plastered all over the screen ?

    Is there any way you could post your answer file as I am having the same error and have tried rebuilding with no success.

    Any help would be greatly appreciated.

  10. #25

    Join Date
    Apr 2012
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Trouble

    Can some help me?

  11. #26
    simpsonj's Avatar
    Join Date
    Apr 2009
    Location
    Oxford
    Posts
    368
    Thank Post
    148
    Thanked 64 Times in 53 Posts
    Blog Entries
    7
    Rep Power
    21
    WDS setting.png

    I've also renamed computers by selecting the above in my WDS server properties. I create an Admin account with the username I want to call the PCs, for example Media, drop the account into the correct desktop OU, then build the PCs with that account. It will then automatically put the PCs into the right OU, and name the Cs sequentially (Media1, Media 2 etc) so I don't have to remember.

    Largely because I had little joy with unattend.xml files, other than to copy the default profile over, so thought I'd show another option. I would recommend disabling the accounts once you've finished building the suite though!

  12. #27
    jamin100's Avatar
    Join Date
    Feb 2008
    Location
    Birmingham
    Posts
    1,023
    Thank Post
    138
    Thanked 97 Times in 77 Posts
    Rep Power
    32
    Hi,
    Im wondering if anyone could help me with this?

    I did have this working but now for some reason its not. The computer is joining the domain but not under the name that I give it. It seems to be joining under the username of the account that I start WDS with.. so for example, if i delpoy 3 machines then I get the computer names ADMINISTRATOR, ADMINISTRATOR1, ADMINISTRATOR2 etc etc . . . .

    its also not creating the local user account that I have specified in the xml file.

    Im running it from the following .cmd file

    Code:
    @echo off
    mysysprep /oobe /generalize /unattend:c:\windows\system32\sysprep\unattend.xml
    Here is my unattend.xml file:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <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-GB</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">
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>1</ProtectYourPC>
                </OOBE>
                <UserAccounts>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add">
                            <Password>
                                <Value>dwBlAGwAYwBvAG0AZQBQAGEAcwBzAHcAbwByAGQA</Value>
                                <PlainText>false</PlainText>
                            </Password>
                            <Description>Local User</Description>
                            <DisplayName>teacher</DisplayName>
                            <Group>users</Group>
                            <Name>teacher</Name>
                        </LocalAccount>
                    </LocalAccounts>
                </UserAccounts>
                <TimeZone>GMT Standard Time</TimeZone>
                <RegisteredOrganization>School</RegisteredOrganization>
                <RegisteredOwner>School</RegisteredOwner>
                <ShowWindowsLive>false</ShowWindowsLive>
            </component>
        </settings>
        <settings pass="specialize">
            <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">
                <ProductKey>KMS Key here</ProductKey>
                <ComputerName>%Please input a computer name%</ComputerName>
                <RegisteredOrganization>School</RegisteredOrganization>
                <RegisteredOwner>School Name</RegisteredOwner>
                <ShowWindowsLive>false</ShowWindowsLive>
                <TimeZone>GMT Standard Time</TimeZone>
            </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>school.domain</Domain>
                        <Username>administrator</Username>
                        <Password>mypassword</Password>
                    </Credentials>
                    <JoinDomain>school.domain</JoinDomain>
                </Identification>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="catalog:c:/windows/system32/sysprep/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    Any ideas as to where its going wrong?
    I have created the image on a virtual machine and have created a snapshot right before syspreping so am not syspreping the same machine more than 3 times.
    Last edited by jamin100; 10th July 2012 at 02:25 PM.

  13. #28

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    8,941
    Thank Post
    232
    Thanked 1,510 Times in 1,206 Posts
    Rep Power
    328
    I cannot see anything immediately wrong with your script. The only thing you need to correct is the UILanguage - there's no en-GB but only en-US for the UI as Microsoft are lazy!

    I don't use WDS and it could well be that it doesn't work properly with MySysprep2 but only Microsoft's own MySysprep. This would make sense as to why your workstations are being named via WDS and not MySysprep2.

    As for the local user problem, you can cheat and create the local user before taking the snapshot - then just rename the account accordingly for the teacher.

  14. Thanks to Michael from:

    jamin100 (10th July 2012)

  15. #29

    Join Date
    Jun 2009
    Posts
    39
    Thank Post
    2
    Thanked 6 Times in 6 Posts
    Rep Power
    11
    Quote Originally Posted by jamin100 View Post
    Hi,
    Im wondering if anyone could help me with this?

    I did have this working but now for some reason its not. The computer is joining the domain but not under the name that I give it. It seems to be joining under the username of the account that I start WDS with.. so for example, if i delpoy 3 machines then I get the computer names ADMINISTRATOR, ADMINISTRATOR1, ADMINISTRATOR2 etc etc . . . .

    its also not creating the local user account that I have specified in the xml file.

    Im running it from the following .cmd file

    Code:
    @echo off
    mysysprep /oobe /generalize /unattend:c:\windows\system32\sysprep\unattend.xml
    Here is my unattend.xml file:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <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-GB</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">
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>1</ProtectYourPC>
                </OOBE>
                <UserAccounts>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add">
                            <Password>
                                <Value>dwBlAGwAYwBvAG0AZQBQAGEAcwBzAHcAbwByAGQA</Value>
                                <PlainText>false</PlainText>
                            </Password>
                            <Description>Local User</Description>
                            <DisplayName>teacher</DisplayName>
                            <Group>users</Group>
                            <Name>teacher</Name>
                        </LocalAccount>
                    </LocalAccounts>
                </UserAccounts>
                <TimeZone>GMT Standard Time</TimeZone>
                <RegisteredOrganization>School</RegisteredOrganization>
                <RegisteredOwner>School</RegisteredOwner>
                <ShowWindowsLive>false</ShowWindowsLive>
            </component>
        </settings>
        <settings pass="specialize">
            <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">
                <ProductKey>KMS Key here</ProductKey>
                <ComputerName>%Please input a computer name%</ComputerName>
                <RegisteredOrganization>School</RegisteredOrganization>
                <RegisteredOwner>School Name</RegisteredOwner>
                <ShowWindowsLive>false</ShowWindowsLive>
                <TimeZone>GMT Standard Time</TimeZone>
            </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>school.domain</Domain>
                        <Username>administrator</Username>
                        <Password>mypassword</Password>
                    </Credentials>
                    <JoinDomain>school.domain</JoinDomain>
                </Identification>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="catalog:c:/windows/system32/sysprep/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    Any ideas as to where its going wrong?
    I have created the image on a virtual machine and have created a snapshot right before syspreping so am not syspreping the same machine more than 3 times.
    Hiya,
    Have the same issue did you manage to get it working again under WDS
    Cheers

  16. #30
    jamin100's Avatar
    Join Date
    Feb 2008
    Location
    Birmingham
    Posts
    1,023
    Thank Post
    138
    Thanked 97 Times in 77 Posts
    Rep Power
    32
    Unfortunately not, what im doing now is setting WDS to hold all clients in a pending que. From there I can rename them to whatever i want.
    They get an ID number so its easy to identify computers in the console

  17. Thanks to jamin100 from:

    sly888 (17th July 2012)

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

Similar Threads

  1. Auto join domain using sysprep - Windows 7
    By ronnoco in forum Windows 7
    Replies: 80
    Last Post: 6th December 2012, 12:20 PM
  2. Replies: 8
    Last Post: 6th June 2011, 05:06 PM
  3. [Fog] Rename w/ serial # and join domain
    By Onslow in forum O/S Deployment
    Replies: 15
    Last Post: 20th July 2010, 09:42 AM
  4. Join Domain and Set Hostname
    By DanW in forum Scripts
    Replies: 1
    Last Post: 18th July 2009, 02:36 PM
  5. Cannot join domain, dns problems
    By pod in forum Windows Server 2000/2003
    Replies: 0
    Last Post: 14th February 2009, 03:04 PM

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
  •