Solved

exclusive access/access denied

Posted on 1997-04-18
5
236 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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). …
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.

747 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

12 Experts available now in Live!

Get 1:1 Help Now