locked
Need to create Hibernation partition in MDT2012 RRS feed

  • Question

  • Hi all,

    First off I'm really new to MDT2012 and I've been chosen to be the one, to figure this all out in my organization.

    I need to create a hibernation partition for one particular system we are starting to deploy with Windows 7 Pro x64.

    It's used for Intel Rapid Start Technology, and only needs to be 8GB.

    I've been doing it manually, after the OS is installed, by shrinking it then running diskpart using:

    diskpart

    select disk 0

    list disk

    create partition primary

    list partition

    set id=84 override

    Where do I script Diskpart to do this in MDT2012?

    Thanks in advance,

    Rob

    Tuesday, May 22, 2012 11:10 PM

Answers

  • Doing it under Format and Partition would not allow me to make it a Hidden Hibernation drive.

    So I ended up running a diskpart script after Windows was installed. Created a 'sub-folder" under Applications with the script in it. And selected it in the Lite-Touch menu.

    list disk
    select disk=0
    select volume=1
    shrink desired=8192 minimum=8192
    list disk
    select disk=0
    create partition primary
    list partition
    set id=84 override

    Worked like a charm.

    Thanks for the input Stephan :)

    • Marked as answer by mrZoSo Wednesday, May 23, 2012 10:30 PM
    Wednesday, May 23, 2012 10:29 PM

All replies

  • You'll be able to edit the partition scheme used by MDT by exploring the task sequence for this particular scenario.

    • Open the task sequence's properties, go to the "Task Sequence" tab.
    • Expand the "Preinstall" folder.
    • Expand the "New Computer Only" folder.

    Now you have two options;

    • Check the "Format and Parition Disk" step to see if you can configure your partition layout scheme as desired using the options provided.
    • Alternatively, you can disable this step and replace it fully with a custom diskpart script. (You would add a run command line task, and have it execute diskpart /s path-to\script.txt)

    Kind regards,

    Stephan Schwarz.


    If one of these posts answered your question or issue, please click on "Mark as answer".

    My Blog | Twitter: @Schwarz_Stephan | MCTS, MCITP, MCC.
    How to configure Windows RE/OEM Recovery Partition with MDT

    Wednesday, May 23, 2012 2:08 AM
  • Doing it under Format and Partition would not allow me to make it a Hidden Hibernation drive.

    So I ended up running a diskpart script after Windows was installed. Created a 'sub-folder" under Applications with the script in it. And selected it in the Lite-Touch menu.

    list disk
    select disk=0
    select volume=1
    shrink desired=8192 minimum=8192
    list disk
    select disk=0
    create partition primary
    list partition
    set id=84 override

    Worked like a charm.

    Thanks for the input Stephan :)

    • Marked as answer by mrZoSo Wednesday, May 23, 2012 10:30 PM
    Wednesday, May 23, 2012 10:29 PM
  • Outstanding solution.  I am hoping that MDT will be upgraded to allow for the creation of a hibernation partition during a deployment.  While you can create additional partitions in MDT, it appears that the set id=84 override command is the specific command that marks a partition for hibernation and that cannot be done as of yet in MDT unless I'm mistaken.

    Wednesday, April 23, 2014 12:56 PM