Jump to content
DeployCentral

jnazari

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by jnazari

  1. So I found another solution:
    1. Create a text file and name it 2Partitions.txt
    2. Paste the following commands and save it
    list disk
    select disk 0
    clean
    create partition primary size=100000
    select partition 1
    format quick fs=ntfs label="OSDisk"
    assign letter=C
    active
    create partition primary
    select partition 2
    format quick fs=ntfs label="DATA"
    assign letter=D
    list vol
    exit
    Please note:
    Create a text file and name it 2Partitions.txt --> You can name the file to whatever you like
    Create partition primary size=100000 --> This line will create the first partition of size 100GB. You can change the size to whatever you wish as long as the hard drive can handle
    Create partition primary --> This line will create the second partition using the rest or remaining space on the drive
    3. Now, how to run this script in Windows PE environment. Follow the steps bellow.
    4. Boot to SmartDeploy media.
    5. Click the link at the bottom of the Welcome screen to launch a Windows PE command prompt.
    6. At the prompt key in:diskpart /s 2Psartitions.txt
    7. In my case it will look like this: X:\Windows\System32>diskpart /s E:\Script\2Partitions.txt.
    8. All the diskpart commands output will display on the screen
    8. E drive is the bootable SmartDeploy Media
    Hope this will help...
×
×
  • Create New...