Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Worf

Windows 7 Audit problem

Recommended Posts

Hi.

EDIT: I have tried this on my spare computer and it is not detecting the AutoUnattended.xml file on the dvd. I have removed the following line from the .xml file.

cataloge:d:/source/install_Windows 7 ULTIMATE.clg"

I have created and AutoUnattended.xml file listed below and created an ISO to test on VMWare. When the installation has finished and it boots up for the first time, i am asked to enter an Admin User name and Password even though i have'nt created one.

Below is the .XML file.

Also, what does this line mean & do?

"catalog:d:/sources/install_Windows 7 ULTIMATE.clg"

Is the 'd' the drive location for the install.wim file? If so, what if your dvd-rom drive is E: or F:?

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">
<Reseal>
<Mode>Audit</Mode>
</Reseal>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
</component>
</settings>
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">
<SetupUILanguage>
<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" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">
<DiskConfiguration>
<Disk wcm:action="add">
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Format>NTFS</Format>
<Label>System</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
<TypeID>0</TypeID>
<Extend>false</Extend>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
</component>
</settings>
<cpi:offlineImage cpi:"catalog:d:/sources/install_Windows 7 ULTIMATE.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Many thanks for you help.

Regards

Work

Edited by Tripredacus

Share this post


Link to post
Share on other sites

57 views and not one person can help or doesn't know?

So much for helping......

Share this post


Link to post
Share on other sites

Also, what does this line mean & do?

"catalog:d:/sources/install_Windows 7 ULTIMATE.clg"

Is the 'd' the drive location for the install.wim file? If so, what if your dvd-rom drive is E: or F:?

:rolleyes:

d: is the location where you have created your Autounattend.xml file using: install_Windows 7 ULTIMATE.clg with WSIM!

Example mine on C:\ drive, using install.wim image:

<cpi:offlineImage cpi:source="wim:c:/Win7_SP1/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

You can remove this last line if you want! But the full line!

Edited by myselfidem

Share this post


Link to post
Share on other sites

you don't have <UserAccounts> in xml

Are you using the built in Admin or create a user. Example here

Edited by maxXPsoft

Share this post


Link to post
Share on other sites

Right, Setup doesn't do anything with the line specifying the catalog location. In fact, almost all of my unattends have the Vista catalog in them. :whistle:

Take this out of your XML:

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

Since you are booting into Audit Mode, you aren't going through OOBE pass to process those commands, so it is useless for it so be in there.

you don't have <UserAccounts> in xml

Since the XML is set to boot into Audit, having UserAccounts in the OOBE pass wouldn't get processed either.

Share this post


Link to post
Share on other sites

Hi all.

Thank you for your replies. I have done it a different way with not getting the AutoUnattended.xml to work. What i did was to press Ctrl+shift+F3 on the screen that prompts for a user name which rebooted the pc and put me into Audit mode which worked great.

Now, i have done everything that i wanted and am ready to sysprep it and make an install.wim image of my custome windows. What i need to do first though is to use copyprofile=true in an unattended.xml file to copy the profile over to the default profile. Has anyone got an .xml file that i can use for this please as i don't know if i need anything else in the .xml file.

Many thanks

Worf.

Share this post


Link to post
Share on other sites

I don't use CopyProfile, but probably some use in here:

or do a search in this sub-forum.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...