Go Back   Tech Support Forum > Microsoft Support > Windows XP Support

How do I unlock C: Drive on Windows XP ?

This is a discussion on How do I unlock C: Drive on Windows XP ? within the Windows XP Support forums, part of the Tech Support Forum category. Hello I have recently bought a great piece of software called 'System Mechanic 6' I am currently using it to


Closed Thread
 
Thread Tools Search this Thread
Old 12-19-2006, 09:29 AM   #1
Registered Member
 
Puppet-Master's Avatar
 
Join Date: Jun 2006
Location: London, England
Posts: 81
OS: Windows XP



Hello
I have recently bought a great piece of software called 'System Mechanic 6'
I am currently using it to fix the problems that have haunted my Hard-drive for a while now.

Today, When I ran a Hard-Drive scan to fix any errors to my hard-drive,
The scan finished, but on the summary at the end of the scan
it told me my C: Drive was locked and it couldnt be fixed.

So, I basically need to know how to unlock it
As in which program to use
and what command I use to unlock it

I would also like to know how I can Lock it again afterwards
to prevent any immediate re-infection of my hard-drive :)

__________________
Puppet-Master is offline  
Old 12-20-2006, 02:45 AM   #2
Roaming To Help
 
Join Date: Nov 2006
Location: US-UK
Posts: 5,650
OS: Too Many


Hi

The HDD is locked when its in use usually. The LOCK command blocks direct access by programs that can corrupt file names and/or destroy disk data, resulting in the loss of files on your disk. I've never used this piece of software but you won't have to use the HDD repair function, Windows has one that is perfectly adequate and suited for it.

-Go to Start>Run>type: chkdsk /r and hit enter.
-You will be prompted and choose Y and reboot.
-It will run on restart and do all the necessary checks/repairs needed tp your HDD.

On a side note, in Command Prompt this is how to lock unlock a drive.

LOCK [drive:]

Hit enter and choose Y. Its locked now. For instance drive C: would be:

LOCK C:

For unlocking

UNLOCK [drive:]

The same as before, you would type unlock followed by drive location.

Let us know how that goes.

__________________
Kalim is offline  
Old 12-21-2006, 06:43 AM   #3
Registered Member
 
Puppet-Master's Avatar
 
Join Date: Jun 2006
Location: London, England
Posts: 81
OS: Windows XP


Hey

I chkdsk/r thing
But it didn't work

The usual CMD.Exe box came up
and it included the following text within it:

The type of file system is FAT32.
Cannot lock current drive.

Chkdsk cannot run because the volume is in use by another process.
Would you like to schedule this volume to be checked the next time
the system restarts? <Y/N> _

I chose yes, and when I restarted my computer the blue screen
that normally appears when someone turns off the computer the wrong way
(By holding down the power button) appeared and ran a rather long scan
of my C: Drive.

Is there any possible way I could allow this Chkdsk/r program to lock my computer? As it said in the CMD box that it was un-able to lock it. Hence it was unlocked.

Any help would be greatly appreciated :)
__________________
Puppet-Master is offline  
Old 12-21-2006, 12:49 PM   #4
TSF Enthusiast
 
Join Date: Oct 2005
Posts: 2,232
OS: WINXP


The long scan when you rebooted was chkdsk running

When you said yes to the question, chkdsk started upon reboot before windows starts using the drive
__________________
hwm54112 is offline  
Old 12-21-2006, 02:49 PM   #5
Registered Member
 
Puppet-Master's Avatar
 
Join Date: Jun 2006
Location: London, England
Posts: 81
OS: Windows XP


Ok
So the scan worked?

Because theres been a virus running on my Hard-Drive for quite a while now
But I can't access the C: Drive that it exists on to remove it.

Can anyone suggest a way I can access the C: Drive and remove this nuisance? It seems to be hidden from ALL virus-scans.
__________________
Puppet-Master is offline  
Old 12-21-2006, 03:46 PM   #6
Roaming To Help
 
Join Date: Nov 2006
Location: US-UK
Posts: 5,650
OS: Too Many


Quote:
Originally Posted by Puppet-Master View Post
Ok
So the scan worked?

Because theres been a virus running on my Hard-Drive for quite a while now
But I can't access the C: Drive that it exists on to remove it.

Can anyone suggest a way I can access the C: Drive and remove this nuisance? It seems to be hidden from ALL virus-scans.
Why is it you can't access the C drive? Is it a bootable drive with an OS on it? Is it your main OS drive?

The lock error? (which I gave the command to unlock above)
__________________
Kalim is offline  
Old 12-21-2006, 04:43 PM   #7
TSF Enthusiast
 
Join Date: Oct 2005
Posts: 2,232
OS: WINXP


I agree with kalim, plus -how do you know there's a virus if it's hidden from all virus scans?

