low disk space

G

GregG

I have several dozen PCs with very low disk space..I need a script that I can
use to delete pollution on the c: drive...such as temp Internet files and
those $NTUninstall files.
If a script is not the best solution other suggestions would be welcome.

Thanks in advance for any replies.
 
P

Pegasus \(MVP\)

GregG said:
I have several dozen PCs with very low disk space..I need a script that I
can
use to delete pollution on the c: drive...such as temp Internet files and
those $NTUninstall files.
If a script is not the best solution other suggestions would be welcome.

Thanks in advance for any replies.

Temporary Internet files are best handled by making the appropriate
adjustments from within IE. If you don't then you have to keep on fixing the
problem.

You could use this batch file to delete your Windows unistall folders (not
files, as you suggest):
@echo off
attrib /s /d -h -s %SystemRoot%\$NTUninstall*
for /d %%a in (%SystemRoot%\$NTUninstall*) do echo rd /s /q "%%a"

Remove the word "echo" in Line 3 to activate the batch file.
 
M

mjg

i too have low disk space i am trying to figure out what folders i can
delete so i can have more space and not have to reinstall my windows xp
professional cd. this is the third time i have done this.
Ramesh Srinivasan said:
See also:

Description of the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/310312

How to Automate the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/315246

CCleaner - Home:
http://www.ccleaner.com/

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog http://www.winhelponline.com/blog


GregG said:
I have several dozen PCs with very low disk space..I need a script that I
can
use to delete pollution on the c: drive...such as temp Internet files and
those $NTUninstall files.
If a script is not the best solution other suggestions would be welcome.

Thanks in advance for any replies.
 
K

Ken Blake, MVP

i too have low disk space i am trying to figure out what folders i can
delete so i can have more space and not have to reinstall my windows xp
professional cd. this is the third time i have done this.


I'm not surprised that it's the third time. If you are short of disk
space, deleting files or folders is essentially nothing but a stopgap
measure. The only real solution to your problem is buying a new hard
drive, either as a replacement for the one you have or as a second
drive.

Fortunately, hard drives are extremely inexpensive right now.



Ramesh Srinivasan said:
See also:

Description of the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/310312

How to Automate the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/315246

CCleaner - Home:
http://www.ccleaner.com/

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog http://www.winhelponline.com/blog


GregG said:
I have several dozen PCs with very low disk space..I need a script that I
can
use to delete pollution on the c: drive...such as temp Internet files and
those $NTUninstall files.
If a script is not the best solution other suggestions would be welcome.

Thanks in advance for any replies.
 
T

Twayne

mjg said:
i too have low disk space i am trying to figure out what folders i can
delete so i can have more space and not have to reinstall my windows
xp professional cd. this is the third time i have done this.

If this is the third time, you should be starting to become aware that
is not the answer by now. You need to bite the bullet and get a larger
drive for your system. They're dirt cheap right now too, so go ahead
and do it now. Otherwise you'll be doing this over and over and ...

HTH,

Twayne



Ramesh Srinivasan said:
See also:

Description of the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/310312

How to Automate the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/315246

CCleaner - Home:
http://www.ccleaner.com/

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog http://www.winhelponline.com/blog


GregG said:
I have several dozen PCs with very low disk space..I need a script
that I can
use to delete pollution on the c: drive...such as temp Internet
files and those $NTUninstall files.
If a script is not the best solution other suggestions would be
welcome.

Thanks in advance for any replies.
 
M

mjg

okay, thanks for your advice, i was thinking about bringing my laptop to
micro center in rockville and having a second hard drive put in. the laptop i
have is a Compaq Presario V2000. i hope it will be inexpensive.
Ken Blake said:
i too have low disk space i am trying to figure out what folders i can
delete so i can have more space and not have to reinstall my windows xp
professional cd. this is the third time i have done this.


I'm not surprised that it's the third time. If you are short of disk
space, deleting files or folders is essentially nothing but a stopgap
measure. The only real solution to your problem is buying a new hard
drive, either as a replacement for the one you have or as a second
drive.

Fortunately, hard drives are extremely inexpensive right now.



Ramesh Srinivasan said:
See also:

Description of the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/310312

How to Automate the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/315246

CCleaner - Home:
http://www.ccleaner.com/

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog http://www.winhelponline.com/blog


