Share via


Size (Standard 8 Module Reference)

7/8/2014

Review the applicable Embedded Core modules and any examples for the Size setting in Windows Embedded 8 Standard (Standard 8).

This setting contains an integer that specifies the size to extend a partition, the size of a partition or operating system page file to create, or the size of cache.

Modules

The following table shows the modules that you can apply this setting to. In Image Configuration Editor (ICE), you can follow the corresponding path to set this setting for a module.

Module

Path

Setting Description

Deployment

Products/Embedded Core/Deployment/ExtendOSPartition/Size

Specifies the size, in megabytes, to extend the partition on which you are installing Windows Embedded 8 Standard (Standard 8). If the total value of the current size of the partition plus this setting exceeds the available space, then the partition is not extended.

For the partition to be extended, there must be unpartitioned space immediately following it on the hard disk.

This setting or Extend are required if you installed Standard 8 by using a sector-based imaging solution and now plan to extend the partition. This setting is valid only for NTFS file system partitions.

JJ963318.note(en-us,WinEmbedded.81).gifNote:
If this setting and Extend are both set, the system logs an error and stops installation.

Setup

Products/Embedded Core/Setup/DiskConfiguration/Disk/CreatePartitions/CreatePartition/Size

Specifies the size of the partition to create, in megabytes. For example, to create a 2 GB partition, set Size to 2000.

Setup

Products/Embedded Core/Setup/PageFile/Size

Specifies the size, in megabytes, of the operating system page file to create. This setting applies only to the page file on the system, and not to the page file of the installation that is used during Setup.

If this value is set, but there is no path specified to a page file, this value is applied to the default page file on the device.

SMBServer

Products/Embedded Core/SMBServer/Size

Specifies the size of the cache based on how the system uses memory. The following table shows the possible values.

ValueDescription
1Specifies that memory use is minimized.
2Specifies that the device balances memory usage with network performance.
3Specifies that memory use is maximized for file sharing and throughput of network applications.

XML Example

The following examples show how to set Size.

SMB Server

The following XML example shows how to specify that the device balances memory usage with network performance.

<LmAnnounce>true</LmAnnounce>
<Size>2</Size>

DiskConfiguration CreatePartition

The following XML example for the DiskConfiguration setting shows how to create two partitions on a hard drive on a BIOS/MBR-based system.

<DiskConfiguration>
    <Disk wcm:action="add">
        <DiskID>0</DiskID> 
        <WillWipeDisk>true</WillWipeDisk> 
        <CreatePartitions>

            <!-- System partition -->
            <CreatePartition wcm:action="add">
                <Order>1</Order> 
                <Type>Primary</Type> 
                <Size>300</Size> 
            </CreatePartition>

            <!-- Windows Embedded partition -->
            <CreatePartition wcm:action="add">
                <Order>2</Order> 
                <Type>Primary</Type> 
                <Extend>true</Extend> 
            </CreatePartition>
        </CreatePartitions>
    </Disk>
    <WillShowUI>OnError</WillShowUI> 
</DiskConfiguration>

For full XML examples, see Disk Configuration XML Example and System with Two Hard Drives XML Example.

For additional full XML examples and recommended partition configurations, see How to Configure UEFI/GPT-Based Hard Disk Partitions, or How to Configure BIOS/MBR-Based Hard Disk Partitions.

Deployment ExtendOSPartition Size

The following example shows how to extend a partition by 200 megabytes.

<ExtendOSPartition>
    <Size>200</Size>
</ExtendOSPartition>

Page File Size

The following XML example shows how to create a page file.

<PageFile>
   <Path>%WINDIR%\MyPagefile.sys</Path>
   <Size>512</Size>
</PageFile>

See Also

Concepts

Embedded Core Settings