Solved

exclusive access/access denied

Posted on 1997-04-18
5
237 Views
Last Modified: 2013-12-16
When I run programs like chkdsk/f I get a message saying "Cannot obtain exclusive access to drive C" This also happens when I run it on my D drive but not my E drive.
  Also, when I try and copy a file from floppy to any of the drives I get a message saying "Access denied".  This recently begun to happen, how to I correct this?

 This system is not on a network and is not using the login
This has just begun to happen recently
0
Comment
Question by:korrupt
  • 3
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
smeebud earned 100 total points
ID: 1745496
Are you on a network or have your system setup as one for more than one user profiles? If So:
1: This behavior is by design. If you try to run CHKDSK and do not have administrative rights, an "Access Denied" message appears.
CHKDSK uses DASD (Direct Access Storage Device) to access a volume and is reserved to system administrators for security reasons. Opening a volume for DASD access bypasses the file system thereby allowing you to directly access (and change) the disk. If you want to run CHKDSK, log on as Administrator or as any user that is a member of the Administrators group.
------------------------------
2: SEE http://www.microsoft.com/kb/articles/q148/8/21.htm
-----------------------------
3: TRY to run scandisk and defrag. See if you have problems there.
-----------------------------
4: Go to http://www.microsoft.com/kb/ and at step 5 type:
chkdsk and access. Also in a seperate search type 'access dinied'
no quotes.

Your drive may be locked. We will no when you try to scandisk or defrag.
let me know.
0
 
LVL 14

Expert Comment

by:smeebud
ID: 1745497
here's one more idea that may help.
               TRY RUNNING SCANDISK.
ScanDisk cannot run on a drive that has been locked in
an MS-DOS window.
If you unlock the drive, you can run ScanDisk. To do
this:
1.Use the COMMAND.COM Unlock switch as follows:
UNLOCK C:
2.Run SCANDSKW again.
MORE
ScanDisk for Windows 95 does not run on locked drives. This behavior is by design. You must unlock the drive before ScanDisk can be used.
If you try to run SCANDSKW from an MS-DOS command prompt on a
locked drive, but the current drive is not locked, you
receive the following error message:
"The ScanDisk operation cannot be performed now. It may work
at a later time or if you shut down applications that are
accessing the drive."

For example, if drive C is the current drive and drive D is locked, you receive the above error when you run SCANDSKW D: from the C: drive.
If you start the ScanDisk graphical user interface first
and then select a drive that has been locked, you also
receive the above error message. If you choose OK and
then choose to start the ScanDisk operation anyway,
you receive the following error message:
"The ScanDisk operation failed to complete because the ScanDisk
operation is not supported on this drive. Note that this may be
caused by the drive being locked by another application or the
system."
0
 

Author Comment

by:korrupt
ID: 1745498
Edited text of question
0
 

Author Comment

by:korrupt
ID: 1745499
THis computer is not on a netwrok.  It will let me run scandisk and defrag, also it will let me copy files from drive C to D but wont let me copy files from my floppy drive.
0
 
LVL 14

Expert Comment

by:smeebud
ID: 1745500
korrupt,
  You have given me points indicating that the problem is solved.
Is it? if your still having problems contact me:
bwil@erinet.com
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now