Over 1 million tech questions and answers.

Windows Could Not parse or process unattend answer file for pass [specialize]

Q: Windows Could Not parse or process unattend answer file for pass [specialize]

Currently trying to take an image of our new Lenovo Tiny Form Factors (M900) running Windows 7 Enterprise x64. After sysprep I am hit with this error message up on rebooting.

"Windows could not parse or process the unattend file for pass [specialize]. The settings specified in the answer file cannot be applied. The error was detected while processing settings for component [Microsoft-Windows-Shell-Setup]."
I'm somewhat of a noob, but have done this before and have no issues. Ive searched everywhere and cant seem to find a fix, any help would be greatly appreciated.
Here's The answer file I'm currently using.

Thanks in advance.

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"" target="_blank" class="wLink">http://schemas.microsoft.com/WMIConfig/2002/State"" target="_blank" class="wLink">http://schemas.microsoft.com/WMIConfig/2002/State"" target="_blank" class="wLink">http://schemas.microsoft.com/WMIConfig/2002/State"" target="_blank" class="wLink">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-Deployment" 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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>net user administrator /active:yes</Path>
</RunSynchronousCommand>
</RunSynchronous>
</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">
<CopyProfile>true</CopyProfile>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>U.S. Mountain Standard Time</TimeZone>
</component>
</settings>
<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-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</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">
<AutoLogon>
<Password>
<Value>UgB1AGcAZwAzAGQAbQBAAG4AMQBAAGMAcwBQAGEAcwBzAHcAbwByAGQA</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</CommandLine>
<Order>1</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<CommandLine> cscript //b c:\windows\system32\slmgr.vbs /ato</CommandLine>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>C:\temp\disablenic.cmd</CommandLine>
<Order>3</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>UgB1AGcAZwAzAGQAbQBAAG4AMQBAAGMAcwBBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>UgB1AGcAZwAzAGQAbQBAAG4AMQBAAGMAcwBQAGEAcwBzAHcAbwByAGQA</Value>
<PlainText>false</PlainText>
</Password>
<Description>Local Administrator</Description>
<DisplayName>Administrator</DisplayName>
<Group>Administrators</Group>
<Name>Administrator</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>Adelante Healthcare</RegisteredOrganization>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:h:/sources/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Read other answers
RELEVANCY SCORE 200
Preferred Solution: Windows Could Not parse or process unattend answer file for pass [specialize]

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

RELEVANCY SCORE 222

Hello,

We're deploying Windows 8.1 to our public computing labs right now. This is the first time we're doing mass deployments with SCCM and we've run into the dreaded sysprep error just after applying the image. I think we've
narrowed this down to drivers but can't seem to figure it out. As an example, *almost none* of our hundreds of Optiplex 9010s will accept the image, yet hundreds of other models (Optiplex 7010, Optiplex 9020) accept the same image without issue.

I saw plenty of other posts about this error but I don't think this could be an unattend file or sysprep issue. Why would it work on some machines but not others?

Has anyone experienced a similar issue?

Thanks in advance!!

Error:
Sysprep could not parse or process the unattend answer file for pass [specialize]. The settings specified in the answer file cannot be applied. The error was detected while processing settings for component [Microsoft-Windows-Shell-Setup].

Log Files:
Will post separately.

A:SCCM Windows 8.1 Deployment - Sysprep could not parse or process the unattend answer file for pass specialize

For those with a similar issue - 

This turned out to be a driver problem for us, as suspected. In speaking with Premier Support, we dug through the CBS.log on a failed machine and confirmed it. In CBS, we traced the setup process to where drivers get installed and found a couple failures
(network, audio, etc.). Setup failed immediately after that process.

We were under the impression that our device drivers were current in SCCM, however they were not. In SCCM, we were ignoring driver import errors while using the Dell Command Deploy Utility for CABs. The errors were a result of the 2008 site server's inability
to recognize the newer Windows 8.1 drivers. We applied KB 2837108 and KB 2921916 to the site server and re-imported drivers. The sysprep error went away after this.

Read other 1 answers
RELEVANCY SCORE 222

I setup an ACER VM6620G (Win7x86) how I wanted, including disabling the administrator account and creating an administrator user "PVA"
Navigated to \\wds\DeploymentShare$\Scripts and ran the litetouch script. Chose my "Sysprep and Capture" task. 
Everything went off without a hitch until I restarted the technician pc. 
I got the dreaded
"Windows could not parse or process unattend answer file [C:\windows\Panther\unattend.xml] for pass [specialize]. A component or setting specified in the answer file does not exist"
I tried to deploy the captured image to the same computer and got the same error
I've scoured the internet for solutions (Shift+10 opens command prompt. Good to know!) with no luck.
I've saved the unattend.xml and looked for errors- going as far as to install an x86 Win7 virtual machine to validate the unattend.xml file in WISM


Other information that might be useful:
   I never used WISM to create an unattend.xml nor did I attach one to the image. 
   I didn't try to copy user profiles/settings/migrate etc
   I imported the captured image to WDT. Created a standard task and added 2 nodes 
     -Inject Drivers
     -Install Application

As a side, I've got another image that I've already injected the drivers/installed the application as a test. Everything went smoothly.


+-----------------+
 | Unattend.xml: 
&#... Read more

Read other answers
RELEVANCY SCORE 202.4

Hi there,
I have a WDS server setup with images but I am having trouble with the unattend answer file bit. I always get an error after deploying in image during setup that it had trouble during the Speicalize phase. I believe it has something to do with the product
key most likely. I am wanting to skip product key entirely and leave it blank as the computers I'm deploying are all Lenovo business computers with the on board chip for activation.



The exact error I get is
"Windows could not parse or process the unattend answer file for pass [specialize]. The settings specified in the answer file cannot be applied. The error was detected while processing settings for component [Microsoft-Windows-Shell-Setup]"

