Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

28 Dec 2012   #1
chedderslam

Windows 7 and XP on my server
 
 
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
chedderslam

Windows 7 and XP on my server
 
 

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.




Thread Tools




Similar help and support threads
Thread Forum
Can move only one file at a time within same folder or get error msg
I often need to reorganise files and sub-folders within the same main folder, for example, move folder from sub-folder named documents to sub-folder named photos. However Explorer in Windows 7 Professional will only allow me to move one folder at a time. When I try to move a second folder I get the...
General Discussion
Sysprep answer file
I have been reading a lot about imaging lately and I am starting to get it down. Somewhere in my searches I thought I read something about a program that will pull your system configuration and settings for you and create a sysprep answer file from it. I have read so much in the last few days...
Installation & Setup
how do i disable creating a new user account & password (answer pls)
in windows 7 how do i disable creating a new user account and password what should i stop/remove/disable...services or what??? give me an instructions pls the reason im doing this cause my little bro keep creating an account, then my windows settings are screwed up and files are moved
Performance & Maintenance
Windows 7 Answer File Error Messages
When I try to save my Answer File that I've created for my Windows 7 PC I press on Tools and then on Validate Answer File, it give me in the sector Validation a lot of errors. In my book (MCTS 70 - 680), they say that I need to change my settings. Now is my question: How and which settings do I...
Performance & Maintenance
Can't move WindowsImageBack or System & user file to a new location.
I originally backed up my System & User files using the Backup utility in Tools to a slave drive. That drive was full so I purchased a larger capacity drive and installed it in place of the original slave drive. I copied over my data but have been unable to copy the file original "Backup" file...
Backup and Restore
Moving default user directories
I was moving the default storage directories from c:\users\... to the root of D: when I fubared with the desktop one. I pointed it at the root of D: instead of D:\Desktop\ and now I have everything in D:\root on my desktop. Any idea on how I can remedy this? Cheers Mik
Installation & Setup


Our Sites

Site Links

About Us

Find Us

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

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

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App