Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Hardware Hardware
Search Search
Search for:
Tech Support Guy > > >

Solved: Temp and log files corrupted, Chkdsk hangs.


(!)

Armiris's Avatar
Armiris Armiris is offline
Computer Specs
Member with 572 posts.
THREAD STARTER
 
Join Date: Sep 2007
Experience: Intermediate
09-Oct-2007, 11:03 AM #1
Question Solved: Temp and log files corrupted, Chkdsk hangs.
OK, my computer runs Chkdsk when it boots up a lot, finds a lot of corrupted files. It truncates them, but it always hangs before finishing. Any help?
Triple6's Avatar
Triple6   (Rob) Triple6 is offline
Computer Specs
Moderator with 42,790 posts.
 
Join Date: Dec 2002
Location: Canada
Experience: Advanced
09-Oct-2007, 11:41 AM #2
I'd determine the make and model of the drive and run the manufacturer's diagnostics on it to see if the drive itself is perhaps failing.
Jeruvy's Avatar
Jeruvy Jeruvy is offline
Computer Specs
Senior Member with 568 posts.
 
Join Date: Sep 2007
Experience: Advanced
09-Oct-2007, 11:42 AM #3
Time for a new hard disk.
Memnoch322's Avatar
Memnoch322 Memnoch322 is offline Memnoch322 has a Profile Picture
Senior Member with 880 posts.
 
Join Date: May 2005
Location: San Diego
Experience: Advanced
09-Oct-2007, 11:49 AM #4
How long are you giving it to finish?
Armiris's Avatar
Armiris Armiris is offline
Computer Specs
Member with 572 posts.
THREAD STARTER
 
Join Date: Sep 2007
Experience: Intermediate
09-Oct-2007, 01:53 PM #5
I re-installed windows, formatted the drive, and now it's working.
Triple6's Avatar
Triple6   (Rob) Triple6 is offline
Computer Specs
Moderator with 42,790 posts.
 
Join Date: Dec 2002
Location: Canada
Experience: Advanced
09-Oct-2007, 02:12 PM #6
I'd still test the drive, you now may not be using the damaged part of the drive if there are bad sectors on the drive.
Armiris's Avatar
Armiris Armiris is offline
Computer Specs
Member with 572 posts.
THREAD STARTER
 
Join Date: Sep 2007
Experience: Intermediate
09-Oct-2007, 02:17 PM #7
How do you test the drive?
Armiris's Avatar
Armiris Armiris is offline
Computer Specs
Member with 572 posts.
THREAD STARTER
 
Join Date: Sep 2007
Experience: Intermediate
09-Oct-2007, 02:25 PM #8
After using IE for a bit, I'm getting Chkdsk again. I guess that the hard drive is bad right around the Temp folder. I ran Chkdsk through Command Prompt, and Windows said the file syqstem was bad. I made it fix the errors the next time the system started. Thanks for the help.
Armiris's Avatar
Armiris Armiris is offline
Computer Specs
Member with 572 posts.
THREAD STARTER
 