I am able to get the computer up and running by going into REGEDIT, Childcompletion key and changing the value of "Setup" from 1 to 3 but I am wondering how I can prevent this entirely.


Thanks!
Here is the answer file I'm using...


</component>
</settings>
<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>1033:00000409</InputLocale>
<UILanguage>en-US&... Read more

Read other answers
RELEVANCY SCORE 186.8

My manufacturer gave me images and scripts that deploy image in notebook. I installed Win10 in it but it got an error during setup. I found out that it caused by Unattend.xml file. Some said that it solved the problem by removing the component line but i'm unsure if it is safe to remove this line

<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>DENVER NBW-1004</ComputerName>
<OEMName>EnergySistem</OEMName>
</component>


Full Unattend.xml file.
[XML] urn:schemas-microsoft-c - Pastebin.com

Read other answers
RELEVANCY SCORE 184.8

HI everyone I need assistance. Every time I try and image a new machine on my network I get this error...
"Windows could not parse or process unattend answer file [C:\Windows\Panther\unattend.xml] for pass [oobeSystem]. A component or setting specified in the answer file does not exist." 
Ive checked and checked and there is no unattend.xml answer file in that location. What ive done is setup Windows 7 and installed all my applications in audit mode (Ctrl+Shift+F3). After im done I run sysprep with generalize, oobe and shutdown options.
It goes through just fine. I then boot to PXE to capture the image. All is fine with that as well. On my WDS server on the Client tab I have my xml I created with WSIM. Keep in mind this has worked in the past now all of a sudden its not. Everything installs
fine, im able to boot from PXE and select the image I created during capture. All is well. Obviously my answer file works up until it gets to the point where it says its setting up...It reboots a couple of times and BAM thats where I get the error. Here is
my xml file for reference...

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35&qu... Read more

Read other answers
RELEVANCY SCORE 184.4

I'm getting the following error when trying to run sysprep on a Windows 7 x86 machine.
"Windows could not parse or process unattend answer file [C:\windows\Panther\unattend.xml] for pass [oobesystem]. The settings specified in the answer file cannot be applied. The error was detected while processing settings for
component [Microsoft - Windows - Shell -Setup]".
What I found in the C:\Windows\Panther\Set
2010-12-16 15:34:57, Info                  SYSPRP SPPNP: The device Root\LEGACY_MPIO\0000 is using the service mpio.
2010-12-16 15:34:57, Warning               SYSPRP SPPNP: Error 0xE000020B occurred while adding device Root\LEGACY_MPIO\0000 to the device info set.

A:Windows 7 x86 Sysprep error Windows Could not parse or process unattend answer file [C:\Windows\Panther\Unattend.xml] for pass [oobesystem]......

I fixed mine. 
Under 7 oobe System>X86_Microsoft-Windows-Shell-Setup_neutral I was using Auto Logon. I had the logonCount populated and Username populated but I didn't have "TRUE" in Enabled.
 
Now my sysprep is working.

Read other 3 answers
RELEVANCY SCORE 178.4

Here is my Xml file.
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm=http://schemas.microsoft.com/WMIConfig/2002/Sta>
            <ImageInstall>
                <OSImage>
                    <WillShowUI>OnError</WillShowUI>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>1</PartitionID>
                    </Install... Read more

Read other answers
RELEVANCY SCORE 158.4

windows 7 pro in a domain environment:
I am working in a school environment in a domain network. I am trying to re-image a computer that has already been imaged before using the same unattend.xml. The error I am getting when I launch the cmd: sysprep /generalize /oobe /shutdown /unattend:unattend.xmlis...windows
could not parse or process the unattend answer file (unattend.xml). The answer file contains one or more settings elements that have already been processed.

One thing I should mention. The computer that I am trying to re-image has been updated to windows 7 service pack 1 and all susequent service packs.

Thank you in advance,

Andrew

A:windows could not parse or process the unattend answer file

Download and install WAIK, then edit the answer file within it. It can help you to find the mistakes.

The Windows® Automated Installation Kit (AIK) for Windows® 7
http://www.microsoft.com/download/en/details.aspx?id=5753
Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?

Read other 6 answers
RELEVANCY SCORE 134.4

Hi there.

I'm trying to do a clean install of Windows 7 Ultimate on a Sony Vaio AR41s via a DVD that I burned (slowest speed, was very careful about that) but upon starting the installation I get the error message:

Windows cannot parse the unattend answer file's <DiskConfiguration> setting

After closing this dialog box the laptop reboots and starts the process from scratch.

The Vaio has nothing on it as far as I'm aware (No OS found etc...) so I'm pretty sure this is as clean a install as I could do.

Here's the specs of the AR41s:
CPU - Intel Core 2 Duo T7500 @ 2.2 GHz
Cache Memory - 4 MB - L2 Cache
RAM - DDR II SDRAM - 667 MHz - PC2-5300 ( 2 x 1 GB )
HDD - 2x 160 GB - Serial ATA-150 @ 5400 rpm
Optical Storage - BD-RE
GPU - NVIDIA GeForce 8600M GT - 256 MB
OS - N/A

Running the 2x160GB HDDs in RAID 0 configuration. I tried de-RAID'ing the HDDs to see if that was the problem but I get the same result.

I've done some research on the internet and there's a lot of talk about xml files and whatnot but I can't see how I'm going to access anything given that there's nothing on the machine.

This is my first time trying to install a new OS on a machine so right now I'm a little lost.

If there's any other information that I should have given then do please mention it and I will edit my post accordingly.

Any feedback would be much appreciated.

A:Windows cannot parse the unattend answer file's <DiskConfiguration>...

Hello farouche, welcome to Seven Forums!
Where did you get the Windows 7 ISO file you burned to DVD? This sounds like the real issue.

Leave the RAID broken, Windows 7 has issues with RAID anyway.

Check the PC BIOS to make sure it is set to ACHI and not RAID or IDE mode.

