Add disk to 2003 Server

By | April 6, 2015

Add a disk to Windows 2003 Server through the command line

I worked with a Windows server that had less than 200 MB of storage left on a single partition will the OS and applications.  As you know SharePoint and SQL, even though they are WSS and express, require more space than 200 MB to maintain operations.  For some reason Windows would not allow the use of Disk Manager.  So I had to go old school.

These are the steps I used to over come this issue.

  • Open Command Prompt.
  • Type: diskpart
  • At the DISKPART prompt, type: list disk

Make note of the disk number of the disk on which you want to create a primary or extended partition.

  • At the DISKPART prompt, type: select disk n

Select the disk n where you want to create the primary or extended partition.

  • At the DISKPART prompt, type one of the following: create partition primary [size=n] [offset=n] [ID=byte | GUID] [noerr]

or

create partition extended [size=n] [offset=n] [noerr]

or

create partition logical [size=n] [offset=n] [noerr]

  • At the DISKPART prompt, type: assign letter=F