Join Date: Sep 2007
Experience: Intermediate
09-Oct-2007, 02:26 PM #9
My Command Prompt log:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Danny>help
For more information on a specific command, type HELP command-name
ASSOC Displays or modifies file extension associations.
AT Schedules commands and programs to run on a computer.
ATTRIB Displays or changes file attributes.
BREAK Sets or clears extended CTRL+C checking.
CACLS Displays or modifies access control lists (ACLs) of files.
CALL Calls one batch program from another.
CD Displays the name of or changes the current directory.
CHCP Displays or sets the active code page number.
CHDIR Displays the name of or changes the current directory.
CHKDSK Checks a disk and displays a status report.
CHKNTFS Displays or modifies the checking of disk at boot time.
CLS Clears the screen.
CMD Starts a new instance of the Windows command interpreter.
COLOR Sets the default console foreground and background colors.
COMP Compares the contents of two files or sets of files.
COMPACT Displays or alters the compression of files on NTFS partitions.
CONVERT Converts FAT volumes to NTFS. You cannot convert the
current drive.
COPY Copies one or more files to another location.
DATE Displays or sets the date.
DEL Deletes one or more files.
DIR Displays a list of files and subdirectories in a directory.
DISKCOMP Compares the contents of two floppy disks.
DISKCOPY Copies the contents of one floppy disk to another.
DOSKEY Edits command lines, recalls Windows commands, and creates macros.
ECHO Displays messages, or turns command echoing on or off.
ENDLOCAL Ends localization of environment changes in a batch file.
ERASE Deletes one or more files.
EXIT Quits the CMD.EXE program (command interpreter).
FC Compares two files or sets of files, and displays the differences
between them.
FIND Searches for a text string in a file or files.
FINDSTR Searches for strings in files.
FOR Runs a specified command for each file in a set of files.
FORMAT Formats a disk for use with Windows.
FTYPE Displays or modifies file types used in file extension associations.
GOTO Directs the Windows command interpreter to a labeled line in a
batch program.
GRAFTABL Enables Windows to display an extended character set in graphics
mode.
HELP Provides Help information for Windows commands.
IF Performs conditional processing in batch programs.
LABEL Creates, changes, or deletes the volume label of a disk.
MD Creates a directory.
MKDIR Creates a directory.
MODE Configures a system device.
MORE Displays output one screen at a time.
MOVE Moves one or more files from one directory to another directory.
PATH Displays or sets a search path for executable files.
PAUSE Suspends processing of a batch file and displays a message.
POPD Restores the previous value of the current directory saved by PUSHD.
PRINT Prints a text file.
PROMPT Changes the Windows command prompt.
PUSHD Saves the current directory then changes it.
RD Removes a directory.
RECOVER Recovers readable information from a bad or defective disk.
REM Records comments (remarks) in batch files or CONFIG.SYS.
REN Renames a file or files.
RENAME Renames a file or files.
REPLACE Replaces files.
RMDIR Removes a directory.
SET Displays, sets, or removes Windows environment variables.
SETLOCAL Begins localization of environment changes in a batch file.
SHIFT Shifts the position of replaceable parameters in batch files.
SORT Sorts input.
START Starts a separate window to run a specified program or command.
SUBST Associates a path with a drive letter.
TIME Displays or sets the system time.
TITLE Sets the window title for a CMD.EXE session.
TREE Graphically displays the directory structure of a drive or path.
TYPE Displays the contents of a text file.
VER Displays the Windows version.
VERIFY Tells Windows whether to verify that your files are written
correctly to a disk.
VOL Displays a disk volume label and serial number.
XCOPY Copies files and directory trees.

C:\Documents and Settings\Danny>chkdsk
The type of the file system is FAT32.
Volume Serial Number is BC0C-5718
Windows is verifying files and folders...
Windows found errors on the disk, but will not fix them
because disk checking was run without the /F (fix) parameter.
\Documents and Settings\Danny\Cookies\danny@ads.techguy[2].txt first allocation
unit is not valid. The entry will be truncated.
\Documents and Settings\Danny\Cookies\danny@forums.techguy[2].txt first allocat
ion unit is not valid. The entry will be truncated.
\Documents and Settings\Danny\Local Settings\Temporary Internet Files\Content.IE
5\PJR9MEEV\adjs[7].php first allocation unit is not valid. The entry will be tr
uncated.
\Documents and Settings\Danny\Local Settings\Temporary Internet Files\Content.IE
5\PJR9MEEV\doublehelix2[1].jpg first allocation unit is not valid. The entry wi
ll be truncated.
\Documents and Settings\Danny\Local Settings\Temporary Internet Files\Content.IE
5\QMY2CR8E\CASNVFA4 first allocation unit is not valid. The entry will be trunc
ated.
\Documents and Settings\Danny\Local Settings\Temporary Internet Files\Content.IE
5\QMY2CR8E\CAY34T2J first allocation unit is not valid. The entry will be trunc
ated.
\Documents and Settings\Danny\Local Settings\Temporary Internet Files\Content.IE
5\OEE9H4SJ\adjs[12].php first allocation unit is not valid. The entry will be t
runcated.
\Documents and Settings\Danny\Local Settings\Temporary Internet Files\Content.IE
5\OEE9H4SJ\ads[15].htm first allocation unit is not valid. The entry will be tr
uncated.
\WINDOWS\Prefetch\WPABALN.EXE-0D414166.pf is cross-linked on allocation unit 394
333.
Cross link resolved by copying.
\WINDOWS\Prefetch\IEXPLORE.EXE-2D97EBE6.pf is cross-linked on allocation unit 39
4197.
Cross link resolved by copying.
\WINDOWS\Prefetch\NTOSBOOT-B00DFAAD.pf is cross-linked on allocation unit 394057
.
Cross link resolved by copying.
\WINDOWS\Prefetch\HELP.EXE-0836346A.pf is cross-linked on allocation unit 394114
.
Cross link resolved by copying.
\WINDOWS\Prefetch\CHKDSK.EXE-0C6DCB55.pf is cross-linked on allocation unit 3941
42.
Cross link resolved by copying.
File and folder verification is complete.
Convert lost chains to files (Y/N)? y
2112 KB in 11 recoverable files.
Windows found problems with the file system.
Run CHKDSK with the /F (fix) option to correct these.
6,229,068 KB total disk space.
666,044 KB in 337 hidden files.
2,300 KB in 519 folders.
1,665,252 KB in 8,813 files.
3,893,352 KB are available.