Then do a complete wipe secure erase to the entire single Hard Disk Drive (non RAID) and then create a 100GB partition to do the install to and start the clean install, have a thorough look through the information in these tutorials linked below and be sure to post back with any further questions you may have and to keep us informed.

SSD / HDD : Optimize for Windows Reinstallation

Additional Secure Erase / Wipe Information

Read other 2 answers
RELEVANCY SCORE 115.2

Hi all, I've been working on a new x64 image in what is predominantly an x86 client environment. So, MDT (2010) is what we're using to deploy - and it all seemed to go very well after imaging a bunch of laptops with a .wim file with which I integrated
SP1 manually (using DISM). I then went to integrate all the latest updates in the same way, but sadly this didn't work as there was an update of some description which seemed to break it (I excluded a couple of updates known to cause issues).

So, I decided to work on capturing a wim from a VM after I applied all the updates. Something that seemed to go pretty seamlessly, but sadly when I copy the wim over, then run the deployment, I get a failure on the 'specialize' pass. There are several points
at which the BDD log states it cannot find the product key, but then we use KMS so I'm assuming this isn't needed. That being said, there is a key in the unattend.xml, so I've become a little confused by this..
Here's the specialize portion of the unattend.xml:

<settings pass="specialize">
<component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<Identification>
<Credentials>
<Username>[email protected]</Username>
... Read more

Read other answers
RELEVANCY SCORE 95.6

I am getting this error when I am install Windows 7:
Windows could not format a partition on disk 0 - error code 0x80004005 during a new install of Windows 7. I have tried both Home Premium x64 and Enterprise x64. Both falling into the same error:


I've removed all partition using gparted, and created a single primary partition, but I keep getting that error.


Here is what happens:
PC boots from it, then goes to this screen:
install_step4.jpg (image)


After that, it just starts copying files:
install_step10.jpg (image)


Which means it COMPLETELY skilled these steps:
install_step5.jpg (image)
install_step7.jpg (image)
install_step8.jpg (image)
install_step9.jpg (image)
Which means I can't select which disk or partition I want Windows 7 on.
After about 5 seconds, the error pops up:
Windows coupld not apply the unattend answer file's <DiskConfiguration> setting


Before I removed all partitions, I got this message during installation:
Windows could not format a partition on disk 0 - error code 0x80004005
I then reboot back onto gparted, and find that the installation has copied 100mb onto the single partition.
I've tried everything... I just tested installed XP, and that installed fine.
I've tried googling, but nothing has helped me thus far.

Can anybody help me?


Thanks!

A:Windows could not apply the unattend answer file's

Welcome to Seven Forums.

What is the installation media?
Download ISO, burn to DVD?
MS DVD?
USB key?

Upgrade or Full Retail version?

Are you choosing Upgrade or Custom when the install starts?

Did you mark the partition as Active?

You can try, delete the partition and install to the unallocated space.

Let us know how it's going.

Read other 2 answers
RELEVANCY SCORE 95.2

Hello,

I am currently studying to take the 70-680 in a week's time and am trying to build an answer file. Having done so and included in in the root directory of my Windows 7 USB installation disk, i get the following error: Windows cannot parse the answer file's <diskconfiguration> setting.

Here is what my answer file looks like:


<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" 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">
<SetupUILanguage>
<WillShowUI>OnError</WillShowUI>
<UILanguage>en-uk</UILanguage>
</SetupUILanguage>
<InputLocale>en-uk</InputLocale>
<SystemLocale>en-uk</SystemLocale>
<UILanguage>en-uk</UILanguage>
<UserLocale>en-uk</UserLocale>
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35&... Read more

A:Windows cannot parse the answer file's <diskconfiguration> setting

  
Quote: Originally Posted by vlakarmis


<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>15000</Size>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>OS_install</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
<TypeID></TypeID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
</Dis... Read more

Read other 3 answers
RELEVANCY SCORE 94.4

It's been a long time since I've worked on corp OS deployment so I'm not very experienced with Win7 and unattend/answer file operation. The goal I'm trying to get to is to customize several parts of an OS image (Win 7 Enterprise) for use in WDS by desktop
techs:

Create a local admin user accountapply a custom themeBypass the Windows Welcome screen
I'm using Windows SIM 6.1.7600.16385, opened the wim image and created an answer file with settings for PC name, locale, co name, reg user, etc- ideally everything the OS needs to boot into windows setup and complete without user intervention and without
launching windows welcome.
The answer file is named autounattend.xml and is copied to C:\windows\system32\sysprep on the target PC. I run sysprep /generalize /oobe /shutdown /unattend:c:\windows\system32\sysprep\autounattend.xml .
Sysprep runs and displays messages saying it's processing generalize and perhaps one other section and then shuts the PC down. I then use WDS to capture the sysprep'd PC.
I boot a PC to WDS->WinPE and then pull down the image copied up earlier of the sysprep'd PC.
When Windows starts, it goes to the welcome screen. Further inspection reveals that nothing in the unattend file seems to have been applied to the PC. No user account created, no theme etc. The autounattend.xml file is still in the sysprep directory but
the sysprep\panther directory does not have a copy of it (I think it should?).

What am I doing wrong? I beleive this autouna... Read more

Read other answers
RELEVANCY SCORE 87.6

I have been trying to transition over to using WDS for my main method of Windows 7 image deployment in our Server 2008 R2 domain environment. I am having trouble with getting the answer file to work properly. I have read through multiple threads, posts, and guides including the guide on this site

System Preparation Tool - Use to Customize Windows

and I have been making progress. As of now I have two answer files, as described in this guide:

Deploying Windows 7 Using Windows Deployment Services (WDS): Step-by-Step ? Part II | Augusto Alvarez

One is used to tell WinPE which image to install, and the other is used to answer the questions after the image push is complete. My answer files are as follows:

The answer file configured in the 'client' tab of the WDS server


