Solved

Shrink and create new partition in command line?

Posted on 2010-11-13
3
486 Views
Last Modified: 2012-05-10
I am looking for a way to have a script that will take a computer and create a new partition out of what is already there. So for example, there is the C volume. I want to take this C volume and break off 8 gigs and create a new partition and assign it the letter U. After everything is done I want to be able to have a 8 gig partition called U.

I am having a hard time to figure out what commands to run. I need to run this from a script.

Thanks in advance!
0
Comment
Question by:bojangles714
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Expert Comment

by:Wolfhere
ID: 34128337
You can use gparted live CD (http://gparted.sourceforge.net/larry/livecd/livecd.htm), although all the scripting has been done. You can use the command line options, if that helps.
0
 

Author Comment

by:bojangles714
ID: 34128420
I will not have physical access to the machine. Any other suggestions?
0
 
LVL 15

Accepted Solution

by:
Lee Osborne earned 500 total points
ID: 34130384
You can use the Disk Management tool to connect to the remote machine and manage the drive partitions as if it were on the local PC.

Start > (Right Click) Computer > Manage
Right click Computer Management > Connect to another PC

Connect to the PC you want to change the partitions on, expand storage, and click on Disk Management.

From here, you can shrink and resize the partions. I'm not sure if this is something I would want to do remotely, but in theory, there shouldn't be any problems anyway!

Lee
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question