Solved

Format hard drive error message "Cannot lock the drive.  The volume is still in use"

Posted on 2009-05-03
5
2,091 Views
Last Modified: 2012-05-06
I own a Dell Optiplex 745  OS Windows XP Pro 5.1 (build 2600.xpsp.050329-1536 : Service Pack 2)
I discovered an error message "run-time error '5' invalid procedure call or argument" when trying to run an important software item. After much fiddling about including placing and extracting it at source dir. it was advised that I should format the hard drive and reinstall Windows
Whist trying to format the drive it would not allow me to do it in Windows so I tried in Dos and received following error message  "Cannot lock the drive.  The volume is still in use"

My questions are

1  Are there any other solutions to rectify the software conflict issue apart from contacting the software developer (The program is a Japanese one and have set language setting correctly)
It did work on my other computer on a Windows XP Pro 32 bit platform. I cannot determine what this Windows version is other than it reads   Windows version 5.1 (build 2600.xpsp (service pack)?

2  If solution to software conflict cannot be found how can I solve the format problem as mentioned in the above introduction.?

trying to complete an urgent project and most frustrated

Look forward to your kind help

Ian
0
Comment
Question by:racepro
5 Comments
 
LVL 4

Expert Comment

by:thsteph
ID: 24289602
"Whist trying to format the drive it would not allow me to do it in Windows so I tried in Dos and received following error message  "Cannot lock the drive.  The volume is still in use"

how did you try in the first place? Format in Windows?? Format in DOS??? You mean you have tried with a bootable CD right?
0
 

Author Comment

by:racepro
ID: 24289665
Rindi...Please post it for me and assign max points
Thanks
Ian
0
 
LVL 88

Expert Comment

by:rindi
ID: 24289698
Done.

You can't format a disk which is running windows from within windows, as it is being used. To do that you need to boot from something else (usually the XP Installation CD). Dell PC's often don't come with installation CD's, they rather often have a recovery partition from which you can restore the system back to factory default state, or there are recovery CD's (DVD's), which do the same, or you can create such recovery media using a utility that Dell PC's are installed with. So now it depends on what option you have.

If you have a Dell XP installation CD, boot your PC with that (make sure you have set the BIOS to boot from CD first), and press a key when it asks you to do so if you want to boot from CD. This will start the XP installation process, during which you can select to format your HD.

If you have recovery CD's, boot from that and follow the on-screen instructions. This will also format the HD.

If there is a recovery partition, check your manual, or the Dell how-To's on their homepage which describes how you start the recovery process. This is usually a function key combination you have to press after turning on the PC, like ctrl+F11. Also this recovery process will format the disk.

The actual error you get with your special software, can be caused by many different things. Usually the best option is to get in touch with that particular software manufacturer to get this resolved (if the XP Re-installation doesn't help).

0
 
LVL 8

Accepted Solution

by:
skywalker39 earned 500 total points
ID: 24290132
Hi racepro,

If you know what kind of hard drive your using you can go to the manufacturers website and download their utility to format the drive for you.
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question