Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Ask your Seven xml ? here


  • Please log in to reply
598 replies to this topic

#51
johnhc

johnhc

    MSFN Junkie

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,362 posts
  • Joined 02-March 08
  • OS:Windows 7 x64
  • Country: Country Flag

Hi everyone, I did post alone, but I'm sorry, I should have posted it here. I'm also sorry for the double post, but I'm desperate to get this sorted and I've tried so many different things.

I'm successfully deploying an image - although it still asks me which images to install; it doesn't add the PC to the domain and the UI language is still en-US. I got the files from this forum and edited them (I am using both: ImageUnattend and WDSClientUnattend) - but I'm sure I'm missing something simple.

This is my first time using Deployment services etc., so I'm not 100% sure where everything is. It appears to be working for the most part, because I can select an image manually and the installation continues perfectly, with no problems. But as I want to deploy this image to 500 PCs, I can't go around to each one! Also, our domain has a 'long' and 'short' name - I read somewhere on here that you should use the 'short' version, is this correct?

So, I just want it to know which image to install, add it to the domain and change the UI language, if possible.

Thanks for taking the time to read.

stephaniei, I cannot help with your problems, but have you run Windows System Image Manager (WSIM, part of WAIK) against your .xml files? I found it to be very useful in making changes and verifying the .xml. Good luck, John.

EDIT: I looked some more at your .xml and wonder about a couple of things: My .xml has this code and I do not get asked about the image:

<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 ULTIMATE</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>

I also see you have the EN-US code (0409) in several places. Perhaps it should be 0809 - please see here. In the unattend.chm is this code for joining a domain. I do not use this, so don't know if it is relavent, but please look at the unattend.chm for help.

<Identification>
<Credentials>
<Domain>fabrikam.com</Domain>
<Password>MyPassword</Password>
<Username>MyUserName</Username>
</Credentials>
<JoinDomain>fabrikam.com</JoinDomain>
<MachinePassword>ComputerPassword</MachinePassword>
</Identification>

Hope some of this helps. Oops, looks like the forum quote mechanism has messed up the formatting - sorry about that.

Edited by johnhc, 18 May 2010 - 12:05 PM.



How to remove advertisement from MSFN

#52
stephaniei

stephaniei
  • Member
  • 3 posts
  • Joined 13-May 10
  • OS:XP Pro x86
Thanks for this John, much appreciated. I've now got a seperate issue, so can't see if this is working yet. But I will let you know how I get one once I've solved the other problem.

Steph

#53
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,817 posts
  • Joined 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Donator

Oooo I have some questions! Can these be accomplished with the unattend? CLG for Windows 7 Pro x86. I checked the help file and can't find anything, so I won't be disappointed if no one else knows.

1. Taskbar Style. Let's say a user makes the taskbar half-height, wan't the wide minimized boxes and sets a smaller font size.

2. Desktop icon arrangement. I already have icons in the Public Desktop, and are arranged in certain places on the desktop in Audit Mode. After sysprep, these icons are still there but are now set to auto-arrange by name.

3. Start Panel being blank. Take your regular Windows 7 (not classic) start panel and remove all the recently used and pinned icons and this place is blank. After sysprep, the default items appear.

4. Start Menu items. We know you can manually customize what items are in the Start Menu such as Computer, printers, etc. If you specify a custom arrangement in Audit Mode and sysprep, the default menu items return.

5. Profile Picture. By default, Windows will randomly pick one of the built-in "avatars" for a new user. Can I specify a specific picture instead?

That's it for now!
MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
msfn2_zpsc37c7153.jpg

#54
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,888 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
All that happens to me when I run Audit so instead I have switched to using either Setupcomplete.cmd or Firstlogoncommands to do some of these things. I have not seen where you can do this with xml

I copy my Start items during Firstlogoncommands

Far as user picture I copy my bmp to 2 places on mounted wim
\ProgramData\Microsoft\User Account Pictures\user.bmp
\ProgramData\Microsoft\User Account Pictures\Default Pictures\usertile0.bmp

Also run my tweaks at Firstlogoncommands and might require a reboot to get them applied to HKLM
Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#55
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,817 posts
  • Joined 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Donator

I found the only (supported) options for me are the Wallpaper and the User Tile. The other ones I can't change due to licensing restrictions!

For the wallpaper, I used DesktopBackground child of Themes object, but Windows picks the default. Possible reason: ComputerName page in OOBE is set to not display!

