is it possible to move "Program Files" to another partition?

?

*.*

hi folks,

an error long ago was making my XP partition too small.
over time, stuff accumulates and I get low disk space warnings.

would like to move some major components of the C drive
to another partition, like "Program Files" ...
or possibly all the system restore points or ms hotfixes (update backups)

is any of this possible?

any tested-and-true utilities that can help in this process?

(yes, I do install new apps on a different partition; some installs do not
give a choice...)

thanks for any assistance ...

StarDot
 
M

mm

hi folks,

an error long ago was making my XP partition too small.
over time, stuff accumulates and I get low disk space warnings.

would like to move some major components of the C drive
to another partition, like "Program Files" ...
or possibly all the system restore points or ms hotfixes (update backups)

is any of this possible?

any tested-and-true utilities that can help in this process?

(yes, I do install new apps on a different partition; some installs do not
give a choice...)

thanks for any assistance ...

StarDot

If I don't move to my new computer in the next few months, I might
have to do this too. I wasn't sure until just now that, in general
at least, one can.

I read that you can, but if I were you, I'd copy only one program
first. Then I would change all references to address of that program
by using COA2 to the new address. It's a simple, easy, quick program.

Later, if you're allowed to move everything (Is he? Are there any
exceptions?), you'll only have to run COA2 once to change references
for the whole Program Files folder, or you can leave some boxes
unchecked (or is it checked?) for programs you don't move.

Here's a good link for that Change of Address2,
DESCRIPTION:
COA2, an update of PC Magazine's Change of Address utility, lets you
move a program to a new location without breaking it. When you install
a program under Windows, the system builds a web of connections that
make it difficult to move the program anywhere else. If disk space
constraints force a move, or if adding a new device causes drive
letters to change, the system can lose track of essential files.
References to the program are stored in shortcuts, INI files, and the
system registry. COA2 tracks down all references to the old address
and replaces them with the new address. When the changes are complete,
it presents you with a list of changes and gives you the option to
undo any of them, if necessary. Note that COA2 does not actually move
any files. It reports moves and name changes to the system. This new
version offers Windows 2000 support, and an improved user interface.

It works fine with XP even though it doosn't say that it does.

It doesn't edit .bat files, but you can do those yourself if you use
them.

One person at
http://www.pcreview.co.uk/forums/coa2-and-xp-moving-program-files-t324902.html
recommmends http://www.funduc.com/app_mover.htm
This one moves the files too. COA2 only changes references to them.
But of course that is definitely what you want if your drive letter
has changed. (Do drive letters still change?)

And another on the UK forum, and I, recommend moving the folder
separately, and using COA2.
 
P

Paul

*.* said:
hi folks,

an error long ago was making my XP partition too small.
over time, stuff accumulates and I get low disk space warnings.

would like to move some major components of the C drive
to another partition, like "Program Files" ...
or possibly all the system restore points or ms hotfixes (update backups)

is any of this possible?

any tested-and-true utilities that can help in this process?

(yes, I do install new apps on a different partition; some installs do not
give a choice...)

thanks for any assistance ...

StarDot

Could you:

1) Start : Run : diskmgmt.msc

2) When the Disk Management window appears, use Print Scrn key, to copy
an image of the desktop into the clipboard.

3) Open an image editor, and paste the clipboard into a new, empty
image window. Crop out the bits you don't want, then save the
image.

4) Post the screenshot, to imageshack.us or a similar picture sharing site.

5) Then, copy the URL of the picture into a new posting, so we can look at it.

As someone else suggested, perhaps resizing the partition is the
easiest way to solve the problem. Looking at your Disk Management
window, may suggest how feasible that is.

In the example here, there is some unallocated space available. And with
enough juggling, perhaps the unallocated space can be "moved over" next
to your C: partition, so the C: can be expanded and use the unallocated
space.

http://www.theeldergeek.com/disk_management.htm

