473,394 Members | 1,642 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Safety of Deleting Folders on System Drive

AmberJain
884 Expert 512MB
** Split from Deleting all data on drive **

Hello,

Essentially, following that path, without rebuilding everything from scratch, is risky. Be very careful before proceeding.
Well, I agree with NeoPa on this one. If you proceed as questionit suggested then you may end up even with Windows crash. The consequence of such an action is totally unpredicted. You may get a full working system in the end OR there is an equal probability that you may later need to reinstall from scratch. And so I would prefer you to reinstall instead of deleting files manually.

NOTE-If this is your main system, do not try this...But if this system is your testbed (or whatever you would like to call it) then you may proceed to test the outcomes.


To delete them, you can choose any of these options:

1- goto Command Prompt and try deleting .................................................. ..........................................grams and try deleting again.
I think Unlocker is better option here....


If you delete all the folders except "Windows" folder, your O/S will be safe.
You cannot say that with certainity as I had said earlier - "The consequence of such an action is totally unpredicted."


Will i then have to recreate the other folders?
Oh yes.........certainly [ if you need them :) ].


HOPE THIS HELPS.........
AmbrNewlearner
Oct 5 '08 #1
29 2336
questionit
553 512MB
Ambernewlearner is suggesting that deleting folders excluding Windows and Program Files may crash the Windows. I do not agree with this since any folder other than Windows is totally independent. Windows do not rely on these folders or on thier contents.

However, there could be folders used by device drivers as some devices create iseperate folders to store temporay data. If such folders are deleted, Window will still be safe but the device i.e sound card, etc might not work.

Qi
Oct 6 '08 #2
NeoPa
32,556 Expert Mod 16PB
Qi,

I'm afraid that, in the interests of accuracy and the responsibility of leading others who look up to us as experts, I must disagree with your last post.

That is actually quite a dangerous thing to say. AmbrNewLearner is actually correct in that any folder or file that is referred to in Windows' Registry file can be considered as part of THAT particular Windows setup.

Ignoring the "Documents and Settings" folder for now, it is still very true to say that Windows would almost certainly fail to load correctly if all other root folders were simply deleted. "Documents and Settings" is of course a Windows folder in its own right. All user profile settings are stored there so this would have a calamatous effect if removed - all by itself.

I did try to spare your embarrassment, but I can't leave your last post suggesting to a member that it is safe to do something so very dangerous.
Oct 6 '08 #3
questionit
553 512MB
Well, NeoPa, I have tried it and not just guessing the outcome.

I know what you mean by "Windows Setup" but the thing is Windows doesn't care about it.

All it is concerned about is about "SYSTEM FILES" not any file associated with an external program that has its entry stored in Windows registry.

If someone can give it a try, do let me know then very honestly what happens.

So, check again, is there really any system file in "Documents & Settings" that Windows require to run and be safe?

I reiterate, deleting such folders might cause probelms to non O/S applications only such as Windows update files, any other updates, and ofcourse users profile data.

Qi
Oct 6 '08 #4
AmberJain
884 Expert 512MB
Hello,

Ambernewlearner is suggesting that deleting folders excluding Windows and Program Files may crash the Windows.
Yes, I am suggesting this but I would like you to read the word 'MAY' with as much stress as you can put to it i.e.
...deleting folders excluding Windows and Program Files "MAY" crash the Windows.
I mean to say that- "The consequence of such an action is totally unpredicted." I would like to quote a statement from C progamming book:
It is likely to get an error when one compiles and one will certainly get nonsense values if the program runs.
i.e. It is likely to get a system crash when one deletes all folders (except Windows and program files) and one will certainly get nonsense/unexpected problems even if Windows runs :) [And yeah...one may even get a stable system although the probability of this case is TOO low.]

I am reminded of a verse taught in elementary school- "I shot an arrow into the air, where it lands, I don't care" ;)


I do not agree with this since any folder other than Windows is totally independent. Windows do not rely on these folders or on their contents.
Windows might not rely on these folders but many windows components/files may rely on these folder to keep Windows system up and running


However, there could be folders used by device drivers as some devices create iseperate folders to store temporay data. If such folders are deleted, Window will still be safe but the device i.e sound card, etc might not work.
Well, you are partially true. There are some point that you missed....

1. If I remember correctly then virtually every windows program has an option to install to a location of users choice other than just [Program Files] which is default. And if one deletes such folders then you may end up with an unstable system.

2. Many programs (e.g. some antiviruses) put some of their important files into C:\windows OR C:\windows\system32 directories for their working. And if that program is not installed in [Program files] and it's files get deleted, unpredictable crashes may occur.

3. SAM (located in config folder of system32) will not be deleted even if you delete Documents and settings folder. And that may lead to corruption of all user accounts which may diallow you to log in (once you reboot) and restrict access to your system.

4. There are many important files (which are required for a working Windows system) in the root of the partition on which Windows OS is installed (e.g. boot.ini, ntldr, NTDETECT.com etc.). And if you delete them you may mess up with your system (worst then what you might think of).

5. As Sir NeoPa had said previously:
it is entirely possible that there are other folders used (and referred to in your registry) which are not contained in those three root folders. Essentially, following that path, without rebuilding everything from scratch, is risky.
And so it's not only drivers that need to be taken into consideration here, but some important files/folders too).



@daniel aristidou- You may also try restoring your PC to an earlier time (specifically if one exists at the time when you installed Windows). (I am not sure about this, though)


HOPE THIS HELPS........
AmbrNewlearner
Oct 6 '08 #5
AmberJain
884 Expert 512MB
Hello,

Well, NeoPa, I have tried it and not just guessing the outcome.
Hmmm.....Even if you had tried it and it worked, still I held my opinion same:
"The consequence of such an action is totally unpredicted."

I know what you mean by "Windows Setup" but the thing is Windows doesn't care about it.
All it is concerned about is about "SYSTEM FILES" not any file associated with an external program that has its entry stored in Windows registry.
1. boot.ini, ntldr, NTDETECT.com are not external programs.

2. What about SAM and [Documents and Settings] section? (see my previous reply).

3. Ahh....And I almost forgot this one......There is an Autorun entry at:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\userinit
This autostart location has an entry corresponding to C:\Windows\system32\userinit.exe when Windows XP is installed. Now as said in Microsoft's documentation here, some program may modify this entry to run itself before the Windows Explorer user interface starts. Now if this program is not found (i.e if it's deleted) then userinit.exe is not executed and the user is unable to log on. An active thread existing on bytes.com is here. And as you can see from that thread that to solve this problem requires much effort (atleast for a normal computer user).

Whether your system will crashes or not, depends only on how much your system is messed up. There are many more (inevident) cases which may arise and cause Windows PC to crash.


I reiterate, deleting such folders might cause probelms to non O/S applications only such as Windows update files, any other updates, and ofcourse users profile data.
And yes.. even if it works (as you have said) but it still would be a lot mess as non OS applications would be corrupted and what a user will do with a whole messed up system (except if he is a hacker and believes to crash system "JUST FOR FUN").
There may be alot of autoruns pointing to files which are deleted and that may increase startup time considerably
OR
There may be some AntiVirus files left in C:\Windows or C:\windows\system32 which may later cause AntiVirus program conflicts.
And so I dont prefer to do as you have advised to OP.


Hope this clears what I mean to say..........
AmbrNewlearner
Oct 6 '08 #6
questionit
553 512MB
AmberNewLearner's comments are somewhat correct but consider this:

boot.ini, ntldr, NTDETECT.com are not external programs
These are hidden files so these can not be deleted with normal delete operation by the user who attemps to delete them either from Windows GUI or from Windows Cmd.

C:\Windows\system32\userinit.exe -
This is inside Windows folder. Windows folder would be excluded from deletion as already said.

And you talked about Auto run or Auto startup. If you look at "Auto Startup" in Msconfig, there is not a single system file in the list. So thats not a problem, either.

Good indicator by Ambernewlearner anyway !

Qi
Oct 6 '08 #7
AmberJain
884 Expert 512MB
Hello,

@questionit ---->
Well, you have misinterpreted almost all my previous replies.......
Just try to read my previous replies carefully and then only reply. Your previous reply is an example of that you had not read my REPLIES #16 and #17 carefully.


boot.ini, ntldr, NTDETECT.com are not external programs


These are hidden files so these can not be deleted with normal delete operation by the user who attemps to delete them either from Windows GUI or from Windows Cmd.
.
Well, although these are hidden files but even layman(s) know how to unhide them (both using GUI and CUI). Even my sister (who is a biology student) knows to use:
Expand|Select|Wrap|Line Numbers
  1. del C:\*.* /AHS