Same type deal for User Tile. This is set by OOBE.XML, and I checked the Panther logs and it does show it reads that file and locates the custom user tile. However, documentation says that Windows will choose one of the default icons if User Name page in OOBE is hidden!

User Tile has been confirmed by the documentation, however DesktopBackground isn't as easy to figure out. Here is an example:

User Tile info:

If this page is not displayed, a user tile will be automatically selected for the user. There is no Unattend.xml setting to set a user tile.


And DesktopBackground:

This page also controls the initial wallpaper choice. If this page is not displayed, the first Windows desktop wallpaper will be selected by default.
Note
This can be set by specifying a theme in Unattend.xml, but this setting will not influence whether this page is displayed or not.


The first part makes sense, but the Note makes me think you should be able to specify it even if the Computer Name field is hidden....

Quotes from here:
http://technet.micro...376(WS.10).aspx
MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
msfn2_zpsc37c7153.jpg

#56
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,888 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
Thanks for the information
I done theme here http://www.msfn.org/...-with-your-xml/
Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#57
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,817 posts
  • Joined 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Donator

Update: You can specify a wallpaper with DesktopBackground, but that object will not be used unless a ThemeName is also specified. For my purposes, I use "aero" as my ThemeName. So for example, this DOES NOT work:

<Themes>
				<DesktopBackground>c:\wallpaper.jpg</DesktopBackground>
			</Themes>

But this DOES work:

<Themes>
				<ThemeName>aero</ThemeName>
				<DesktopBackground>c:\wallpaper.jpg</DesktopBackground>
			</Themes>

:thumbup
MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
msfn2_zpsc37c7153.jpg

#58
grabben

grabben

    -Grabben

  • Member
  • PipPipPipPip
  • 601 posts
  • Joined 20-December 09
  • OS:Windows 7 x64
  • Country: Country Flag
hm.. Ive been looking around for myself but i dont seem to be able to find a proper one, or perhaps im alittle dumb;)

I want the unattended setup to create three partitions @ different sizes, format as ntfs and assign three different driveletters. How can i do that?

#59
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,888 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
You do it similar to this in <settings pass="windowsPE">
This example makes that small System Partition if you want.
Can also make the 2nd partition extend to end of drive
<DiskConfiguration>
  <Disk wcm:action="add">
    <DiskID>0</DiskID>
     <WillWipeDisk>true</WillWipeDisk>
     <CreatePartitions>
      <CreatePartition wcm:action="add">
        <Order>1</Order>
         <Type>Primary</Type>
         <Size>300</Size>
       </CreatePartition>
      <CreatePartition wcm:action="add">
        <Order>2</Order>
         <Type>Primary</Type>
         <Extend>true</Extend>
       </CreatePartition>
    </CreatePartitions>
    <ModifyPartitions>
      <ModifyPartition wcm:action="add">
        <Order>1</Order>
         <PartitionID>1</PartitionID>
         <Label>System</Label>
         <Format>NTFS</Format>
         <Active>true</Active>
       </ModifyPartition>
      <ModifyPartition wcm:action="add">
        <Order>2</Order>
         <PartitionID>2</PartitionID>
         <Label>Windows</Label>
         <Letter>C</Letter>
         <Format>NTFS</Format>
       </ModifyPartition>
    </ModifyPartitions>
  </Disk>
  <WillShowUI>OnError</WillShowUI>
</DiskConfiguration>

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#60
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag

Update: You can specify a wallpaper with DesktopBackground, but that object will not be used unless a ThemeName is also specified. For my purposes, I use "aero" as my ThemeName. So for example, this DOES NOT work:

<Themes>
				<DesktopBackground>c:\wallpaper.jpg</DesktopBackground>
			</Themes>

But this DOES work:

<Themes>
				<ThemeName>aero</ThemeName>
				<DesktopBackground>c:\wallpaper.jpg</DesktopBackground>
			</Themes>

:thumbup

Thanks! :rolleyes:
This one works fine also:

<settings pass="oobeSystem">

<Themes>
   <ThemeName>aero</ThemeName>
   <DesktopBackground>%WINDIR%\Web\Wallpaper\Landscapes\img7.jpg</DesktopBackground>
   <DefaultThemesOff>false</DefaultThemesOff>
</Themes>
Cheers

Edited by myselfidem, 06 November 2010 - 12:26 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#61
grabben

grabben

    -Grabben

  • Member
  • PipPipPipPip
  • 601 posts
  • Joined 20-December 09
  • OS:Windows 7 x64
  • Country: Country Flag
