MSFN Forum: Windows 7 Audit problem - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Windows 7 Audit problem Asking for Admin user and password.

#1 User is offline   Worf 

  • Worf
  • PipPip
  • Group: Members
  • Posts: 187
  • Joined: 26-October 04

Posted 15 May 2012 - 08:02 AM

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

This post has been edited by Tripredacus: 16 May 2012 - 08:38 AM



#2 User is offline   Worf 

  • Worf
  • PipPip
  • Group: Members
  • Posts: 187
  • Joined: 26-October 04

Posted 16 May 2012 - 05:01 AM

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

So much for helping......

#3 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 May 2012 - 05:36 AM

View PostWorf, on 15 May 2012 - 08:02 AM, said:

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!

This post has been edited by myselfidem: 16 May 2012 - 06:12 AM


#4 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,747
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 May 2012 - 07:50 AM

you don't have <UserAccounts> in xml
Are you using the built in Admin or create a user. Example here http://www.msfn.org/...seven-xml-here/

This post has been edited by maxXPsoft: 16 May 2012 - 08:16 AM


#5 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,665
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 16 May 2012 - 08:42 AM

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.

Quote

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.

#6 User is offline   Worf 

  • Worf
  • PipPip
  • Group: Members
  • Posts: 187
  • Joined: 26-October 04

Posted 20 May 2012 - 03:42 AM

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.

#7 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,665
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 21 May 2012 - 09:02 AM

I don't use CopyProfile, but probably some use in here:
http://www.msfn.org/...seven-xml-here/

or do a search in this sub-forum.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy