Re: chkdsking partions on startup
- From: "Rock" <Rock@xxxxxxxxxx>
- Date: Tue, 1 May 2007 19:12:58 -0700
"Rob" <okami1dotwestnetdotcom.au> wrote in message news:4637efb8$1@xxxxxxxxxxxxxxxxxxx
"Rock" <Rock@xxxxxxxxxx> wrote in message news:e3JotvCjHHA.4676@xxxxxxxxxxxxxxxxxxxxxxx"Rob" <okami1dotwestnetdotcom.au> wrote in message news:4637039f$1@xxxxxxxxxxxxxxxxxxxHi all
How do I get WinXP to execute a batch file during startup? I have about a
dozen partitions on this system, and going through each partitions
properties to get a chkdsk done at next reboot is tedious: having a batch
file that can be selectively run or not would be very handy, but I can't
figure out where to put it. Make the batch file then make a little reg file
to insert an entry into RunOnce?
I've also found that I can't install the command console because I've
already installed SP2, that would solve the above problem, if there's a way
to convince XP to just install the console.
To install the recovery console after SP2 is installed see this link. Note you can just run the recovery console by booting from the XP installation CD.
http://www.michaelstevenstech.com/xpfaq.html#021
I'm not sure why you are so concerned about running chkdsk.
--
Rock [MS-MVP User/Shell]
Ah, thank you Rock. There's a lot of other good stuff on that page too, and having a command console again will be great.
I am / was concerned about chkdsk because we get the occasional power outage here (no UPS) and I'm concerned about corrupted filesystems.
It's been pointed out though that if XP thinks it needs to chkdsk a partition at boot it will do it; I don't quite understand this, and have been operating (for years) under the impression that if the system isn't shut down properly for whatever reason I should check all its partitions. I've noticed that all the partitions atm are marked clean; presumably if I just hit the power switch they'd still be flagged that way, so I don't see how XP knows if / when to check things.
Have I been wasting a lot of time? Is there any point at all in forcing a chkdsk because of a power failure / whatever, or will XP look after itself?
The NT family of operating systems is different than the Win95/98/ME family. I would not run chkdsk just because of a bad shutdown. If chkdsk doesn't run automatically on startup things should be ok. You can do a fsutil dirty query when the OS boots to be sure.
And let me repeat the warning I posted earlier. Never run chkdsk without there being a full and complete backup. I use a drive imaging program, Acronis True Image Home, version 10 to regularly image the system to an external hard drive to an external drive. That way the system can be quickly restored if something damages it.
I also use a UPS. They are not that expensive and are certainly worthwhile if you are in an area where the power is uncertain.
--
Rock [MS-MVP User/Shell]
.
- References:
- chkdsking partions on startup
- From: Rob
- Re: chkdsking partions on startup
- From: Rock
- Re: chkdsking partions on startup
- From: Rob
- chkdsking partions on startup
- Prev by Date: Re: "switch user" works "Log Off" hangs
- Next by Date: Re: Pagefile Volume - I/O Error Status 0xC000009a
- Previous by thread: Re: chkdsking partions on startup
- Next by thread: Award winning hosting
- Index(es):
Relevant Pages
|