I still hate the this crap.

Edited by grabben, 06 November 2010 - 04:02 AM.


#62
grabben

grabben

    -Grabben

  • Member
  • PipPipPipPip
  • 601 posts
  • Joined 20-December 09
  • OS:Windows 7 x64
  • Country: Country Flag

You do it similar to this in <settings pass="windowsPE">
This example makes that small System Partition if you want.
Can also make the 2nd partition extend to end of drive

<diskconfiguration>
  <disk wcm:action="add">
    <diskid>0</diskid>
 	<willwipedisk>true</willwipedisk>
 	<createpartitions>
      <createpartition wcm:action="add">
        <order>1</order>
     	<type>Primary</type>
     	<size>300</size>
   	</createpartition>
      <createpartition wcm:action="add">
        <order>2</order>
     	<type>Primary</type>
     	<extend>true</extend>
   	</createpartition>
    </createpartitions>
    <modifypartitions>
      <modifypartition wcm:action="add">
        <order>1</order>
     	<partitionid>1</partitionid>
     	<label>System</label>
     	<format>NTFS</format>
     	<active>true</active>
   	</modifypartition>
      <modifypartition wcm:action="add">
        <order>2</order>
     	<partitionid>2</partitionid>
     	<label>Windows</label>
     	<letter>C</letter>
     	<format>NTFS</format>
   	</modifypartition>
    </modifypartitions>
  </disk>
  <willshowui>OnError</willshowui>
</diskconfiguration>



Thanks for the reply.. I actually succeeded in making one myself completely but it doesnt work:/

[code=auto:0]
<!--?xml version="1.0" encoding="utf-8"?--><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" processorarchitecture="x86" publickeytoken="31bf3856ad364e35" language="neutral" versionscope="nonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance"> <diskconfiguration> <disk wcm:action="add"> <createpartitions> <createpartition wcm:action="add"> <order>1</order> <size>12000</size> <type>Primary</type> </createpartition> <createpartition wcm:action="add"> <order>2</order> <size>300</size> <type>Primary</type> </createpartition> <createpartition wcm:action="add"> <order>3</order> <type>Primary</type> <size>20000</size> </createpartition> </createpartitions> <modifypartitions> <modifypartition wcm:action="add"> <active>false</active> <extend>false</extend> <format>NTFS</format> <label>Recovery</label> <letter>R</letter> <order>1</order> <partitionid>1</partitionid> <typeid>0x27</typeid> </modifypartition> <modifypartition wcm:action="add"> <active>true</active> <extend>false</extend> <format>NTFS</format> <label>System</label> <letter>S</letter> <order>2</order> <partitionid>1</partitionid> <typeid>0x27</typeid> </modifypartition> <modifypartition wcm:action="add"> <active>false</active> <extend>false</extend> <format>NTFS</format> <label>Windows</label> <letter>C</letter> <order>3</order> <partitionid>1</partitionid> <typeid>1</typeid> </modifypartition> </modifypartitions> <willwipedisk>true</willwipedisk> <diskid>0</diskid> </disk> <willshowui>OnError</willshowui> </diskconfiguration> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorarchitecture="x86" publickeytoken="31bf3856ad364e35" language="neutral" versionscope="nonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance"> <oobe> <hideeulapage>true</hideeulapage> </oobe> </component> </settings> <cpi:offlineimage cpi:source="catalog:d:/7integrator/dvd/sources/install_windows 7 Homebasic.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi"></cpi:offlineimage></unattend>

</settings><div><settings pass="windowsPE"><br></settings></div><div><settings pass="windowsPE"><br></settings></div><div><settings pass="windowsPE">I f. hate msfn's editor.. It doesnt work properly in Chrome....</settings></div><div><settings pass="windowsPE"><br></settings></div>

Edited by grabben, 06 November 2010 - 04:07 AM.


#63
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,888 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
I can't read it to see what is wrong.
Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#64
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,888 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
Ok here it is I forgot some things last night like InstallTo. This is working right now in VM. I have a 40GB drive there so adjust as needed. Last drive under <CreatePartitions> don't put size but do add the <Extend>true</Extend>

