Share via

How do I move or delete the $Logfile in Windows 7.

Anonymous
2011-04-13T15:57:36+00:00

I want to resize the hard drive but the $Logfile is preventing it. I want to delete it, resize the harddrive and then recreate the $Logfile

Windows for home | Previous Windows versions | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

11 answers

Sort by: Most helpful
  1. Anonymous
    2012-08-17T22:55:37+00:00

    I have tried all the above suggestions to no avail including Perfect Disk and Iolo System Mechanic.  None of the defrag programs worked.  When deleting the file Windows 7 would immediately recreate the file at the END OF THE DRIVE.  Why put a shrink option in if your software is going to block its access.  I finally resolved my issue by backing up with Total Recovery 8 Pro.  Then using their tools command line I formated the c drive followed by a restore.  The restore packs all the files at the beginning of the drive.  I rebooted and selected computer management, disk management, selected the "C" drive - right clicked and selected shrink.  It gave me the option to shrink all the way to the used space.  I backed it off to the size I wanted 115GB and it shrunk the drive.  Everything is working fine.

    I hope Microsoft will read these posts and change the philosophy of putting unmovable files at the end of the drive.  At least put them in the middle where we have a shot at shrinkage.

    Thanks everyone for helping me along my way.

    BTW -- What I did is the way we shrunk drives back in the 70's and early 80's.

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2012-05-05T19:00:30+00:00

    A reply was never forthcoming from anyone on the forum - apparently.

    It appears to be too technical for anyone to respond to; and is a common event for this forum.

    What I know (as best as I can) is this:

    • $LogFile is an ever growing file.
    • $LogFile is classified as a SH (System Hidden) type file.
    • Normal tools provided with the base OS never show any object prefexed with "$".
    • The OS considers any file prefixed with "$" to be a system-use only file - do-not-touch by users.

    However, the base OS is not real good at cleaning up after itself; and its own tables continue to grow beyond any boundry of commen sense.

    While I don't have a clear answer to your question, I hope this sheds some light on the type of file being asked about and how weak the responses are from this forum.

    I would recommend searching the web for a proper tool to analyze then reduce the size of the file, since MS does not seem inclined to provide such tools.  I'm certain that the file is needed for proper operation of the OS, though I don't know if it is automatically recreated.

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2011-04-14T06:23:39+00:00

    Hi BJB_004,

    ·         What log file are you referring to?

    ·         What happens when you try to delete it?

    ·         Do you receive any error?

    Please reply with more information so we can help you in a better way.

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2012-05-05T19:49:07+00:00

    It's an NTFS metafile. There's no way you should even think about touching it.

    http://www.ntfs.com/ntfs-system-files.htm

    http://en.wikipedia.org/wiki/Ntfs

    0 comments No comments
  5. Anonymous
    2011-04-14T12:06:58+00:00

    When I look at a graphical display of the hard drive, the file that is is preventing the resize is called $Logfile. I cannot see this file in windows explorer so I can't delete it through that app.

    0 comments No comments