Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unattend.xml - how to create 500GB or less partition

Featured Replies

When using a Win7 xml file, I want it to create a single partition for Win7 OS. The size of the the target disk is unknown (the xml will be used on many different systems).

It seems I can

1. Specify an exact size

2. Extend the partition to maximum size

 

However, what I want is that the OS partition should be a maximum of 500GB - if the disk is any larger than this then the remaining space should be left unpartitioned.

 

e.g. a 250GB HDD will have a 250GB OS partition, a 1TB HDD will have a 500GB OS partition and the rest of the space left alone.

 

Is this possible?

Edited by steve6375

It is possible, but not using Setup and an unattend alone. You'd need to use some form of wrapper to do the following:

1. If Disk 0 exist, determine the disk size.

2. If disk size 500GB or lower, use XML#1

3. If disk size 501GB or larger, use XML#2

4. Launch setup.exe with unattend switch pointing to the desired XML file.

For the two different XML files, #1 will be the type to create full disk partition, #2 will only create 500GB partition.

This is the first thing I can think of. You'd need to use some sort of programming or scripting language (maybe even batch can do it) for the wrapper.

  • Author

Thanks for the reply. I had thought of using two different XML files. I just wondered if it could be done within the XML.

cheers

Steve

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.