And I have already said that- "Whether your system will crashes or not, depends only on how much your system is messed up". And if your XP installation is too old (probably years) then it is certainly a case that a normal computer user would have messed up with all his system settings (knowingly or unknowingly).



C:\Windows\system32\userinit.exe -
This is inside Windows folder. Windows folder would be excluded from deletion as already said.
Ahh....What the heck..Read my previous reply carefully. I never said that userinit.exe would be deleted (even I have that commonsense).

I said that some program may add itself to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\userinit such that it is executed itself before the Windows Explorer user interface starts. e.g.
Expand|Select|Wrap|Line Numbers
  1. C:\ABC\XYZ\hello.exe ; c:\windows\system32\userinit.exe
And if this program hello.exe is not installed at [Program Files] and it is deleted (mind it that I am talking about deleting hello.exe and not userinit.exe, then userinit.exe will not be executed and Windows Explorer user interface will not start. The result would be that user will not be able to logon. For more details check out the links I posted in my previous reply.


And you talked about Auto run or Auto startup. If you look at "Auto Startup" in Msconfig, there is not a single system file in the list. So thats not a problem, either.
Huhh...My personal opinion in this matter is that msconfig is one of worst utility when it comes to displaying AutoStartup in Windows. It shows only 5 autoruns on my Windows XP system(Microsoft believes in advancements in technology by obscurity). I prefer Sysinternals Autoruns over all other silly utilities for configuring my AutoStarting files.


From now on I will not bother to read your replies (and then reply back) if you dont read my replies carefully. I have to simply reQUOTE my previous replies to clear what I mean.


Hope I am clear (if you read CAREFULLY)......
AmbrNewlearner
Oct 7 '08 #8
questionit
553 512MB
You said a layman known how to unhide files.
Even if a layman known how to unhide the files but did the questioner ever asked for an action that requires him to do such a thing?

My answer was simply in context of his scenario and not to answer your comments.

Daniel simply wants to clean up his drive and keep the O/S. Why then he would need to go through such a course to first bring all the hidden and non-hidden files up and then delete them.

He wants to clean up his drive and keep the O/S and the programs also!!!!!!

Therefore, i had suggested that he can delete all the rest of the files and folders and leave Windows folder and his system will be safe!!!

Files such as NTLDR, etc are hidden for a purpose and that purpose is it to keep them safe from both accidental or intentional deletion

And again, there is no other auto run file that any user can delete by just using delete command or the DOS command with parameters you've made.

I know you still have many things in your mind that starts up automatically such as Ms Office , Adobe Acrobat and many others...Again, this has nothing to do with O/S,, so let these files be zapped!
Oct 7 '08 #9
NeoPa
32,556 Expert Mod 16PB
Qi,

It is not permissable when arguing to include abuse or ridicule on this site. I have edited your post in a way I VERY rarely do - to remove the insults. If you can't keep to the rules then I suggest you leave it out completely.

Administrator.
Oct 7 '08 #10
NeoPa
32,556 Expert Mod 16PB
As far as your post is concerned (This is not as an Administrator but simply as someone who has some basic understanding of the fundamentals of Windows), I really feel you would be better advised not continuing to argue as I can only say that most of what you say is simply wrong.

Testing that a system actually boots after destroying the system as you suggested, is proof of nothing. It merely indicates that the fundamental problems you've introduced (or anyone following your recommended procedure) are not immediately visible.

Quite apart from the test you claim to have performed being done on a single PC (I presume) and not on thousands (so could hardly be considered representative), simply starting a PC into a Windows logon prompt is clearly not a reasonable test for something as serious as this.

I don't see anyone who knows anything about Windows supporting your contention. Don't you feel somebody might, if you were correct as you say, and two other members were posting something that must be so so wrong (assuming your contention were not utter fallacy)?
My answer was simply in context of his scenario and not to answer your comments.
The point is, that even under such a restrictive definition, your answer is still very very wrong.
Oct 7 '08 #11
questionit
553 512MB
I standby with what i said before.

NeoPa has provided no proof whatsoever to nullify my suggestions, not a single !!!

Whatever is said is correct as already proved. you do Daniel a favour, bring him proof that doing what i have suggested is not correct.

I think this will be good to clear up the situation.

Even, missinglinq is against some of you guys' comments.

You said
Testing that a system actually boots after destroying the system...
Again, where did you get this from? Who said to destroy the system. I said delete the external apps and leave the system (O/S).
How strange, how you make things up so conviniently.


Secondly, where is it you found abuse and ridicule in my post. I challenge you to bring up single quote!!


What about
Ahh....What the heck..Read
by AmbrNewLearner


And lastly, when i said this test has been performed already, how you say i did it on only 1 PC? Again you make up things from no where
By the way, did you try it on a PC at all ?

These questions and comments for you.

Stang02GT did try to behave like you before but i silenced him because he was wrong and he has realized it, he never replied to my e-mail.

Very funny if you are thinking to ban my ID now,, so you are free to use your inequitable means to do so.
Oct 7 '08 #12
Studlyami
464 Expert 256MB
Well, after that post I'm going to have to chime in on this topic. When i first read the original responses I was in horror that someone would actually suggest to someone to just delete the folders from the C:/ except the windows and program files folders. This is a terrible idea to do to your computer. If the computer can boot into windows great, but you still have a huge pile of mess on your computer. You will have fragments in your registry and as you stated some of your device drivers might not work. I have deleted files required by my sound card (sound blaster audigy 2ZS) and it caused system lock ups and some of my programs would crash. Reinstalling the audio driver/files fixed this issue, but who knows how many files would be required to be reinstalled. The OS files might still be intact, but you have created an unpredictable, unstable, working environment. If I'm able to load windows, but I suffer from random freezes and have constant program crashes is the environment still useful? While this might be okay if your testing a system, or are curious what would happen, but to suggest such an action to another user, one who may not be that tech savvy seems careless. Also in your first post you didn't post any of the possible repercussions of what could happen by doing this. The better option is to start from scratch and reinstall the programs wanted, but you didn't even mention this in your first post. I know its a pain, but that's better than corrupting user files and programs.
Oct 7 '08 #13
NeoPa
32,556 Expert Mod 16PB
I standby with what i said before.

NeoPa has provided no proof whatsoever to nullify my suggestions, not a single !!!
Qi,

I'm sorry you still see things that way.

I'm not too worried for anyone else now, as a number of us have posted clearly and sensibly as to why this is so obviously a very bad idea. The fact that you still can't see or understand that, or are simply unwilling ever to admit to being wrong, is really only a problem for you now. That sort of approach in life is sure to lead you into difficulties, which I take no joy from knowing, but there it is.
Oct 8 '08 #14
AmberJain
884 Expert 512MB
Hello,

@questionit ---> Although I said that I will not bother to reply to your posts, still I am posting again..........this time I am not here to elaborate/explain what I have already said but for something else (I always got the help I needed from bytes.com and hence I have some responsibilities towards bytes.com and that is why I am posting).

NeoPa has provided no proof whatsoever to nullify my suggestions, not a single !!!

Whatever is said is correct as already proved. you do Daniel a favour, bring him proof that doing what i have suggested is not correct.
Well, NeoPa doesnot needs to provide any proof. He is one of most respected voice on bytes.com and so I dont think that you have any such right to demand a proof from NeoPa.


I think this will be good to clear up the situation.
No one (if I make it out correctly) now wishes to "clear up this situation". We all understand what others are speaking and so............


How strange, how you make things up so conviniently
Well, It's a secret of members of bytes.com (shhhh......members, please dont share it in open here) ;)


And yes.....I remind you that Stang02GT is another respected voice on bytes.com.

:) :) :) :) :)
AmbrNewlearner
Oct 8 '08 #15
Nepomuk
3,112 Expert 2GB
OK, I have the feeling that this discussion is leading nowhere any more. Everyone has stated their points (some of which I agree with and some I don't, but I'm not getting involved in the discussion) and it's starting to become personal, so I think that should be it.