Code:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" 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">
<SetupUILanguage>
<UILanguage>en-us</UILanguage>
</SetupUILanguage>
<InputLoca... Read more

A:WDS Unattend.xml answer file help needed

Hi Commdude, welcome to the Seven Forums.

You need to add the Computer Name to Specialize pass as shown in the screenshot below:
This must of course be in the answer file used for installing the selected image, in other words the latter of your two answer files.

Kari

Read other 6 answers
RELEVANCY SCORE 86.8

Hi, I'm using DISM to create a custom image, we use a vlk licence key to install but this isn't being accepted on the answer file. Its definatly a valid key and being entered correctly). I'm just getting the error 'The unattend answer file contains an invalid product key' Is there anything i can do to get around this?

A:The unattend answer file contains an invalid product key

No? :-(

Read other 4 answers
RELEVANCY SCORE 86.8

I am responsible for building, updating, converting, building a sysprepped Windows 7 Pro master and deploy it on my company's computers. The final result is a build that includes full recovery capability, as most of these computers are used outside the office, some in remote locations.

To achieve this, i have a "master" VHD that was built with a genuine iso dowloaded from the Microsoft VLSC, and is regularly updated with Windows and specific software updates. I copy this VHD somewhere else, and Sysprep/shutdown the copy. This copy is mounted and captured to WIM
using DISM, and added drivers for all the many different Lenovo computer models and machine types we have out there, both Desktops and Laptops.

Having a "Master" WIM, and for the sake of keeping the Unattend.xml file as simple as possible, i use my own script to deploy the WIM to a Hard Drive with this configuration: System reserved+WinRE-Recovery-Windows7. The Recovery partition being before the Windows partition is due to the fact that this will be deployed to hard drives of sizes ranging from 80GB to 1TB+. This deployment is then imaged with other Imaging software, for quick deployment (things can get pretty hectic and i need to shave off as much time as possible). Before sending the computers to the field, they are booted, updated with any missing drivers/model specific OEM software and other specific licensed Software, last minute updates, specific user configuration, a... Read more

A:The Unattend answer file contains an invalid product key

For future reference: Windows 7 | Deploy, Download, Forums, Help, Events, XP | TechNet

The only interesting thing I found was a reference to disabling the floppy drive.
The unattend answer file contains an invalid product key







  
Quote: Originally Posted by Sunyata Group


Once you have verified that the product key is valid ("genuine product" | "full product" | "upgrade product") for the type of installation that you are doing . . . Then try this:

Start the installation/set-up process again, and wait for the error message to appear.

Locate the "Settings" menu in the installation menu bar.

Under the "Settings" window -> Select "Removable Devices" --> Double-click the "Floppy" icon => Turn off "Enable Floppy Drive".

Now hit the "OK" button in the error message box. If that does not work straight away, Restart the installation process.

This should work on a number of products.

Good luck!

Edited by Sunyata Group Saturday, December 29, 2012 4:40 PM


That might be one of the silly things you're looking for. Other than that I won't be much help - you seem to have a firm grasp on the process, more so than I have.

There are some members who know this stuff fairly well - hang in for their input.

Good luck,

Bill
.

Read other 7 answers
RELEVANCY SCORE 84

I have create a Windows 7 Home Premium master image using a the official Microsoft Authorized refurbisher installation disc. I am trying to create the answer file that will contain the product key so that the end user will not have to manually enter it during
the OOBE welcome.  Using the Windows System Image Manager I created a new answer file from scratch. I've tried three configurations of the answer file:
1st attempt. Adding Microsoft-Windows-Setup\UserData\ProductKey  and entering the product key there and setting WillShowUI to 'never'
2nd attempt. Adding Microsoft-Windows-Shell_Setup\ and entering the product key into the 'product key' field
3rd attempt. I had both options 1 & 2 added in the same answer file
Regardless, everything it boots to OOBE I am still prompted for the product key
I've move the Sysrep folder to C:\sysrep and place the unattend.xml file into this folder.
I'm am running sysrep with from the command prompt with this:
C:\sysprep\sysprep /oobe /shutdown /unattend:C:\sysprep\unattend.xml

Any idea as to why it is still prompting for the product key and or how I can get this to work?

Thanks





<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture=&quo... Read more

A:Product Key Prompt - Unattended Install - Key supplied unattend.xml answer file

The Microsoft-Windows-Shell-Setup\ProductKey setting should be the one you need.

http://technet.microsoft.com/en-us/library/ff715815(v=WS.10).aspx
Does the product key match the installed edition of Windows? (HomePremium)
Does it work if you add /generalize to the sysprep command? (C:\sysprep\sysprep /oobe /shutdown
/generalize /unattend:C:\sysprep\unattend.xml)  This would force the specialize pass to run again and consume the new setting.

Read other 3 answers
RELEVANCY SCORE 78

Hi All, I would suggest you read my old post here first:
https://social.technet.microsoft.com/Forums/en-US/9be1effb-d44f-4987-872c-c1a2fe23aba3/autounattendxml-not-working?forum=w7itproinstall

Anyhow, where I work we have a single DR PC what has our basic company software/programs on and is imaged, and then deployed out to a large multiple of identical PC's at our disaster recovery facility in the event when needed. Our DR facility is connected
to our AD domain.
The DR PC's we use are HP EliteDesk 800G2 Desktop Mini's and have Windows 7 Pro x64 on them.  Now capturing and restoring the image is not an issue and is is done via PXE booting using Symantic Ghost.

I have two major issues that need to be resolved very soon as we have a DR test coming up in a couple of months where we push the image out to a large number of identical PC's and test everything down in DR.

Issue 1: When ever sysprep is run with the "/generalize" option, windows fails to boot/reboot. Just get
a black screen in a continuous re-booting loop. Not even any error message, absolutely nada is shown! 
Maybe it's got something to do with he ultra modern hardware/chipset/platform of the HP EliteDesk G2; all USB port are USB3 and the boot drive is a NVMe SSD.
To resolve this issue, I have to restore the image to the DR PC via PXE.
And Yes I have the following in my Autounattend.xml file under the
generalize pass. 
<component name="Microsoft-Windows-PnpSysprep... Read more

Read other answers
RELEVANCY SCORE 77.2

Hello,

I am having a hard time with the sysprep specialize pass.  The error file I am getting from the setupact out of panther is:
2016-01-29 11:57:06, Error [setup.exe] [Action Queue] : Unattend action failed with exit code 4
2016-01-29 11:57:06, Info [setup.exe] [Action Queue] : ProcessActionQueue finish (hr = 0x1f2000)
2016-01-29 11:57:06, Error [setup.exe] Execution of unattend GCs failed; hr = 0x0; pResults->hrResult =0x8030000b
2016-01-29 11:57:06, Info [0x0606cc] IBS Flushing registry to disk...
2016-01-29 11:57:07, Info [0x0606cc] IBS Flush took 967 ms.
2016-01-29 11:57:07, Warning IBS Callback_Unattend_InitiatePass: Runtime error occurred while applying unattend answer file; hrResult = 0x8030000b
2016-01-29 11:57:07, Info IBS UnattendErrorFromResults: Hit an unattend error; dumping any info we have about the failure...
2016-01-29 11:57:07, Info IBS UnattendDumpSetting: ------Unattend setting error / warning------
2016-01-29 11:57:07, Info IBS UnattendDumpSetting: Error code = 0x8030000b
2016-01-29 11:57:07, Info IBS UnattendDumpSetting: Pass = specialize
2016-01-29 11:57:07, Info IBS UnattendDumpSetting: Component name = [Microsoft-Windows-Shell-Setup]
2016-01-29 11:57:07, Info IBS UnattendDumpSetting: ---------------------... Read more

Read other answers
RELEVANCY SCORE 76.4

Hello - 
In the past we applied copyprofile to our answerfiles used at the sysprep stage before we captured images and deployed them using WDS. 
We are now trying to sys prep and capture the image without this answer file -- but then apply the answer file with copyprofile set to true in the specialize pass to the captured image in WDS (checking "allow image to install in unattended mode"
in the install image properties and setting the file)
We had tested this successfully before but now we are failing on the specialize pass. Setuperr.log seems to show the copy profile failing. 
When does copy profile need to be applied? Must it be applied via an answer file at the sysprep stage in order to work properly? Or can an answer file with copyprofile set to true be applied to the captured install image in WDS?

Thank you - 

Read other answers
RELEVANCY SCORE 73.6

MDT 6.3.8298.1000 , ADK 10,
Hi,
   I have download windows 7 x64 enterprise iso from VL and capture wim file, imported to deploy it. when I try to open unattend.xml file to customized it, I am getting error message





when I click on log file:
6:58 PM : This application requires version 10.0.10240.16384 of the Windows ADK.
Install this version to correct the problem
6:58 PM :
6:58 PM : Error opening D:\MDTProduction\Control\W7PRD1124\Unattend.xml.
6:58 PM :
6:58 PM : System.IO.FileNotFoundException: Could not find file 'D:\MDTProduction\Control\W7PRD1124\Unattend.xml'.
File name: 'D:\MDTProduction\Control\W7PRD1124\Unattend.xml'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy,
Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
   at System.Xml.XmlTextRe... Read more

Read other answers
RELEVANCY SCORE 70

Currently Windows automatically restarts the system as soon as the installation is complete. I've been trying to do a shutdown instead of restart. I've tried to include the following tag in Microsoft-Windows-Setup under windowsPE configuration
pass (unattend.xml). But it is not working.
<Restart>Shutdown</Restart>
The link for above restart option is, https://technet.microsoft.com/en-us/library/cc766012(v=ws.10).aspx
It however says that "This setting is specific to Windows PE scenarios. Once image-based installation begins,
this setting is ignored."
If anyone knows how to do this, please help. I want to shutdown the system after WinPE pass. i.e., the fist time it reboots. I want to detect the shutdown/power off on the machine after install, for some automation I've been working on.
Any help in this regard is appreciated.
Thanks

Read other answers
RELEVANCY SCORE 68.4

Hi, first time post............

Am trying to upgrade my daughters Acer laptop from W7 to W10 before the deadline but keep getting this error...........

Have done lots of reading up on it with lots of attempts to fix the problem but as yet I'm still no closer to solving this problem.

Could anyone please try and head me in the right direction as I'm really just about to give up and let her continue with 7.

Cheers,
John

A:Windows 7 to 10 Upgrade? Windows could not parse or process

That error message is shown when you run sysprep command in Windows with an answer file that has wrong syntax or other errors in it. In normal upgrade process you should have no reason to run sysprep. Sysprep is usually only used when you want to customize Windows install image for deployment.

Are you running sysprep on purpose, and if so could you please post the answer file used?

Kari

Read other 0 answers
RELEVANCY SCORE 62.4

hello everyone, my professor gave the failing students 2 problems to solve for a chance to improve to a passing grade. Please help , i have 9 hours to figure this out..

for windows xp:

1) How to hide and disable access to the "G" drive.