I have several dozen PCs with very low disk space..I need a script that I
can
use to delete pollution on the c: drive...such as temp Internet files and
those $NTUninstall files.
If a script is not the best solution other suggestions would be welcome.

Thanks in advance for any replies.
 
G

Gerry

mjg

As others have suggested buy a new hard disk. Remember in most desktop
computers ( and some laptops ) you can add a second hard drive as a slave
avoiding the need to reinstall Windows XP.

You can create more free space in C by
carrying any of the measures suggested below.

The default allocation to System Restore is 12% on your C partition
which is over generous. I would reduce it to 700 mb. Right click your My
Computer icon on the Desktop and select System Restore. Place the cursor
on your C drive select Settings but this time find the slider and drag
it to the left until it reads 700 mb and exit. When you get to the
Settings screen click on Apply and OK and exit.

A default setting which could be wasteful is that for temporary internet
files, especially if you do not store offline copies on disk. The
default allocation is 3% of drive. Depending on your attitude to offline
copies you could reduce this to 1% or 2%. In Internet Explorer select
Tools, Internet Options, General, Temporary Internet Files, Settings to
make the change. At the same time look at the number of days history is
held.

The default allocation for the Recycle Bin is 10 % of drive. Change to
5%, which should be sufficient. In Windows Explorer place the cursor
on your Recycle Bin, right click and select Properties, Global and
move the slider from 10% to 5%. However, try to avoid letting it get
too full as if it is full and you delete a file by mistake it will
bypass the Recycle Bin and be gone for ever.

If your drive is formatted as NTFS another potential gain arises with
your operating system on your C drive. In the Windows Directory of
your C partition you will have some Uninstall folders in your Windows
folder typically: $NtServicePackUninstall$ and $NtUninstallKB282010$
etc. These files may be compressed or not compressed. If compressed
the text of the folder name appears in blue characters. If not
compressed you can compress them. Right click on each folder and
select Properties, General, Advanced and check the box before Compress
contents to save Disk Space. On the General Tab you can see the amount
gained by deducting the size on disk from the size. Folder
compression is only an option on a NTFS formatted drive / partition.

Select Start, All Programs, Accessories, System Tools, System
Information, Tools, Dr Watson and verify that the box before "Append to
existing log" is NOT checked. This means the next time the log is
written it will overwrite rather than add to the existing file.

The default maximum size setting for Event Viewer logs is too large.
Reset the maximum for each log from 512 kb to 128 kb and set it to
overwrite.
http://support.microsoft.com/kb/308427/en-us


Select Start, All Programs, Accessories, System Tools, Disk CleanUp to
Empty your Recycle Bin and Remove Temporary Internet Files. Also
select Start, All Programs, accessories, System Tools, Disk CleanUp,
More Options, System Restore and remove all but the latest System
Restore point. Run Disk Defragmenter.


--



Hope this helps.

Gerry
~~~~
FCA
Stourport, England
Enquire, plan and execute
~~~~~~~~~~~~~~~~~~~

i too have low disk space i am trying to figure out what folders i can
delete so i can have more space and not have to reinstall my windows
xp professional cd. this is the third time i have done this.
Ramesh Srinivasan said:
See also:

Description of the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/310312

How to Automate the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/315246

CCleaner - Home:
http://www.ccleaner.com/

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog http://www.winhelponline.com/blog


GregG said:
I have several dozen PCs with very low disk space..I need a script
that I can
use to delete pollution on the c: drive...such as temp Internet
files and those $NTUninstall files.
If a script is not the best solution other suggestions would be
welcome.

Thanks in advance for any replies.
 
K

Ken Blake, MVP

okay, thanks for your advice, i was thinking about bringing my laptop to
micro center in rockville and having a second hard drive put in. the laptop i
have is a Compaq Presario V2000. i hope it will be inexpensive.


The requirement for a drive for a laptop are more severe, and it could
be more expensive than what I had visualized. Moreover, I don't know
anything about *your* laptop.

But by all means, price out getting a second drive.

Ken Blake said:
i too have low disk space i am trying to figure out what folders i can
delete so i can have more space and not have to reinstall my windows xp
professional cd. this is the third time i have done this.


I'm not surprised that it's the third time. If you are short of disk
space, deleting files or folders is essentially nothing but a stopgap
measure. The only real solution to your problem is buying a new hard
drive, either as a replacement for the one you have or as a second
drive.