If nobody objects (with a good reason that is), I'll close this thread soon. I'm in GMT+1 DST and I was thinking of closing it round about 8 pm today. Any objections to me closing this thread can be posted here if it's still open or sent to me via PM.

Greetings,
Nepomuk (Moderator)
Oct 8 '08 #16
NeoPa
32,556 Expert Mod 16PB
I'm not sure that is the right course of action Nepo. I would hate to think anyone might feel we were imposing any sort of censorship (other than that as laid down in the rules). I'm sure that was not the intention, but consider how it may look to an ordinary member trying to argue a point with (mainly) all staff members.

Rather than locking the thread, we can keep an eye on it (I am already) to ensure nothing goes against any rules, but leave at least the opportunity to express open to all parties abiding by the rules.

This thread is, after all, purely here (split from the OP's original) for the purpose of arguing out the points. I don't feel there is any worry of anyone getting any dangerous ideas from it now.
Oct 9 '08 #17
Nepomuk
3,112 Expert 2GB
I'm not sure that is the right course of action Nepo...
OK, I get the Point. I'll not close it, but will be keeping a close look on the thread.

Greetings,
Nepomuk
Oct 10 '08 #18
questionit
553 512MB
Well, NeoPa doesnot needs to provide any proof. He is one of most respected voice on bytes.com ..
** Flaming removed **

Well, i have said, on a Pc, files were deleted except Windows and Program Files folder but nothing crashed.... So it was my proof.

Weather a Moderator, Chief Editor or anyone else says anything without proof in such a debate will worth nothing

Someone in one of the previous threads said that he had deleted files required by the sound card... How has told him to search for driver files from Windows folder and then come up to say that his System has crashed?? Some devices create a folder outside Windows for temporary storage , etc and it contains files that can be deleted.
Oct 15 '08 #19
Studlyami
464 Expert 256MB
I was going to reformat one of my PCs later this week, but I'll delete all files except windows and program files first and see what happens and I'll report back.
Oct 15 '08 #20
AmberJain
884 Expert 512MB
Hello,

Oh yes....You are right, questionit.......I recently tried deleting everything except Windows and Program files and rebooted.....And ouch... I was amazed to see Mac OS X Leopard (or Fedora probably- Ahhh... I dont know exactly) running on my 256 MB RAM intel686 PC automatically.
Personally now I hate that I supported NeoPa and others in past ;) and now I would recommend to anyone using XP to simply delete Windows and Program files and then reboot to see a wonderfull and truly advanced OS on you PC (Huh....I mean Vista ..........or is it MAc OS X .....Ahh...I really dont know what it is although it's UI has a blue colored screen with rubbush on it). I am posting a screenshot of it here (I hope questionit will help me with it):


I hope experts (except NeoPa) will help me identify which OS is this. It has a pretty advanced interface.


NOTE-That's enough from my side.....I was feeling bored preparing for my exams for the whole day and then I saw questionit's reply and just thought of poking some fun here. MODERATORS might edit this reply and then (as expected) warn me :)

