Windows 7 Forums


Windows 7: error when installing usig answer file to move user directories.

28 Dec 2012   #1

Windows 7 and XP on my server
Mobile, AL
 
 
error when installing usig answer file to move user directories.

I am trying to use this example file I found on microsoft's site:
Code:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
        <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">
            <FolderLocations>
                <ProfilesDirectory>d:\Users</ProfilesDirectory>
                <ProgramData>d:\ProgramData</ProgramData>
            </FolderLocations>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:h:/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
I am using Professional instead of ultimate, so I tried to change this line to this:
Code:
<cpi:offlineImage cpi:source="wim:h:/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
It errors out. What is the proper value to use when the version is Professional?



Thank you.
My System SpecsSystem Spec

29 Dec 2012   #2

Windows 7 and XP on my server
Mobile, AL
 
 

Here is the error and updated answer file:

Windows could not parse or process unattend answer file [C:\Windows\Panther\unattend.xml] for pass [oobe]. The setting specified in the error file cannot be applied. The error was detected while processing settings for component [Microsoft-Windows-Shell-Setup].



Here is the answer file(product key X'ed out):

Code:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
        <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">
            <FolderLocations>
                <ProfilesDirectory>d:/Users</ProfilesDirectory>
                <ProgramData>d:/ProgramData</ProgramData>
            </FolderLocations>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-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">
            <UserData>
                <ProductKey>
                    <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
                </ProductKey>
            </UserData>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/installsource/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
My System SpecsSystem Spec
Reply

 error when installing usig answer file to move user directories. problems?



Thread Tools



Similar help and support threads for: error when installing usig answer file to move user directories.
Thread Forum
how do i disable creating a new user account & password (answer pls) Performance & Maintenance
Windows 7 Answer File Error Messages Performance & Maintenance
attempting to move user directories via audit mode, answer file off Installation & Setup
Can't move WindowsImageBack or System & user file to a new location. Backup and Restore
Moving default user directories Installation & Setup


All times are GMT -5. The time now is 01:13 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32