PDA

View Full Version : Check Disk Problems


Ocala Mike
03-26-2015, 04:22 PM
This is an odd one. I like to run the "Check Disk" utility on the MS-DOS screen once in a while (and sometimes my desktop runs it on its own). When I type in the Chkdsk command, I get "Access Denied." ??????

PS: My ancient desktop, running Windows XP, is functioning more or less normally. Could this have something to do with Windows XP no longer being supported?

Augenj
03-26-2015, 04:49 PM
This is an odd one. I like to run the "Check Disk" utility on the MS-DOS screen once in a while (and sometimes my desktop runs it on its own). When I type in the Chkdsk command, I get "Access Denied." ??????

PS: My ancient desktop, running Windows XP, is functioning more or less normally. Could this have something to do with Windows XP no longer being supported?
I can't remember XP that well but it sounds like you need Administrator authority.

whodoyoulike
03-26-2015, 05:11 PM
My laptop running Windows XP doesn't even offer the check disk option. I checked the help file. I used to run it on my desktop Windows 98 along with the defrag tool option.

whodoyoulike
03-26-2015, 05:17 PM
Sorry, I should have searched Chkdsk instead of check disk. The search result provided this:

"The chkdsk command with the parameters listed below is only available when you are using the Recovery Console. The chkdsk command with different parameters is available from the command prompt.

chkdsk [drive:] [/p] [/r]

Parameters

none

Used without parameters, chkdsk displays the status of the disk in the current drive.

drive:

Specifies the drive that you want chkdsk to check.

/p

Performs an exhaustive check even if the drive is not marked for chkdsk to run. This parameter does not make any changes to the drive.

/r

Locates bad sectors and recovers readable information. Implies /p.

Note

The chkdsk command requires the file Autochk.exe. If it cannot find it in the startup directory (\%systemroot%\System32, by default), it will attempt to locate it on the Windows Installation CD. If you have a multiboot computer, be sure you are issuing this command from the drive containing Windows."

Hope this helps.

Longshot6977
03-26-2015, 08:55 PM
This is an odd one. I like to run the "Check Disk" utility on the MS-DOS screen once in a while (and sometimes my desktop runs it on its own). When I type in the Chkdsk command, I get "Access Denied." ??????

PS: My ancient desktop, running Windows XP, is functioning more or less normally. Could this have something to do with Windows XP no longer being supported?

The cmd.exe command which runs the MS dos screen (as well as some other commands) needs to be run in 'elevated mode' under Administator privileges, otherwise you get this error message. Don't worry, it's super easy to to. If you're running Win 7, try these 6 steps. If you're running XP, try them anyway ( I use Win7)

1) Click on the Start button and choose All Programs
2) Then choose Accessories
3) Right click on Command Prompt
4) Choose Run As Administrator
5) Choose Yes on the User Account Control pop up window. If needed, type in your Admin password or the password of another user that has Admin privileges ( I don't know your setup) if your user account is a standard account. The elevated command prompt window appears.
6) Type chkdsk with any switches you need. Press enter. Type Exit when finished and press Enter.

headhawg
03-27-2015, 12:13 AM
Windows XP isn't like Windows Vista or later versions so you can't use the steps given by Longshot. It sounds like the general suggestions are good ones, though. Ocala Mike -- are you logged in to the computer with an administrator account when you try to run chkdsk? It doesn't have to be 'Administrator'; just a user account that belongs to the Administrators group. If you are then it's something else causing the access problem so let us know.

GameTheory
03-27-2015, 10:32 AM
Windows XP isn't like Windows Vista or later versions so you can't use the steps given by Longshot. It sounds like the general suggestions are good ones, though. Ocala Mike -- are you logged in to the computer with an administrator account when you try to run chkdsk? It doesn't have to be 'Administrator'; just a user account that belongs to the Administrators group. If you are then it's something else causing the access problem so let us know.
Even if you are the administrator I think you have to start the command prompt explicitly "as administrator" (or else the option would have no purpose, right?).

headhawg
03-27-2015, 02:54 PM
Even if you are the administrator I think you have to start the command prompt explicitly "as administrator" (or else the option would have no purpose, right?). The OP stated that he has Win XP, so I'm assuming this is the machine that he has the problem on and answered accordingly. (It's not totally clear as he mentions MS-DOS as well.) The elevated command prompt is not the same as using the "Run as" option which lets you be logged in as a non-admin and then use the option to escalate priveleges to run an admin-level utility.