Weather a Moderator, Chief Editor or anyone else says anything without proof in such a debate will worth nothing
Yeah.....you are right. But none of us here is crazy (or mad) enough to proceed as you had suggested (when all of us know in advance that it will do no good to anyone).

Dont know how you would prosper in your career if you continue thinking this way.
Well, I dont think I should TRY to "PROSPER IN MY CAREER" (as you said). I believe that (at present) I should simply concentrate to learn more about computers and programming. Prosperity will come to me when I will need it only if I try to study more now.
Only those care to prosper who dont have enough knowledge. When I say - "Machines should work. People should think", I dont mean that
'People should think of money'
instead I mean- 'People should think of knowledge'.........



:) :) :) :) :) :) :) :)
AmbrNewlearner ;)
Oct 15 '08 #21
NeoPa
32,556 Expert Mod 16PB
AmbrNewLearner said
Well, NeoPa doesnot needs to provide any proof. He is one of most respected voice on bytes.com ..
How pathetic it is.. its a shame for you AmberNewlearner... you try to appear as an expert and at the same time you are telling us that no proof is required to justify a technical disagreement.. Dont know how you would prosper in your career if you continue thinking this way.

...
Flaming is not allowed on this site!!

You have been warned too many times now for this latest offense to go unpunished.

Please note that further offenses committed after your return in a week (your account is now banned for a week) will result in a full and permanent expulsion from the site.

NB. Creating and posting from a new account during the time of your temporary ban is always followed by an immediate and permanent ban