Programs like "diskpart", may offer the ability to expand a partition
into unallocated space. But a GUI based program may make this
easier to do, than trying to get this right on the first try.

http://support.microsoft.com/kb/300415

http://it-proknowledge.blogspot.com/2007/12/how-to-expand-boot-partiotion.html

If this is an emergency, you can turn off System Restore, then turn
it on again, which will dump the Restore points and start capturing
them over again. That may free up enough space temporarily, to solve
today's problem.

In any case, before going overboard, make *sure* you have a backup
of the system, preferably on an external (USB) disk. If you foul
up the works, the backup is there to save you.

Paul
 
M

mm

Here's a good link for that Change of Address2,

This worked for me tonight, but it didn't for one of the people in the
forum, and I can email it if you want.

I should add a couple things to the previous post.

A) I keep my programs in C:\Programs, because I don't like spaces in
file names. I have gotten the impression that programs not kept in
\Program Files are ignored by certain utilities, but I dont' know for
sure. Utilities like Restore Point, and File and Transfer Wizard. Do
these utilities ignore programs not in \Program Files?

Then there is the question, would the same utilities ignore programs
not on the System drive. Would they work fine but be ignored on
occasions? I don't know.

B) Once you have entered proper from and to files or folder names, COA
and COA2 work by changing all the references and then displaying a
list of what it changed. You must review the list and check or
uncheck, I can't remember, any that shouldn't have been changed, and
then it changes those few back. I don't know why he did it this way,
but the 5 or 6 times I've used the program, everything has gone
smoothly.

There were 3 or 4 items it refused to change, and reviewing them, they
were of a certain weird sort and didn't seem important to change, and
I never noticed them again.

There were also iirc 1 or 2 items that I thought shouldn't be changed.
IIRC they were just comments I had written, and they were still true
with the old drive letter, and not true with the new drive letter.
Changing them would have caused confusion if I had ever read the
paragraphs again, but wouldn't have affected how anything ran.

C) I could be wrong but it's clear to me that some of the programs
would work fine from another folder, and they are installed in Program
Files without asking where you want them installed because the
programmer likes to follow "the rules", but maybe some have to be
there for some reason I don't know about. ???? The program
xxclone has to be installed in w\system32 and the author gives the
reason, and it was something to do maybe with automatic restart or
automatic something. I didnt' understnad the reason, but he knows
more than I do. It too would probably work from anywhere, until that
feature was called upon.
 
P

philo

hi folks,

an error long ago was making my XP partition too small.
over time, stuff accumulates and I get low disk space warnings.

would like to move some major components of the C drive
to another partition, like "Program Files" ...
or possibly all the system restore points or ms hotfixes (update backups)

is any of this possible?

any tested-and-true utilities that can help in this process?

(yes, I do install new apps on a different partition; some installs do not
give a choice...)

thanks for any assistance ...

StarDot


You'd need to uninstall your apps

then reinstall a PITA to gain very little


Best way to gain free space on your HD is to reduce the size of System
Restore. By default it's set to an absurd 12%...all you need is 2 -4%

also, unless it's a laptop, you can turn off hibernation
 
D

Dave

Paul said:
Could you:

1) Start : Run : diskmgmt.msc

2) When the Disk Management window appears, use Print Scrn key, to copy
an image of the desktop into the clipboard.

3) Open an image editor, and paste the clipboard into a new, empty
image window. Crop out the bits you don't want, then save the
image.

4) Post the screenshot, to imageshack.us or a similar picture sharing
site.

5) Then, copy the URL of the picture into a new posting, so we can look at
it.

As someone else suggested, perhaps resizing the partition is the
easiest way to solve the problem. Looking at your Disk Management
window, may suggest how feasible that is.

In the example here, there is some unallocated space available. And with
enough juggling, perhaps the unallocated space can be "moved over" next
to your C: partition, so the C: can be expanded and use the unallocated
space.

http://www.theeldergeek.com/disk_management.htm

