How to delete a primary partition ?  


  1. Posts : 4
    Windows 7 Ultimate
       #1

    How to delete a primary partition ?


    I have two primary partitions and I want to delete one of the and completly expand the other. When i get in my computer/manage/disk management if i right click a partition it won`t let me le delete it or expand it. How can I have A SINGLE hard drive completly expanded ?




      My Computer


  2. Posts : 5,092
    Windows 7 32 bit
       #2

    The problem is likely that you have the page file on D:. It won't let you delete it while in use. Change it back to C: before trying to manipulate the partitions.
      My Computer


  3. Posts : 4
    Windows 7 Ultimate
    Thread Starter
       #3

    How could i do that ?
      My Computer


  4. Posts : 742
    MS Windows 7 Ultimate 64-bit SP1
       #4

    Right click on computer icon select Properties, click on Advanced system settings. In the system properties go to Advanced tab, click on Settings button in Performance section, go to Advanced tab and click on Change button in Virtual memory section.

    If you see no values in D: partition then there is no pagefile in D:.

    If you see the D: drive with Page file size in MB (4096 or any other number), Select D: and click on No paging file and press Set button.

    Make sure your C: drive has a paging file of sufficient size. You can use the recommended value shown in the bottom of this dialog box. Close all the windows by pressing the OK button. You will be asked to reboot for these new values to take effect.

    After reboot again go back to the same screen as above and check to see there is no pagefile in D: drive. Now you may attempt to delete the partition.
      My Computer


  5. Posts : 4
    Windows 7 Ultimate
    Thread Starter
       #5

    I did it, thank you very much :)
      My Computer


  6. Posts : 742
    MS Windows 7 Ultimate 64-bit SP1
       #6

    You're welcome
      My Computer


  7. Posts : 5,092
    Windows 7 32 bit
       #7

    rraod said:
    If you see no values in D: partition then there is no pagefile in D:.

    ...
    If you look at the screen shot, Disk Management shows the D: partition had the page file. That's why it wouldn't let him delete it. Seems strange somebody got it there but can't put it back on C:. But then maybe the PC came from someone else who set it up. Or he changed it so long ago he can't remember how. :)
      My Computer


  8. Posts : 4
    Windows 7 Ultimate
    Thread Starter
       #8

    Well you`re right, it wasn`t me the one who installed Windows 7 on my PC, it was the same person that made two partitions.
      My Computer


  9. Posts : 5,092
    Windows 7 32 bit
       #9

    Unfortunately once you are running with pagefile.sys in Windows there's no way to disable/delete it without a reboot (unless there's some "undocumented" trick I'm not privy to.) :)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:58.
Find Us