Solved

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

Posted on 2009-05-03
5
2,062 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

860 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