[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

chkdsk /f after windows startup

Asked by CarlCCTVSI in Windows XP Operating System

Tags: Windows XP, chkdsk

Hi Experts,
I want to run chkdsk /f after windows has started up on my D: drive.  The D: drive is a USB Generic Hub drive and therefore won't be seen until windows is started.  I can initiate the chkdsk by having a piece of VBS code that does the chkdsk /f command that is called from the registry in the run key, however, I always get an error:

Chkdsk cannot run because the volume is in use by another
process.........

If I don't run it from the registry, but run in manually I don't get the error.  If I use a delay before running it, of say 30 seconds, I still get the error, but if I don't bother with the delay, but run it manually I don't.

CAn anyone point me in the direction of what I need to do?  To clarify, I need to chkdsk /f my D: drive after windows starts, so that windows has time to see it.  I want it to do it on every boot.

Thanks folks.
[+][-]11/02/09 05:47 AM, ID: 25719180Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/02/09 05:52 AM, ID: 25719226Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/02/09 06:43 AM, ID: 25719728Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/02/09 06:53 AM, ID: 25719851Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/02/09 09:44 PM, ID: 25726315Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/02/09 11:32 PM, ID: 25726681Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/03/09 08:29 AM, ID: 25730650Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/03/09 09:23 AM, ID: 25731245Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625