Programs like "diskpart", may offer the ability to expand a partition
into unallocated space. But a GUI based program may make this
easier to do, than trying to get this right on the first try.

http://support.microsoft.com/kb/300415

http://it-proknowledge.blogspot.com/2007/12/how-to-expand-boot-partiotion.html

If this is an emergency, you can turn off System Restore, then turn
it on again, which will dump the Restore points and start capturing
them over again. That may free up enough space temporarily, to solve
today's problem.

In any case, before going overboard, make *sure* you have a backup
of the system, preferably on an external (USB) disk. If you foul
up the works, the backup is there to save you.

Paul


Hi Paul,

I tried IMAGE SHACK to post a view of my disk config.
it's here: http://imageshack.us/f/851/diskmgr.gif/

if i want to keep "program files" on the same drive, I have extra space in
"E:" ... but how to resize those partitions without risking losing all the
data in both?
thanks,

Stardot
 
P

Paul

Dave said:
Hi Paul,

I tried IMAGE SHACK to post a view of my disk config.
it's here: http://imageshack.us/f/851/diskmgr.gif/

if i want to keep "program files" on the same drive, I have extra space in
"E:" ... but how to resize those partitions without risking losing all the
data in both?
thanks,

Stardot

Yikes :)
+------------------------+-------------------------------------------+
| C: 11.8GB | D: 50.3GB E: 50.3GB | No unallocated
| Primary | Logical Logical | space left
| (NTFS) | (NTFS) NTFS+Pagefile |
+------------------------+-------------------------------------------+

+----------------------------+---------------------------------------+
| F: 48.8GB | G: 62.9GB | No unallocated
| Primary | Primary | space left
| NTFS+Pagefile | (NTFS) |
+----------------------------+---------------------------------------+

To make space for C:, something has to be done about the logical section. In your
primary partition table, I expect there would be two entries. One for C: and
one for the logical section. The logical section can be subdivided into lots
of logical partitions (which is how you go about beating the limitation of four primary
partitions in sector 0 MBR). So you'll need a tool (partition manager) that can
handle a logical storage section, resize it or break it as required.

Your second drive uses two of the four available primary slots. The situation on
the second drive isn't quite as complicated.

Before you go any further, go into the System control panel (Advanced,Performance_Setting)
and remove the Pagefile from E:. That's to avoid complications later. In fact, for
the time being, it might be wise to put at least a small page file on C:
and dispense with the others. 300-500MB would do for the time being.
Write down the details of how you had it set up, and you can adjust
it again later. If you leave the one on E:, there may be complaints
if you try to delete or merge the E: partition. A reboot should be a part
of making this change. That will keep any partition tools happy.

Generally, if a partition tool needs to change C:, it must shut down Windows
to make that possible. At least, my copy of Partition Magic does it that way.
C: is "busy" while Windows is running, and I don't know if VSS (volume shadow
service) makes it possible to mess around with C: while the OS is running or not.

I didn't record your free space in the above diagram, but you don't have enough
free space to allow "bouncing" stuff around. If there had been enough room on the
second drive, you might have moved D and E temporarily to the second disk.

I see two possibilities.

1) You purchase a third (backup drive), big enough to hold the contents of D and E.
You move D: and E: off the first drive, then you have room to resize C: and create
a smaller D and E if you want. If there is no distinction between the content types
of D: and E: (i.e. nothing special about them, just data dumps), then you might
consider squashing them together as a single D:.

2) You find a fancy partition management tool.
a) Convert the two logicals to primaries, without sector movement
I don't know if the slack space between the logical and the first
primary, makes that possible or not.
b) merge D: and E: together into a new larger D:. I consider merging to be
dangerous, as a class of movement. Personally, I trust the user to
make note of the setup, better than an automated tool. Mistakes could be
made.
c) shrink the D: partition, which will free up some space at the end (on the right).
d) move D: to the right, leaving a space in the center between C: and D:
e) expand C: into the new freed-up space