2) Prevent users from finding any computer on the network.

A:HELP ! i have 9 hours to answer these 2 questions to pass my class =(

Hello elitebean, Welcome to TSF!

What you are asking here is definitely under the category of "Homework".

If we give you the solution here, you will not learn your work properly.
Furthermore, it is TSF policy under The TSF Rules (click the coloured link).

That said, I can tell you, that Google? is your best friend here.

Sorry this thread is now Closed!

Kind Regards,

Read other 1 answers
RELEVANCY SCORE 62

Hello guy
I'm trying to create a custom Image in order to Install Windows 7 Pro fastly. I have Captured the Image but when i Try to Install i receive the Following below and i don't undestand where i made mistake:
..Windows Could not parse or Process unattend answer file for pass (Specialized)......
I have used an answered file to sysprep the system but not to install...
I did the Following Step:
I have Installed Windows i run sysprep in audit mode:

   I Have Personalized Desktop with Desktop Wallpaper and the Wallpaper for the Logon Window    I have added some link on Desktop and Installed some Software  Then i have  Rebooted the system in audit mode again
In Order to copy the Customization to the Default User i have created the Following Unattended File
myprofile.xml(below)
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<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">
<CopyProfile>true</CopyProfile>
</component>
</settings>
<... Read more

Read other answers
RELEVANCY SCORE 60.8

Hi,
I am in charge of creating the Windows 7 image to deploy to about 150 computers, and I am about to lose my job because I can't get this going. We are not using a server, and because of our slow network, I would like to have everything on a flashdrive so we don't use the network. I installed WAIK and have been working on the AutoUnattend.xml (using SIM) for days, and I can't get it to work correctly. I created a 'Configuration Set' on my flash drive after finishing the AutoUnattend file, and have 2 out-of-box drivers, and 3 applications that I would like to install as a test (many more to come). It seems to pick up the AutoUnattend file, (doesn't ask me any questions) but when it finishes installing windows, none of my applications are installed, and when I restart after exiting from the Sysprep box, it asks me what language I want to use. Could anyone look at my AutoUnattend file and tell me what I am doing wrong?

