Tech Support > Microsoft Windows > Setup & Deployment > autorun chkdsk C: /R
autorun chkdsk C: /R
Posted by vangoogle on January 30th, 2006


Hi all,
I am trying to create a script (BAT File) to automate some processes.
I want to run chkdsk c: /R
off course I am always asked to answer Y to run on next boot.
How can I get around this as I wish to setup the script to run like 2AM
when no one is around.

I already have autologin and auto shutdown and reboot setup and
functioning but I cannot get chkdsk to accept a Y answer.

Thanx for your help,
Mark

Posted by Wesley Vogel on January 30th, 2006


Schedule the reboot.

Using Task Scheduler to schedule the computer to shut down and restart at a
specific time
http://www.winxptutor.com/schsd.htm

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:1138583636.461615.306020@o13g2000cwo.googlegr oups.com,
vangoogle <infotech@vangoogle.com> hunted and pecked:

Posted by Galen on January 30th, 2006


In news:1138583636.461615.306020@o13g2000cwo.googlegr oups.com,
vangoogle had this to say:

My reply is at the bottom of your sent message:

Two questions...

Why would you want this to happen?
How often do you want it to happen?

--
Galen - MS MVP - Windows (Shell/User & IE)
http://dts-l.org/
http://kgiii.info/

"We approached the case, you remember, with an absolutely blank mind,
which is always an advantage. We had formed no theories. We were simply
there to observe and to draw inferences from our observations." -
Sherlock Holmes



Posted by vangoogle on January 30th, 2006


I have shutdown sorted, just wanted to run chkdsk c: /R without having
to answer Y to run checkdisk on next boot.

Yeah I have been thinking about it, its not really something u need to
run each week. But it would be nice to have it set to happen like once
a month.

Its just an auto defrag, spybot and cleanup for customers who have no
idea how to run this stuff.

Posted by Galen on January 30th, 2006


In news:1138611538.435191.183670@g14g2000cwa.googlegr oups.com,
vangoogle had this to say:

My reply is at the bottom of your sent message:

My two cents? Put them on NTFS and don't worry about it. XP is pretty good
about it and NTFS is really good at it. If it needs it, it will run.

--
Galen - MS MVP - Windows (Shell/User & IE)
http://dts-l.org/
http://kgiii.info/

"We approached the case, you remember, with an absolutely blank mind,
which is always an advantage. We had formed no theories. We were simply
there to observe and to draw inferences from our observations." -
Sherlock Holmes




Similar Posts