seems like there's a piece of the puzzle missing
__________________
hwm54112 is offline  
Old 12-22-2006, 06:45 AM   #8
Registered Member
 
Puppet-Master's Avatar
 
Join Date: Jun 2006
Location: London, England
Posts: 81
OS: Windows XP


I know there is a virus running on my C: Drive
because the symptoms of this virus are:

- Slowed down performance and program startup.
(My computer lags a lot and take 5 minutes to start-up)
- Virus scans disabled.
(my McAfee and AVG Scans are frequently cancelled)
- Reduces system security
(Windows security updates fail to download frequently)

I have experienced all of the above problem over the last 6 months.
And I thought If I could repair the damage this virus has done to my C: Drive
It could possibly help to detect and remove it.

I can access the C: drive through 'My Computer' so does that mean its Un-Locked? Because at the moment I'm not really sure if its locked or not.
__________________
Puppet-Master is offline  
Old 12-22-2006, 07:04 AM   #9
Registered Member
 
Puppet-Master's Avatar
 
Join Date: Jun 2006
Location: London, England
Posts: 81
OS: Windows XP


Also
In CMD.exe

Whenever I type in:

LOCK/UNLOCK C:
Or LOCK/UNLOCK [drive:C]

It either said
'UNLOCK' is not recognised as an internal or external command,
operable program or batch file

Or

The filename, directory name, or volume label syntax is incorrect.

What is the exact way to execute this command?
__________________
Puppet-Master is offline  
Old 12-22-2006, 03:35 PM   #10
TSF Enthusiast
 
Join Date: Oct 2005
Posts: 2,232
OS: WINXP


I’m not aware of a lock/unlock command in XP, though some programs have the command. win98 had a “lock” command and I’m sure there are xp tweaking utilities that have it but I don’t think it’s an available xp command. Basically, a lock command locks other users or programs from opening a file or using a drive.

I suspect system mechanic can’t fix the drive because windows has the drive “locked” when it is running. when you want to run chkdsk the command won’t work on the system drive (the drive windows is installed on) while windows is running (windows has the drive locked), therefore chkdsk runs after you reboot the computer and before windows starts. Chkdsk would probably fix whatever system mechanic can’t. Another possibility is that SM6 has a boot disk (floppy or cd-rom) to repair problems without booting into windows.

I would suggest you follow the first steps and return hear after an all clear from security
__________________
hwm54112 is offline  
Old 12-22-2006, 04:05 PM   #11
Roaming To Help
 
Join Date: Nov 2006
Location: US-UK
Posts: 5,650
OS: Too Many


I agree with hwm54112. You'll only be able to unlock it before booting as once its used, it won't be unlockable until you reboot.

If a drive is locked, it'll be in use. I was thinking XP had it but was using an older Win so that was a confusion I apologize for. The drives that are locked be mostly the ones with the pagefile (aka swap file). A lot of applications keep open files on the harddrive especially C: and services lock your HDD too.

If system mechanic can't access a sector, it seems a totally different problem to a simple lock/unlock.

See how the security analysis goes.
__________________
Kalim is offline  
Old 01-04-2007, 03:51 PM   #12
Registered Member
 
Join Date: Jan 2007
Posts: 1
OS: WinXP



Hi, First Post. I found this thread while searching for basically the same problem. I try using Norton Utilities and it won't scan the c drive. Asks if I would like to schedule a scan on next reboot. I do. On reboot...starts the scan with blue screen as mentioned above. Gets through the first 4 scans just fine. On the file scan, the 5th scan of CKDSK, it stops at 55%. Can't do anything. No message. I reboot and blue screen comes up again and says Cannot open Volume for Direct Access. Then goes on to start Windows.

What caused me to do a scan in the first place....I wanted to use Norton GHOST to clone my Drive for a backup. But GHOST burped and showed a read error on the Source drive (c:) so I figured CHKDSK would fix it and I could run GHOST.

Any thoughts on the CHKDSK problem would be greatly appreciated!
__________________
VBMan is offline  
Old 03-15-2009, 11:41 PM   #13
Registered Member
 
Join Date: Mar 2009
Posts: 1
OS: xp


Mistake

Hi

I downloaded a "Easy drive Lock" software form hihisoft.com

and tried to lock my drive and it worked

immediately after i did Unlock my drive and

this rubbish software says "Unlock Successed"

and when i go to try open my drive it says its locked

s/w provides 5 time usage on trial version
but it cheats me at first time

what can i do to get my data back
and unlock my Drive


thanks
==
Naveed Anjum [091-9867374437]
deevan.net@gmail.com

__________________
Naveed88 is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is on
Smilies are on
[IMG] code is on
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Post a Question


» Site Navigation
 > FAQ
  > 10.0.0.2


All times are GMT -7. The time now is 09:13 PM.


Copyright 2001 - 2014, Tech Support Forum

Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security - Top Web Hosts