<DiskConfiguration>
			<WillShowUI>OnError</WillShowUI>
			<Disk wcm:action="add">
			  <DiskID>0</DiskID>
			  <WillWipeDisk>true</WillWipeDisk>
			  <CreatePartitions>
				<CreatePartition wcm:action="add">
				  <Order>1</Order>
				  <Size>15000</Size>
				  <Type>Primary</Type>
				</CreatePartition>
				<CreatePartition wcm:action="add">
				  <Order>2</Order>
				  <Extend>true</Extend>
				  <Type>Primary</Type>
				</CreatePartition>
			  </CreatePartitions>
			  <ModifyPartitions>
				<ModifyPartition wcm:action="add">
				  <Format>NTFS</Format>
				  <Label>WIN7</Label>
				  <Letter>C</Letter>
				  <Order>1</Order>
				  <PartitionID>1</PartitionID>
				</ModifyPartition>
				<ModifyPartition wcm:action="add">
				  <Active>false</Active>
				  <Format>NTFS</Format>
				  <Label>Test</Label>
				  <Letter>D</Letter>
				  <Order>2</Order>
				  <PartitionID>2</PartitionID>
				</ModifyPartition>
			  </ModifyPartitions>
			</Disk>
		  </DiskConfiguration>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows 7 HOMEPREMIUM</Value>
                        </MetaData>
                    </InstallFrom>
					<InstallTo>
					  <DiskID>0</DiskID>
					   <PartitionID>1</PartitionID>
					 </InstallTo>
                </OSImage>
            </ImageInstall>

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#65
grabben

grabben

    -Grabben

  • Member
  • PipPipPipPip
  • 601 posts
  • Joined 20-December 09
  • OS:Windows 7 x64
  • Country: Country Flag

Ok here it is I forgot some things last night like InstallTo. This is working right now in VM. I have a 40GB drive there so adjust as needed. Last drive under <CreatePartitions> don't put size but do add the <Extend>true</Extend>

<DiskConfiguration>
			<WillShowUI>OnError</WillShowUI>
			<Disk wcm:action="add">
		  	<DiskID>0</DiskID>
		  	<WillWipeDisk>true</WillWipeDisk>
		  	<CreatePartitions>
				<CreatePartition wcm:action="add">
			  	<Order>1</Order>
			  	<Size>15000</Size>
			  	<Type>Primary</Type>
				</CreatePartition>
				<CreatePartition wcm:action="add">
			  	<Order>2</Order>
			  	<Extend>true</Extend>
			  	<Type>Primary</Type>
				</CreatePartition>
		  	</CreatePartitions>
		  	<ModifyPartitions>
				<ModifyPartition wcm:action="add">
			  	<Format>NTFS</Format>
			  	<Label>WIN7</Label>
			  	<Letter>C</Letter>
			  	<Order>1</Order>
			  	<PartitionID>1</PartitionID>
				</ModifyPartition>
				<ModifyPartition wcm:action="add">
			  	<Active>false</Active>
			  	<Format>NTFS</Format>
			  	<Label>Test</Label>
			  	<Letter>D</Letter>
			  	<Order>2</Order>
			  	<PartitionID>2</PartitionID>
				</ModifyPartition>
		  	</ModifyPartitions>
			</Disk>
	  	</DiskConfiguration>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows 7 HOMEPREMIUM</Value>
                        </MetaData>
                    </InstallFrom>
					<InstallTo>
				  	<DiskID>0</DiskID>
				       <PartitionID>1</PartitionID>
				     </InstallTo>
                </OSImage>
            </ImageInstall>



Thankyou so much max! I will try this in a couple of hours!



#66
grabben

grabben

    -Grabben

  • Member
  • PipPipPipPip
  • 601 posts
  • Joined 20-December 09
  • OS:Windows 7 x64
  • Country: Country Flag

Ok here it is I forgot some things last night like InstallTo. This is working right now in VM. I have a 40GB drive there so adjust as needed. Last drive under <CreatePartitions> don't put size but do add the <Extend>true</Extend>