GameTheory
03-27-2015, 03:39 PM
The OP stated that he has Win XP, so I'm assuming this is the machine that he has the problem on and answered accordingly. (It's not totally clear as he mentions MS-DOS as well.) The elevated command prompt is not the same as using the "Run as" option which lets you be logged in as a non-admin and then use the option to escalate priveleges to run an admin-level utility.
Seems like that option is always there, maybe not. (I'm always logged in as administrator.)

Ocala Mike
03-27-2015, 06:14 PM
I'm logged in as Administrator ok, and I've pretty much tried all the above suggestions - still says access denied.

I used to type chkdsk C:/f/r to get to where it would schedule to run the utility upon the next start up, but something has caused my access to be denied. Very strange.

DJofSD
03-27-2015, 06:39 PM
Try this: (http://www.sevenforums.com/hardware-devices/156843-administrator-getting-access-denied-along-chkdsk-errors-startu.html)


to get permission to do CHKDSK/f. you could try enabling the 'super admin account'

Click Start.

In the Search field, type CMD.

On the list of available programs, right click the Command Prompt icon and click Run as Administrator.

In the black window, type: net user administrator /active:yes

Press Enter.

The system should return you with the following message: The command completed successfully.

Now, exit the Command Prompt and click the Start icon.

Log off from the current account and in the Account window you should now see the Administrator account.

Done!
If you want to turn off the Admin account, type: net users administrator /active:no

vegasone
03-27-2015, 09:51 PM
If you don't specify a a drive other than the one that is the main drive it won't work. In order to chkdsk/f your main drive you would need to boot on a floppy if my memory is correct(Been a long while). Try just running chkdsk without parameters and see what happens

Ocala Mike
03-28-2015, 01:42 AM
Tried all of the above suggestions to no avail. Thanks anyway, guys.

Red Knave
03-28-2015, 07:45 AM
Mike

did you try this (http://answers.microsoft.com/en-us/windows/forum/windows_7-system/chkdsk-access-denied/4cff02b0-b84e-4591-a7f8-eb90cf81099b) ? Read it all the way through.

vegasone
03-28-2015, 10:18 AM
Should work since will run before windows boots.

Longshot6977
03-28-2015, 10:54 AM
I'm logged in as Administrator ok, and I've pretty much tried all the above suggestions - still says access denied.

I used to type chkdsk C:/f/r to get to where it would schedule to run the utility upon the next start up, but something has caused my access to be denied. Very strange.

This MIGHT have something to do with user account control being affected, so try making a new user account (even an admin account) and try again.

headhawg
03-28-2015, 12:05 PM
This MIGHT have something to do with user account control being affected, so try making a new user account (even an admin account) and try again.There is no UAC in Win XP but your suggestion might work. He could also log in with the built-in Administrator account instead of creating a new account. In fact, based on my reply to GT maybe he should try running the command prompt using Run As.
Should work since will run before windows boots.Ocala is obviously not getting the message that gives him the option to run at boot time or he would have posted that. (He probably wouldn't have started the thread if that was the case.)

098poi
03-28-2015, 12:38 PM
With XP can't you double click on My Computer, highlight and rt. click on the c: drive, select properties, when window comes up select tools tab, select something about checking drive for errors, select both options, say apply or ok, then it will ask if you want to schedule check for next boot,say yes and reboot, when it comes up it will say to skip check hit any key, don't hit any key and just let it run.

Ocala Mike
03-29-2015, 09:11 PM
Thanks to all for your help, and special thanks to 098poi whose solution to go through the tools option worked perfectly. His solution also opened the door to me backing up all my stuff onto a disk as soon as possible, which you can also do through the same option.

"The volume is clean. Windows has completed checking the disk."

Also, thanks to PA for running this website which is now a close second for me to my favorite camgirl site on which a 73-year old guy (who obviously knows nothing about computers) can delude himself into thinking a 22-year old gal wants to "get to know him."

:D :D :D

098poi
03-29-2015, 09:41 PM
Glad it worked for you. If I might suggest you should think about upgrading from XP. You may leave yourself vulnerable to the web. Not just viruses but possible access to your machine and files from a bad guy.
Here is a link about why and I think this is from a year ago

http://www.pcmag.com/article2/0,2817,2456104,00.asp

Ocala Mike
03-29-2015, 09:56 PM
Thanks for the link; it's in the works.