The second option requires something commercial. There is at least one
free partition management tool. There is the Linux GParted disc, which
is a boot CD that "looks" like a partition editor when it starts up, and
it is capable of doing a few things. (When I tested it, I didn't get a
very warm feeling, due to the erroneous progress messages it was
displaying. I *hate* seeing a message posted in the progress window,
that has nothing to do with the requested operation sequence. Like
imagine if you saw "making lunch now" in the progress window, while
this was an only copy of your data, you'd have a lump in your throat.
I don't know how the tool really works, but the messages didn't impress me.
It was claiming to do things, that shouldn't have been necessary.)

http://en.wikipedia.org/wiki/List_of_disk_partitioning_software

I have a copy of Partition Magic that I use for some things, but
I also like to bounce partitions to a scratch disk, to clean up
a mess. Sometimes, that takes less time than a whole string of
"manipulations" with a partition manager. A partition manager
isn't "smart" and won't compress together operations that you or I
can see could be combined in some way. The partition manager uses
methodical steps (baby steps), which may take more time than
the "best" possible solution.

Now, the thing is, you shouldn't do (2), without backing up the disk.
Why ? Because the sequence of five things I suggested there is risky.
It's a long sequence, and something could go wrong along the way.

So if you're a person conservative in approach to computing problems, a third
disk is necessary in either case. (1) would be preferred, because creating
the backup of D: and E: is part of the procedure. So to fix the first
drive, you need about 76GB of space to store the contents of those drives.
I'd select a drive bigger than 80GB to do that, to leave some room for
formatting and math (my conversion errors). I'd probably grab a 120GB
from my junk room for this job, although anything bigger is also a
candidate. When I grab the scratch drive for the backup, I run
HDTune and check the SMART tab, for "Current Pending Sector",
as a significant count there, means my junk drive isn't ready for
a job like this. In other words, check the SMART statistics first,
to make sure the drive is worthy.

If you want to copy the contents of one partition to another, there is
Robocopy. It has version XP026 of Robocopy in it.

http://technet.microsoft.com/en-us/magazine/2006.11.utilityspotlight.aspx

Using the MSDOS (command prompt) window, I use a command like this, to
mirror one partition to another. In this example, K: would be empty before
I started. When finished, all the files from D: will be copied to K: and
all permissions preserved. I'd make sure K: was big enough to hold the
46.3GB that is currently on D:. And, I'd make sure K: was NTFS, to match
the source type. NTFS preserves permissions, so using NTFS for temporary
storage would preserve those permissions.

robocopy D:\ K:\ /mir /copy:datso /dcopy:t /r:3 /w:2 /zb /np /tee /v /log:d_to_k.log

That command is *very dangerous*. Since the method I chose is "mirror", if
you specify the wrong partition as the target (K:), it'll *erase* K:
effectively. I made a copy/paste error once with the above command, and
before I could stop execution, I'd lost a gigabyte of data (overwritten
and not recoverable). Now, I leave a copy of Notepad open, and "test paste"
the command into there, to confirm what is in the clipboard, is what
I intended :-(

In any case, I don't see a 100% safe way, to make the changes, without
buying a disk. If you want to take a chance, and use a partition manager
to make the changes (procedure (2) or something similar), then if anything
goes wrong, I warned you.

*******

In summary, shrink D and E, so that a bit more space is freed up for C:.
Then expand C: into that space. Most of the free space will be coming from
E:. but the fact you're using a logical, just makes this more complicated.
The partitioning tool must be able to handle a logical, in order to make
the sequence of movements sane. The logical is going to need to move to
the right, whether it is done that way, or D and E are converted to primary
and then moved one by one.

I believe the Windows built-in Diskpart command, can handle partition
expansion. I think I saw a command for that. So if you just "bounced"
D and E to a third drive, you could expand C: with Diskpart. And then
re-create D and/or E and move the data back from the third disk. Making
sure there is enough room for it all.

Have fun,
Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top