<DiskConfiguration>
			<WillShowUI>OnError</WillShowUI>
			<Disk wcm:action="add">
		  	<DiskID>0</DiskID>
		  	<WillWipeDisk>true</WillWipeDisk>
		  	<CreatePartitions>
				<CreatePartition wcm:action="add">
			  	<Order>1</Order>
			  	<Size>15000</Size>
			  	<Type>Primary</Type>
				</CreatePartition>
				<CreatePartition wcm:action="add">
			  	<Order>2</Order>
			  	<Extend>true</Extend>
			  	<Type>Primary</Type>
				</CreatePartition>
		  	</CreatePartitions>
		  	<ModifyPartitions>
				<ModifyPartition wcm:action="add">
			  	<Format>NTFS</Format>
			  	<Label>WIN7</Label>
			  	<Letter>C</Letter>
			  	<Order>1</Order>
			  	<PartitionID>1</PartitionID>
				</ModifyPartition>
				<ModifyPartition wcm:action="add">
			  	<Active>false</Active>
			  	<Format>NTFS</Format>
			  	<Label>Test</Label>
			  	<Letter>D</Letter>
			  	<Order>2</Order>
			  	<PartitionID>2</PartitionID>
				</ModifyPartition>
		  	</ModifyPartitions>
			</Disk>
	  	</DiskConfiguration>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/IMAGE/NAME</Key>
                            <Value>Windows 7 HOMEPREMIUM</Value>
                        </MetaData>
                    </InstallFrom>
					<InstallTo>
				  	<DiskID>0</DiskID>
				       <PartitionID>1</PartitionID>
				     </InstallTo>
                </OSImage>
            </ImageInstall>


Forget it.. Yours works fine in VMware but mine doesnt..

All i did was to change to this:



<CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Order>1</Order>
                            <Size>12000</Size>
                            <Type>Primary</Type>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">
                            <Order>2</Order>
                            <Size>300</Size>
                            <Extend>true</Extend>
                            <Type>Primary</Type>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">
                            <Order>3</Order>
                            <Extend>true</Extend>
                            <Type>Primary</Type>
                        </CreatePartition>
                    </CreatePartitions>

And i also made these changes


 <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Format>NTFS</Format>
                            <Label>Recovery</Label>
                            <Letter>R</Letter>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                            <TypeID>0x27</TypeID>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Label>System</Label>
                            <Letter>S</Letter>
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Format>NTFS</Format>
                            <Label>System</Label>
                            <Letter>W</Letter>
                            <Order>3</Order>
                            <PartitionID>3</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>

Reason Im asking is beacuse a guy on MDL Forum has made a recovery tool and instead of having to create partitions yourself I/we want the unattended to create them automatically.
I have asked in that forumthread but no response yet. I also want the first 12 GB partition to be an OEM Recovery partition with "set id=27" (0x27?) and i want windows to install to the 3rd partition (which has all the remaining space)

#67
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,888 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

I also want the first 12 GB partition to be an OEM Recovery partition with "set id=27" (0x27?) and i want windows to install to the 3rd partition (which has all the remaining space)

That my friend I have been working on and no solution yet here. The OEM reinstall partition
Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#68
grabben

grabben

    -Grabben

  • Member
  • PipPipPipPip
  • 601 posts
  • Joined 20-December 09
  • OS:Windows 7 x64
  • Country: Country Flag


I also want the first 12 GB partition to be an OEM Recovery partition with "set id=27" (0x27?) and i want windows to install to the 3rd partition (which has all the remaining space)

That my friend I have been working on and no solution yet here. The OEM reinstall partition


Well allright let skip that:)

And the other? It is right, right?

#69
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,888 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

OEM Recovery partition with "set id=27" (0x27?)

found this
Set CreatePartition\Type to Primary, and then set TypeID to 0x27
Don't think you set a drive letter
will try when I get a chance but messing with integrate sp1 RC right now

I have Dell utility that does this but it was too small at 4gb but my dell recovery was 10Gb untill I accidentally lost it

Edited by maxXPsoft, 06 November 2010 - 06:31 PM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#70
grabben

grabben

    -Grabben

  • Member
  • PipPipPipPip
  • 601 posts
  • Joined 20-December 09
  • OS:Windows 7 x64
  • Country: Country Flag

OEM Recovery partition with "set id=27" (0x27?)

found thisSet CreatePartition\Type to Primary, and then set TypeID to 0x27Don't think you set a drive letterwill try when I get a chance but messing with integrate sp1 RC right nowI have Dell utility that does this but it was too small at 4gb but my dell recovery was 10Gb untill I accidentally lost it

Thanks maxXPsoft.Well i set 0x27 I just hope i wrote a zero and not "o" :P

Edit: Hm now i got one working! Creating three partitions etc..

