1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Temp and log files corrupted, Chkdsk hangs.

Discussion in 'Hardware' started by Armiris, Oct 9, 2007.

Thread Status:
Not open for further replies.
Advertisement
  1. Armiris

    Armiris Thread Starter

    Joined:
    Sep 6, 2007
    Messages:
    572
    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?
     
  2. Triple6

    Triple6 Rob Moderator

    Joined:
    Dec 26, 2002
    Messages:
    45,574
    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.
     
  3. Jeruvy

    Jeruvy

    Joined:
    Sep 20, 2007
    Messages:
    568
    Time for a new hard disk.
     
  4. Memnoch322

    Memnoch322

    Joined:
    May 10, 2005
    Messages:
    880
    How long are you giving it to finish?
     
  5. Armiris

    Armiris Thread Starter

    Joined:
    Sep 6, 2007
    Messages:
    572
    I re-installed windows, formatted the drive, and now it's working.
     
  6. Triple6

    Triple6 Rob Moderator

    Joined:
    Dec 26, 2002
    Messages:
    45,574
    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.
     
  7. Armiris

    Armiris Thread Starter

    Joined:
    Sep 6, 2007
    Messages:
    572
    How do you test the drive?
     
  8. Armiris

    Armiris Thread Starter

    Joined:
    Sep 6, 2007
    Messages:
    572
    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.
     
  9. Armiris

    Armiris Thread Starter

    Joined:
    Sep 6, 2007
    Messages:
    572
    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\[email protected][2].txt first allocation
    unit is not valid. The entry will be truncated.
    \Documents and Settings\Danny\Cookies\[email protected][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>
     
  10. Armiris

    Armiris Thread Starter

    Joined:
    Sep 6, 2007
    Messages:
    572
    How can I use CHKDSK to check and/or fix a specific folder?
     
  11. Armiris

    Armiris Thread Starter

    Joined:
    Sep 6, 2007
    Messages:
    572
    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?
     
  12. Armiris

    Armiris Thread Starter

    Joined:
    Sep 6, 2007
    Messages:
    572
  13. MaverickUK

    MaverickUK

    Joined:
    Nov 30, 2006
    Messages:
    941
    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.
     
  14. Triple6

    Triple6 Rob Moderator

    Joined:
    Dec 26, 2002
    Messages:
    45,574
    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/
     
  15. Armiris

    Armiris Thread Starter

    Joined:
    Sep 6, 2007
    Messages:
    572
    RAM isn't giving me trouble, it's a bad allocation unit on my hard drive.
     
  16. Sponsor

As Seen On
As Seen On...

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.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/635612