It looks like the Configuration Set only created one folder named AutoUnattend_Files with my 2 drivers and my AutoUnattend.xml, but no $OEM$ Folders at all (where I put the applications). Maybe I should not have created the Configuration Set. I saved a copy of the unattend.xml file before I created the Configuration Set. Here is the AutoUnattend.xml after I created the Configuration Set:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE&q... Read more

A:Really need help with Windows 7 unattend.xml file for Windows 7 deploy

It seems like it did install the 2 drivers and partition the way I wanted so I guess it is picking up the AutoUnattend file. Maybe I should add the $OEM$ Folders manually to get it to install the applications. But no applications have been installed.

Read other 9 answers
RELEVANCY SCORE 60.4

How do I UNPAUSE a file I am copying and is stuck on PAUSE?    Searching for answer with Microsoft doesn't answer the question as usual..I'm stuck with forums and they don't give me an answer. 
HELP  I have Windows 10 and file is not large - about7 GB total with plenty of memory left on computer.  The copying froze up for some reason (without any error messages) so I paused it to take time to try and research the problem, and now the "pause"
is frozen.

Read other answers
RELEVANCY SCORE 57.6

Having a problem with this and getting this error after reboot. It contacts the WDS server and bring down the image and then tells me "Unable to parse unattended.xml c:\windows\panther\unattended.xml
file is invalid" Attached is my "image unattend" and my unattend files. Both files pass in waik with no errors.
In advance thanks for the help
Doc
Unattend
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-International-Core-WinPE" 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">
            <SetupUILanguage>
                <UILanguage>en-us</UILanguage>
            </SetupUILanguage>
            <InputLocale>en-us</InputLocale>
            <SystemLoca... Read more

A:Unable to parse unattended.xml c:\windows\panther\unattended.xml file is invalid

I found my problem and here is the link to it.
http://support.microsoft.com/kb/909264
Thanks Doc

Read other 4 answers
RELEVANCY SCORE 56.8

Thanks to this forum I was able to remove Trojan.Pandex but now I can't validate XP. Microsoft web site has a list of solutions but none have worked.I get the following info from their site after attempting to validate.This copy of Windows did not pass genuine validation because the validation process could not be completed. There are several possible causes:Your system level security settings prevented validation from running. Your user account may not have the correct permissions necessary to run validation. Your system settings have been modified in one of the following ways: Security software may have been installed that inadvertently altered your Windows product ID. The validation controls you used were downloaded from a site other than the Microsoft site. You chose to run the validation controls in an alternate compatibility mode. Option 1: Follow steps in Microsoft Knowledge Base article and run validation againMost customers who receive this error are able to resolve the problem by following the resolution steps found in Microsoft Knowledge Base article # 822798 and then running the validation again. Option 2: Install the latest Windows Genuine Advantage NotificationsIf this error still occurs, we recommend that you log in as an Administrator and install the latest version of Windows Genuine Advantage Notifications. [0x80080205] Anyone have a clue how to fix this??Ken

A:Windows Did Not Pass Genuine Validation Because The Validation Process Could Not Be Completed

since you just opened a HJT thread you shouldn't be asking for advise hereAnd by forum quasi rules I shouldn't give anyAnyway that looks like a custom computerhttp://www.michaelstevenstech.com/XPrepairinstall.htmI hope the dog didn't eat the cd

Read other 2 answers
RELEVANCY SCORE 56.4

Hello,
I want to use 'sysprep' but when i use it, it says: 'fatal error' so I searched for some help and some forums says that I have to change something in the 'unattend.xml' file in the sysprep folder. But I can't find that file.
Thanks in advance, G.

Read other answers
RELEVANCY SCORE 56.4

Hi Guys,
I have been trying to create an answer file to roll out alongside my Win10 image Via WDS.
I've been following as many guides as I can to try to make my unattend file to work but not joy...

Does anyone have any idea what I'm doing wrong?
First issue, it does not pick up the unattend file, i have specified it on the properties of the WDS image and named it accordingly.

I manually select the image from WinPE but the unattend does not continue or start.

<?xml version="1.0" encoding="UTF-8"?>

-<unattend xmlns="urn:schemas-microsoft-com:unattend">

<servicing/>


-<settings pass="windowsPE">


-<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Setup">


-<DiskConfiguration>

<WillShowUI>OnError</WillShowUI>


-<Disk wcm:action="modify">

<DiskID>0</DiskID>

<WillWipeDisk>true</WillWipeDisk>


-<CreatePartitions>