Fortunately, hard drives are extremely inexpensive right now.



:

See also:

Description of the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/310312

How to Automate the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/315246

CCleaner - Home:
http://www.ccleaner.com/

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog http://www.winhelponline.com/blog


I have several dozen PCs with very low disk space..I need a script that I
can
use to delete pollution on the c: drive...such as temp Internet files and
those $NTUninstall files.
If a script is not the best solution other suggestions would be welcome.

Thanks in advance for any replies.
 
R

Randem

Buy a larger HD then clone the one you have onto that one so you can use the
current drive as a second storage drive.

--
Randem Systems
Your Installation Specialist
The Top Inno Setup Script Generator
http://www.randem.com/innoscript.html
Disk Read Error Press Ctl+Alt+Del to Restart
http://www.randem.com/discus/messages/9402/9406.html?1236319938



mjg said:
i too have low disk space i am trying to figure out what folders i can
delete so i can have more space and not have to reinstall my windows xp
professional cd. this is the third time i have done this.
Ramesh Srinivasan said:
See also:

Description of the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/310312

How to Automate the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/315246

CCleaner - Home:
http://www.ccleaner.com/

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog http://www.winhelponline.com/blog


GregG said:
I have several dozen PCs with very low disk space..I need a script that
I
can
use to delete pollution on the c: drive...such as temp Internet files
and
those $NTUninstall files.
If a script is not the best solution other suggestions would be
welcome.

Thanks in advance for any replies.
 
J

Jon

The original poster asked for a script. For deleting $NTUninstall files (which can save you hundreds
of Mbytes of space) have a look at this: www.dougknox.com/xp/utils/xp_hotfix_backup.htm.

If hibernation is enabled and you don't use hibernation, disabling it will increase disk space by an
amount equal to the RAM you have installed.

Delete temp internet files

Delete old system restore points

If you don't know how to do any of the above, post back, and someone will be able to give
step-by-stem instructions.



i too have low disk space i am trying to figure out what folders i can
delete so i can have more space and not have to reinstall my windows xp
professional cd. this is the third time i have done this.
Ramesh Srinivasan said:
See also:

Description of the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/310312

How to Automate the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/315246

CCleaner - Home:
http://www.ccleaner.com/

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog http://www.winhelponline.com/blog


GregG said:
I have several dozen PCs with very low disk space..I need a script that I
can
use to delete pollution on the c: drive...such as temp Internet files and
those $NTUninstall files.
If a script is not the best solution other suggestions would be welcome.

Thanks in advance for any replies.
 
J

Jim

mjg said:
okay, thanks for your advice, i was thinking about bringing my laptop to
micro center in rockville and having a second hard drive put in. the
laptop i
have is a Compaq Presario V2000. i hope it will be inexpensive.
Ken Blake said:
i too have low disk space i am trying to figure out what folders i can
delete so i can have more space and not have to reinstall my windows xp
professional cd. this is the third time i have done this.


I'm not surprised that it's the third time. If you are short of disk
space, deleting files or folders is essentially nothing but a stopgap
measure. The only real solution to your problem is buying a new hard
drive, either as a replacement for the one you have or as a second
drive.

Fortunately, hard drives are extremely inexpensive right now.



:

See also:

Description of the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/310312

How to Automate the Disk Cleanup Tool in Windows XP:
http://support.microsoft.com/kb/315246

CCleaner - Home:
http://www.ccleaner.com/

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog http://www.winhelponline.com/blog


I have several dozen PCs with very low disk space..I need a script
that I
can
use to delete pollution on the c: drive...such as temp Internet
files and
those $NTUninstall files.
If a script is not the best solution other suggestions would be
welcome.

Thanks in advance for any replies.

You most likely will find that it is not possible to install a second drive
inside your laptop. However, adding a USB drive would be rather easy, and
these drives are quite inexpensive these days.
I recently installed a 1 TB USB drive which only cost $119. It will take me
a very long time to fill that drive up.
Jim
 

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

Similar Threads

$Ntuninstall 2
"Low Disk Space" popup 2
Disk space Low 9
Disk Space Low Error 3
Low Disk Space 7
low disk space 35
winXP, temp folder, low disk space.... problem 8
Low on disk space 10

Top