Administrator.
Oct 15 '08 #22
NeoPa
32,556 Expert Mod 16PB
I was going to reformat one of my PCs later this week, but I'll delete all files except windows and program files first and see what happens and I'll report back.
That would be interesting. Although it seems to me that, even in the very unlikely event that no problems were noticed, no sentient being could reasonably be expected to infer from that that the process is safe.

Reasonable proof would have to include many tens of PCs (at least) and must ensure as many variations of configuration as possible.

Your test is very likely to prove conclusively it's not safe though. That can easily be done with a single PC. Almost any PC as far as I can see.
Oct 15 '08 #23
AmberJain
884 Expert 512MB
I was going to reformat one of my PCs later this week, but I'll delete all files except windows and program files first and see what happens and I'll report back.
@Studlyami- Looking forward to results anxiously.........

And I will try this myself next week on my PC (once my exams are over) and will post back results...........

Thanks............
AmbrNewlearner
Oct 15 '08 #24
Studlyami
464 Expert 256MB
Well, I deleted all my files except Windows, Program Files, and Documents and Settings (required by windows) restarted my computer and waited. Windows booted up and I selected my user account. When it was loading my personal settings this step took a while to get pass (I'm guessing it was trying to load files that were no longer there?) and it loaded windows. I clicked on different applications and loaded up some games with no issues. Restarted my computer and it loaded up windows again, but again it took a while during the loading personal settings. I ran a registry scan (something i did before hand) from the registry mechanic program and it came up with around 160 errors. I didn't look to much into these. Overall my system didn't seem slow or laggy. The issue of why i was going to reinstall still remains (mass clutter of data and programs) so i went ahead and reinstalled. I don't know how stable this system would be, but there were no adverse effects on the system except the longer loading of the personal settings. Anyways that's my experience with it. I would be interested in running the system for a month or two to see if any adverse affects would appear, but I needed this system cleared sooner than that.
Oct 23 '08 #25
NeoPa
32,556 Expert Mod 16PB
Nice work Stud (sorry - couldn't resist the abbreviation).

This is hardly proof of safety, although not a clear indication that it's dodgy in ALL circumstances.

Did you decide not to delete the "C:\Documents and Settings" folder because you didn't feel that test (The actual statement was that it was safe to delete all but "C:\Windows" and "C:\Program Files") even needed doing? It might have been amusing to run that anyway. Not necessary though of course :)
Oct 23 '08 #26
Studlyami
464 Expert 256MB
I tried to delete the folder but windows wouldn't let me saying how that folder is a critical item and it cannot be deleted. I expected that windows would load up, but i was surprised to not see any errors and the fact that my higher end video games didn't have any problems. Like I said though, I really wish I could of left it running for a month or so to see if I had any system lock ups or freezes. I did notice though that after deleting those other folders not much was deleted. My HD was still filled beyond belief and if any window dll were corrupted or if it contained any viruses that those items will still be around. I don't see much use for this It deleted a few files that were created by misc programs and a couple driver manufacturer tools/programs. It might be interesting to delete the Program Files as well and see how many errors may pop up (if any) and how many errors are found in the registry scan (i'm guessing a lot).
Oct 23 '08 #27
NeoPa
32,556 Expert Mod 16PB
In reality, there are many parts of the system which are effected by such a step. However, there are even more parts to any system.

Certainly (any idiot knows this) most of the main stuff is in those folders. There is the option of many things being stored and referenced outside of those folders too. Many are anyway, but not everyone uses the default prompted place to store things or install programs.

There are so many issues that can go wrong. Not all of them will on every system, of course, but we all know that there are many things on a system that get run only very sporadically. How do you test a system is still working as before. Only someone severely lacking in intelligence would assume that turning a system on and not seeing problems is a proof of concept.

It's a bit like the chap I spoke with the other day who felt that, as I was riding a motorcycle, it was perfectly acceptable to drive across my path, as motorcycles sometimes overtake on the wrong side of the road (therefore somehow they have no rights on the road). The biggest irony was that he didn't appreciate that's exactly how vehicles are SUPPOSED to overtake the most safely.

I'm not for a moment suggesting you think this way. You've clearly shown you have workable intelligence. Unfortunately that's not been evident from all the posters in this thread.
Oct 23 '08 #28
AmberJain
884 Expert 512MB
Hello,

And I will try this myself next week on my PC (once my exams are over) and will post back results.
I tried (as I had said) and noticed following results:

NOTE: Before I start I must tell that I tried this on a system installed with XP just 2 days ago although it had a lots of programs installed.

First of all, I deleted all the data (except Documents and settinggs, Windows, program files and hidden system files (e.g. boot.ini, NTLDR) in root of Windows installation directory. And then I rebooted. I think there was no problem. Then I deleted files in [program files] (I had to boot into linux for this as my Antivirus's files simply refused to be terminated and so I couldnot delete those files inside windows)

When I rebooted it took time for windows to load. Then I tried deleting [Documents and settings] but windows refused to delete them. And so I deleted them from Linux;) . Then I rebooted and boot time increased to a all time high of 4-5 minutes (on my 1280MB DDR1 RAM, 2.93 GHz Pentium4) and I was presented with a dialog box saying something like:
Windows cannot find the user profile but it will log you with the default profile
I tried installing Avast Anti virus but it refused to install. That tells that my system was pretty much in bad state now. I could not use it anymore (Who would like to use a XP system without an Antivirus?).

Ahh.. there's one more thing which I noted. When I saw the list of autoruns in Sysinternals Autoruns program (which I had to recopy from backup media) I got this (which is pretty much interesting).



Now I had thought of unchecking those entried in Autoruns and then see if XP still works after reboot. But unfortunately enough I just forgot to do it. I will try to see the effect of unchecking the autorun entries next time I will format my xp installation. And I will post results here.

I never tried deleting:
1. C:\System Volume Information
2. C:\recycled
3. C:\boot.ini
4. C:\config.sys
5. C:\autoexec.bat
6. C:\io.sys
7. msdos.sys
etc.....

I will try deleting them next time although I know deleting them will create a lot of havoc.
In short, deleting everything except Windows and Program files (as questionit said in REPLY #3 in the original thread) will make your system a lot UNstable and this is not the preferred choice of action for an user. futhermore, the thought that [Documents and settings] is an important directory can be proved by the fact that windows does not allows user to delete it.


Thanks.....
AmbrNewlearner
Nov 5 '08 #29
AmberJain
884 Expert 512MB
I could have made my last reply shorter but I simply couldnot. That is all I had to mention to express my thoughts :). I dont have a better command over English ;)

Thanks......
AmbrNewlearner
Nov 5 '08 #30

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Fughal | last post by:
Hi, I have a big DB2 database and I need this database without any Data in it for testing something. I have made a backup of these db and restore it on a testing system. My Problem is now how...
1
by: Z0gS | last post by:
I got this problem for the web application I try to access files on a remote server. string dirs = Directory.GetDirectories(@"E:\vehicles") E drive is a map to a network drive. I get the...
6
by: Martin Bischoff | last post by:
Hi, I'm creating temporary directories in my web app (e.g. ~/data/temp/temp123) to allow users to upload files. When I later delete these directories (from the code behind), the application...
5
by: George | last post by:
VB.net 2003 standard, XP windows home edition. Installed first application OK today. When I removed the application via Control Panel, there were no problems and the app folders were deleted. ...
3
by: Kimera.Kimera | last post by:
I'm trying to write a program in VB.net 2003 that basically deletes all files, folders, sub-folders and sub-sub folders (etc). The program is simply for deleting the Windows/Temp folder contents,...
5
by: rogersw8n | last post by:
Some how, some way the account that creates folders under Temporary Internet files has been changed to a domain account for VS 2003 and VS 2005. I recently installed VS 2005. All seemed to be ok...
1
by: =?Utf-8?B?UmFjaW5yaG9uZGE=?= | last post by:
I had a hard drive failure and had to re-load Microsoft Office XP. When I first loaded, I had no data files so I imported my pst files from my old hard drive and now I have double of everything...
1
by: tkondal | last post by:
Hi, I have been looking into making my file cleaning script more intelligent. The goal of the script is to delete everything on a drive except for a couple of folders which are skipped by the...
1
by: veer | last post by:
hi it looks a silly question but i m getting confused actually i want to copy folders from one location to another like from C:\abc To D:\xyz here abc and xyz are two folders in c and d drive it...
0
by: TG | last post by:
hi! I am working with VB 2008. I want to be able to run this program say in N:\ and it will show me in an excel sheet the following: Folder Path Size(GB) Count of Files N:\Clients 0.53 308 ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.