-<CreatePartition wcm:action="add">

<Extend>false</Extend>

<Order>1</Order>

<Size>10000</Size>

<Type>Primary</Type>

</CreatePartition> ... Read more

Read other answers
RELEVANCY SCORE 56

Assume I have a csv file (eg config.csv) set out as follows:

A,B,C
1,abc,def
2,ghi,jkl

I would like to be able to pass a batch script a parameter that uniquely identifies a line (record) in the csv file, eg:

script.cmd 2

and have the script then:

- read the line of the csv file that corresponds to the parameter given (ie 2,ghi,jkl) and
- set variables by parsing this line, eg:

set B=ghi
set C=jkl

I am very new to any form of coding, including batch scripting. I've read the help on FOR statements and searched the net and this forum but am hoping someone might be able to point me in the right direction, help me get started or provide a solution.

Thanks.
 

A:Parse csv file to set batch script variables

Read other 7 answers
RELEVANCY SCORE 56

I'm trying to Win10 deploy using sysprep and I want to specify DNS suffix in an unattend.xml file, it is not only "Local Area Connection" but also wireless adapter. How can I modify an unattend.xml file?
And which part of the name of the wireless adapter should I use as in "<Identifier>Local Area Connection</Identifier>" instead?

<Interfaces>
<Interface wcm:action=?add?>
<Ipv4Settings>
<DhcpEnabled>false</DhcpEnabled>
</Ipv4Settings>
<Identifier>Local Area Connection</Identifier>
<UnicastIpAddresses>
<IpAddress wcm:action=?add? wcm:keyValue=?1″>10.123.242.51/24</IpAddress>
</UnicastIpAddresses>
<Routes>
<Route wcm:action=?add?>
<Identifier>0</Identifier>
<Prefix>0.0.0.0/0</Prefix>
<Metric>20</Metric>
<NextHopAddress>10.123.242.1</NextHopAddress>
</Route>
</Routes>
</Interface>
</Interfaces>

Read other answers
RELEVANCY SCORE 55.6

I created an answer file using Windows System Image Manager.  In the answer file I have this text in the Specialize pass:
 <component name="Microsoft-Windows-Security-SPP-UX" 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">
            <SkipAutoActivation>false</SkipAutoActivation>
        </component>
I still have to activate Windows manually at first login. I don't have to enter the key, just run the activation.  This is Windows 7 Enterprise 32-bit.
How do I get Windows to activate automatically when I apply the wim file?

Read other answers
RELEVANCY SCORE 55.6

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 need to change?
I tried to edit it, but still I get the same Status Code.

Here are the errors that I recive:
http://i.imgur.com/RIzVm.png
In my book they say: ''You need to change your settings'', but in what do I have to change them?

Thanks in Advance,


DummyArbiter010

A:Windows 7 Answer File Error Messages

Is anyone able to help me out?

Read other 4 answers
RELEVANCY SCORE 55.6

Lately, i seem to be installing alot of copies of windows and have now resigned to the fact that the Automated Answer File Installation is probably my best bet. I have never done this before and I am wondering how exactly do you set it up and get it to work properly?
 

A:Windows Installation Automated Answer File?

You have a volume license for Windows? Is this XP or Vista? Have you searched for "Unattended installs"?
 

Read other 1 answers
RELEVANCY SCORE 55.2

Good Afternoon All,

This is my first post so if I inadvertently insult anyone through my mannerism I apologize in advance.

So the puzzle is that my company creates programs for our clients and would like me to create a batch file that can be placed on the desktop and auto-copy all of the files to the new destination overwriting the old ones.

This is no problem for me, the problem I have is that they are all in different areas, so I wrote some code to extract the information from the Registry key and write it to a .txt file.

I now need to parse to the last name and just be able to copy out the directories name and give it a value I can then use in the rest of my code.

Thanks so much for any help in advance.

P.S: This is what I see from the registry file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\xxxxxxx\xxxxxxxx]
"DATABASEINSTANCE"="xxx\\xxxxxxxxx"
"AUTHENTICATIONTYPE"="0"
"USERNAME"=""
"PASSWORD"=""
"TARGETDIR"="D:\\Program Files\\xxxxxx\\xxxxxxx\\"

I just need this part as a variable to be able to finish off the code D:\\Program Files\\xxxxxx\\xxxxxxx\\

and boy am i struggling

A:Unable to correctly parse lines in a .txt file through batch

Don't know if you already solved this or not... Anyway, here's a solution.


Code:
@ECHO OFF
setlocal ENABLEDELAYEDEXPANSION
for /f "delims=!!!" %%x in ('type test.txt ^| find "TARGETDIR"') do set REG=%%x
set REG=%REG:"TARGETDIR"=%
for /f "delims==" %%a in ("%REG%") do set DIR=%%a
set DIR=%DIR:"=%
echo DIR = %DIR%
Change the filename from test.txt to your file
The code will read that file and search for the line with TARGETDIR
Then remove "TARGETDIR"
Then only keep what's after the equal sign
And finally delete the quote signs in the path
The path is then stored in the variable DIR

Read other 1 answers
RELEVANCY SCORE 55.2

I'm not a script expert but I'm trying to right something simple (or so I believe).

I want to run a command in a batch file: systeminfo

This command returns a lot of information.

I want to be able to extract two lines and place their content into variables, more specifically, "Host Name" and "System Up Time". Than I would write them to a file (as if it was a log). I already got something similar doing the following:

systeminfo | find /i "Host Name" >> text.txt
systeminfo | find /i "System Up Time" >> text.txt


The problem is that this only creates a string that I can't treat. I would like the "System Up Time" to be broken into hours, minutes and seconds (or translated into seconds) because I want to add a statement that if the "system up time" is less than 10 minutes, then do something.

Is this possible?
Is there any other command that I can use?
Any help is appreciated.

Read other answers
RELEVANCY SCORE 55.2