<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...kConfiguration> <Disk wcm:action="add"> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> <CreatePartitions> <!-- Recovery partition --> <CreatePartition wcm:action="add"> <Order>1</Order> <Type>Primary</Type> <Size>1200</Size> </CreatePartition> <!-- System partition --> <CreatePartition wcm:action="add"> <Order>2</Order> <Type>Primary</Type> <Size>300</Size> </CreatePartition> <!-- Windows partition --> <CreatePartition wcm:action="add"> <Order>3</Order> <Type>Primary</Type> <Extend>true</Extend> </CreatePartition> </CreatePartitions> <ModifyPartitions> <!-- Recovery partition --> <ModifyPartition wcm:action="add"> <Order>1</Order> <PartitionID>1</PartitionID> <Label>Recovery</Label> <Format>NTFS</Format> <TypeID>0x27</TypeID> </ModifyPartition> <!-- System partition --> <ModifyPartition wcm:action="add"> <Order>2</Order> <PartitionID>2</PartitionID> <Label>System</Label> <Format>NTFS</Format> <Active>true</Active> </ModifyPartition> <!-- Windows partition --> <ModifyPartition wcm:action="add"> <Order>3</Order> <PartitionID>3</PartitionID> <Label>Windows</Label> <Letter>C</Letter> <Format>NTFS</Format> </ModifyPartition> </ModifyPartitions> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration><ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>3</PartitionID> </InstallTo> </OSImage></ImageInstall> </component> </settings> <cpi:offlineImage cpi:source="catalog:d:/7integrator/dvd/sources/install_windows 7 Homebasic.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>

Edited by grabben, 07 November 2010 - 07:28 AM.


#71
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,888 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Attached File  recovery.png   6.43KB   25 downloads
40 gb in VM
:thumbup that was it. You have to create the small <!-- System partition --> then this will work.
Currently installing with a 10000 recovery partition which will be big enough to expand the boot.wim there and add a custom install.wim.

Now to work out all that stuff.

Edited by maxXPsoft, 08 November 2010 - 04:07 PM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#72
grabben

grabben

    -Grabben

  • Member
  • PipPipPipPip
  • 601 posts
  • Joined 20-December 09
  • OS:Windows 7 x64
  • Country: Country Flag

Attached File  recovery.png   6.43KB   25 downloads40 gb in VM :thumbup that was it. You have to create the small then this will work.Currently installing with a 10000 recovery partition which will be big enough to expand the boot.wim there and add a custom install.wim.Now to work out all that stuff.

A small systempartition? Hm Ill try it next time I will reinstall Windows. Thanks for your help!.I found a working unattended at technet website which had 3 partitions (recovery, system, windows).

Here it is: MS Technet TypeID

Edited by grabben, 09 November 2010 - 10:10 AM.


#73
coucou

coucou

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 837 posts
  • Joined 01-January 04
Hi maxXPsoft an grabben,

I follow up yr very interesting Partition discussion.
I'm looking for partioning a 1 TB Hard disk to 5 partitions when the C:, D:, E: and F: be sized to 100GB and G: the rest.
So I've few questions.
1) What the minimum allowing size for the Recovery and the system partitions (in Primary partition)?
2) How to configure the Extended partition and the Logical drives?

BTW,yr link is bad

A small systempartition? Hm Ill try it next time I will reinstall Windows. Thanks for your help!.
I found a working unattended at technet website which had 3 partitions (recovery, system, windows).
Here it is: http://technet.micro...563(WS.10).aspx


Regards

#74
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,888 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Are you looking at adding the Recovery which usually goes at start of drive? If not then you won't need otherwise my Dell had a 15gb recovery I lost. I see it don't really need like a 10Gb. Extract boot.wim there and your custom install.wim. WORK IN PROGRESS

System partition is the small 200-300mb part that is used for repair and such and is not needed actually, you can eliminate it and combine into the Windows partition unless you are doing the Recovery.

How to configure? Are you going to do this with xml? Waik.chm has 5 drives included in it
Me i'd split that into 3 partitions, Windows, Backup location for files, spare i can move all of first 2 partitions to in case and maybe an Acronis Image location
Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#75
coucou

coucou

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 837 posts
  • Joined 01-January 04
Hi maxXPsoft,

Usually I never used a Recovery partition, I'm using a Backup disk (logical partition).
Maybe it's a time to use Recovery partition for end users. Isn't it?

Actually (under VMWare), when I start Win7 installation I must go through the partition mode. Although i suppress the system partition, it created automatically.

I want to split the disk in 5 partition Windows, Data (Documents, Favorites, outlook...), Backup (Norton Ghost images and .ISO files), Download, Temp (all working and rubbish files). I'm looking to do this with .xml.

Edited by coucou, 09 November 2010 - 09:53 AM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users



How to remove advertisement from MSFN