Solved

Shrink and create new partition in command line?

Posted on 2010-11-13
3
481 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
3 Comments
 
LVL 10

Expert Comment

by:Wolfhere
Comment Utility
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
Comment Utility
I will not have physical access to the machine. Any other suggestions?
0
 
LVL 15

Accepted Solution

by:
Lee Osborne earned 500 total points
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now