My computer has failed to install a mobile operating system!











Solved!
View Solution.

A:Parse error at line 1: unexpected end of file. C:\Program Fi...

I need an answer! Please.

Read other 2 answers
RELEVANCY SCORE 55.2

I have followed all of the basic guidelines I can find and used my experience from taking my MCTS 70-680 to create an answer file. I used WSIM and copied the Install.wim file from the sources directory on a Windows disk to my machine locally and used that
to start making the answer file. I included everything I needed in Windows PE Pass 1 and validated the file and found no errors. I saved it as 'Autounattend.xml' onto a USB and booted from the Windows 7 media with my USB attatched, and it doesn't seem to be
working? It keeps asking me for the language settings, accepting the EULA etc. Is there something I've done wrong? I don't want to have to touch my laptop at all, I just want an unattended installation. Can anyone help please?

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
        <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">
            <DiskConfiguration>
                <Disk wcm:action="add">
     ... Read more

A:Answer file is not working when I attempt to install Windows 7?

en-GB is not always a valid locale in Windows 7. It was added in Windows 8. Try something like this (I found in a sample file I have)
<component name="Microsoft-Windows-International-Core-WinPE" 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>0809:00000809</InputLocale>
<UserLocale>en-GB</UserLocale>
<UILanguage>en-US</UILanguage>
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
</component>


EDIT: I wanted to add that some USB Keys aren't always seen prior to Setup.exe launching from DVD on all boards. If it still does not see the answer file after fixing the locale issue, you may need to try a different USB key.

Read other 2 answers
RELEVANCY SCORE 55.2

I am having difficulty with my deployment images for 64 bit system as it does not appear to provide the answers correctly in a 64 bit environment but does work as I intend on 32 bit systems.
I am not using the full toolset from WAIK, in particular no WSIM tools are in play. I instead used a web resource to build an initial answer file and modified it until it behaved the way I was intending. I used the answer file initially created at the http://windowsafg.no-ip.org/ website.
This answer file has all of the same components/settings defined for both 32 bit (x86) and 64 bit (amd64) sections throughout, so I am expecting my first boot experience to be the same regardless of the OS architecture. They are not behaving the same.
My 32 Bit systems come up and only prompt for the COMPUTERNAME and Time/Timezone information which is all I want. Everything else is incorporated into my image file and the answer file.
My 64 Bit systems come up and go through all of the first boot prompting, including username, computername, locale, language, location, passwords, Windows Update settings, network location. My 64 Bit systems are behaving as if I have no answer file at all. I need it to prompt for the same information as my 32 Bit systems, just Computername and Time/Timezone.
My images are all prepared the same way with the same tools. The only difference is the partition size for my SystemReserved partition as my 32 bit systems use a 100MB partition and my 64 bit systems use a 1GB partitio... Read more

Read other answers
RELEVANCY SCORE 55.2

I'm understand what's behind setting up a share for drivers and putting it in the answer file.   I was going to set something up along the lines of this default example from Microsoft:

<?xml version="1.0" encoding="utf-8" ?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
   <settings pass="windowsPE">
      <component name="Microsoft-Windows-PnpCustomizationsWinPE" 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">
         <DriverPaths>
            <PathAndCredentials wcm:keyValue="1" wcm:action="add">
               <Credentials>
                  <Domain>Fabrikam</Domain>

                  <Password>MyPassword</Password>

                &... Read more

Read other answers
RELEVANCY SCORE 54.8

Hello! Could someone please help me?

My windows XP Pro recently freeze up frequently and I couldn't even get to Safe mode so I did a repair. No dice. So, I re-formatted my hard disk and re-installed windows XP. Well, after copying the files into the hard drive, the computer will hang right at either "Please wait while setup initializes your Windows XP configuration" (and the word below are ..Saving configuration) or it will hang at "Loading information file dmreg.inf". I even bought a new HD, no luck with that. I used memtest86 to test the RAM, no error! I took everything off except the video card..still ...no help. I read somewhere about the PSU. Well, I checked in the BIOS setup, and the voltages are where they supposed to be!

Could someone please help me??
 

A:I can't get pass this...loading information file dmreg.inf for Windows XP

That problem is often there when my clients are using AVG Anti-spyware free edition. If using that, remove and reinstall.
 

Read other 6 answers
RELEVANCY SCORE 54.8

I was using WDS on a server running Windows Server 2008 R2 and wish to deploy Windows 7 Pro operating system to a new PC. I made two unattend files: one is applied to the WDS server to specify language and locale settings, login credential and the install
image which is located in the RemoteInstall\WdsClientUnattend folder, and the other one is applied to the install image to do the customization during the specialize and oobe phase. However, the former unattend file never worked.I still need to select language
and enter the credential. The later unattend file worked pretty good. I found no related errors in the setupact.txt.
Can anyone help me figure out the problem?
Here is the content of the Unattend.xml
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" 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">
<SetupUILanguage>
<UILanguage>zh-CN</UILanguage>
</SetupUILanguage>
<InputLocale>zh-CN</InputLocale>
<LayeredDriver... Read more

Read other answers
RELEVANCY SCORE 54.4

Hello all,
I am trying to get my answer file below to work, when I apply the answer file during the sysprep - using command  sysprep.exe /oobe /generalize /shutdown /unattend:autounattend.xml  - and then capture the image, Windows Welcome isn't
bypassed when applying the newly captured image.
Specifically, the language settings screen, and the "input username" screen appear upon applying the newly captured image.  Even though I have the language settings defined in the answer file.
I have searched high and low on these forums for an existing thread that would explain why this doesn't work and haven't found one.
Any assistance would be greatly appreciated!
Note:  This is for a Windows 7 64bit Enterprise install, and the passwords and product key are xxxxx'd out for security on the answer file below.
<?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">
<OOBE>
<HideWirelessSetupInOOBE>true</Hid... Read more

Read other answers