4,096 bytes in each allocation unit.
1,557,267 total allocation units on disk.
973,338 allocation units available on disk.

C:\Documents and Settings\Danny>chkdsk /f
The type of the 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) y

This volume will be checked the next time the system restarts.

C:\Documents and Settings\Danny>

Last edited by Armiris; 09-Oct-2007 at 02:34 PM..
Armiris's Avatar
Armiris Armiris is offline
Computer Specs
Member with 572 posts.
THREAD STARTER
 
Join Date: Sep 2007
Experience: Intermediate
09-Oct-2007, 03:30 PM #10
How can I use CHKDSK to check and/or fix a specific folder?
Armiris's Avatar
Armiris Armiris is offline
Computer Specs
Member with 572 posts.
THREAD STARTER
 
Join Date: Sep 2007
Experience: Intermediate
09-Oct-2007, 03:47 PM #11
Here is the CHKDSK helpfile:

CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]]


volume Specifies the drive letter (followed by a colon),
mount point, or volume name.
filename FAT/FAT32 only: Specifies the files to check for fragmentation
.
/F Fixes errors on the disk.
/V On FAT/FAT32: Displays the full path and name of every file
on the disk.
On NTFS: Displays cleanup messages if any.
/R Locates bad sectors and recovers readable information
(implies /F).
/L:size NTFS only: Changes the log file size to the specified number
of kilobytes. If size is not specified, displays current
size.
/X Forces the volume to dismount first if necessary.
All opened handles to the volume would then be invalid
(implies /F).
/I NTFS only: Performs a less vigorous check of index entries.
/C NTFS only: Skips checking of cycles within the folder
structure.

The /I or /C switch reduces the amount of time required to run Chkdsk by
skipping certain checks of the volume.

I tried entering CHKDSK [path to the temp folder] /F but it keeps giving me syntax errors. How can I correctly fix just one folder?
Armiris's Avatar
Armiris Armiris is offline
Computer Specs
Member with 572 posts.
THREAD STARTER
 
Join Date: Sep 2007
Experience: Intermediate
09-Oct-2007, 04:58 PM #12
Bump
MaverickUK's Avatar
MaverickUK MaverickUK is offline
Computer Specs
Senior Member with 941 posts.
 
Join Date: Nov 2006
Location: Cheshire, England, UK.
Experience: Intermediate
09-Oct-2007, 05:13 PM #13
If chkdsk is not working, find the manufacturer of the drive and go to their website, under "Downloads" or similar, you will find a hard drive diagnostic download, you must download this tool and run it - once done it will mark any bad clusters so they will not be used by the computer anymore, hopefully, meaning you will have none or less of these issues.

In many cases this issue means your drive is starting to fail, however after over two years or even more one of my drives has been fine after doing a simple chkdsk and marking the bad clusters to not be used anymore.

Nick.
Triple6's Avatar
Triple6   (Rob) Triple6 is offline
Computer Specs
Moderator with 42,790 posts.
 
Join Date: Dec 2002
Location: Canada
Experience: Advanced
09-Oct-2007, 05:51 PM #14
Forget CHKDSK, its just a basic tool. You need to use the hard drive manufacturer's diagnostics to test the drive.

You may also want to test the RAM: http://www.memtest.org/
Armiris's Avatar
Armiris Armiris is offline
Computer Specs
Member with 572 posts.
THREAD STARTER
 
Join Date: Sep 2007
Experience: Intermediate
09-Oct-2007, 06:16 PM #15
RAM isn't giving me trouble, it's a bad allocation unit on my hard drive.
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