Jump to content
Tuts 4 You

How to check files whether they are still all right?


Recommended Posts


just wanna ask if you know some tools which can check almost all files on HDD or USB stick to check whether all are still all right.So I have a USB stick with many rar and exe etc files and that USB stick works slowly [access on it hangs a bit no idea why so I have 2 of the same USB sticks and all both does hang on the same way] and today I checked some rar files with winrar [test function] and some of them was corrupt and I can not unpack them anymore etc.So now I wanna check the whole USB stick for such error files so how can I do this without to choose any single files manually.Good would be to have a tool which checks all files and which then create a log file with all bad results so that I know which files are broken / damage etc so that I can delete re exchange them etc.Maybe you know a tool which can do this for me at once with all possible files [rar exe etc].So I found also some exe files which are broken but I don't wanna exe them all just to find out whether they are working or not you know. :)

Thank you again

Link to comment
Share on other sites

same thing happend to me but only exe files on usb not rar or zip files.

not realy helping this but

You might try checking the System Event Log to see if there are any errors occurring:

Start -> right-click "Computer" and choose "Manager"

In the left pane navigate to:

System Tools -> Event Viewer -> Windows Logs -> System

There are lots of error and warning messages related to the copying to external drives problem!

Error messages are basically the same and saying that the file system structure on the drives is corrupt and unusable and cannot be corrected... Looking at the log, I see that each time I was copying files - errors messages were generated, but there were no errors or warnings displayed, nothing. I had no idea the system was such a mess.

And with all of that the file system on all drives I tried was perfectly fine, no matter whether I was plugging - unplugging them, or managed to safely eject and replug. ALL data was accessible, except the newly written - and that was happening each time, until I started rebooting the comp before copying files to it. So far it seems to solve the problem, but would be great to know what is causing it

original source


Edited by gfx-er
Link to comment
Share on other sites

Hi gfx-er,

thank you for your answer.Hhmmm so I have no windows logs [XP]!Only others and system and there I can see not problems about it.So I have some USB sticks [2.0] and only this 2 I have are working slowly and the other USB [2.0 & 1.0] working normaly.Each time if I access the [slow] USB stick the system hangs for a few moment also if I trace into the stick [open folders via double click] then it can also hang a little.So I don't know why so the other USB sticks working ok and fast also the 1.0 stick.So this should be the problem for me and also with copy file on this stick which can after be broken if the copy process was maybe stopped for a second etc.So now I have the bad salad with some files on this USB stick and now I need to check any files whether they are ok or not but I don't wanna do this manually of course and now I am looking for a tool which can log all broken files without to give me a message on any file you know.So at the moment I can just use winrar to check packed files but not exe files or dll files etc.

So if I still use this stick as storage then I can just copy rar files on it and after I have to check the file to see whether the copy process was successfully.Would be maybe a good idea to find a tool which can copy files from source C: etc to a other location which can compare both files after to check whether all is fine or not but also here I don't know tools for this.

PS: Yes I use USB 2.0 ports.


Link to comment
Share on other sites

cannot find program who can scan usb for corrupted exe files but i find this i don know is this is helping

ExeFixer is a free tool intended to fix executable file extensions and run a program even when these extensions are damaged.

It also includes several fixes to common issues caused by modern malware to windows registry.

Version .com available to be used if the .exe file extension has been damaged.

Supported extensions are: .EXE, .MSI, .REG, .BAT, .CMD, and .COM.


If the .exe file extension is corrupted, download ExeFixer.com.

If the .com file extension has also been corrupted, follow the steps below:

1: Right-click a file that has an "Open with" context menu (eg: a text or word document or a picture), hover Open with... menu and click Choose default program.

2: Uncheck the box that says to always open this file type with this program.

3: Click Browse button, browse to the path where ExeFixer is located and click to select it.

4: Click Open button.

If you're working on Windows Vista or higher, and the User account control is enabled, these steps won't work in normal mode if the key HKEY_CLASSES_ROOT\exefile has been completely deleted, because windows won't be able to set the administrator rights for ExeFixer.

Thus, if you didn't manage to run ExeFixer using the steps above, reboot into safe mode and repeat the procedure.

Once you've managed to run ExeFixer, you can use its features to fix your computer,

While you're working in safe mode, it maybe useful to disable the User account control, specially if the computer is still infected, because the malware will certainly delete the .exe extension again once you reboot in normal mode.

To disable the User account control, type or paste the text below in the ExeFixer run field and hit Enter:

cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v "EnableLUA" /t reg_dword /d 0 /f

You can also click the button Enable and run Regedit, on ExeFixer window, search for the value EnableLUA under the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System and change its data to 0.

Now you'll be able to run ExeFixer in normal mode. It allows you not only to fix the file extensions mentioned above, but also to run or open any file even when these extensions are damaged. You can even open an internet location or download a file.


To open this page type or paste http://www.carifred.com/exefixer/ in ExeFixer's run bar and press Enter.

To download UVK type or paste http://www.carifred....vk/UVKSetup.exe in ExeFixer's run bar and press Enter.

To download Malwarebytes AntiMalware type or paste:

http://download.blee....1.1100.exe��in ExeFixer's run bar and press Enter.

To run cmd commands type cmd /c or cmd /k followed by the command you wish to execute and press Enter.

To fix a file extension, just select the one you want to fix and click Fix extension button.You can also select to fix all six file extensions: .exe, .msi, .reg, .bat, .cmd, and .com by selecting the field All in the combo list right after Select extension: .

The buttons on the lower pane will help you to fix and disinfect your computer:

The buttons Enable and run Regedit, Enable & run Task manager and Enable & run Msconfig will enable these tools and run them immediately, in case the malware is monitoring these tools and constantly disable them.

The button Download & run UVK will download our virus removal tool, UVK, and run it when the download finishes. This will allow you to easily delete the malware that is deleting your file extensions.

The button Run System Restore will allow you to restore your computer to the state it was before the infection.

The button Enable autoplay function will enable autoplay for CD/DVD and USB drives.


no sorry LCF-AT cannot find tool that can scan for corrupted exe files or tool who can copy files from source C: etc to a other location which can compare both files after to check whether all is fine or not .


or CmpDisasm



hi can compare two files

Edited by gfx-er
Link to comment
Share on other sites


What Fs does your USB drives have?FAT or NTFS?The slow process, rings a bell about corrupted fs.

Have you tried checkdisk-ing the drives?

P.S. Formatting usb's flash drives (not hdd's), sd's , etc using the "right" paramaters really helps speed.

Use this:https://www.sdcard.o...ds/formatter_3/

for these kind of drives

@gfx-erI really hope, but i doubt that exefixer will help.It is mainly needed when the extensions get messed up after some trojans infections

Edited by mrvanity
Link to comment
Share on other sites

they say exe fixer can fix exe file even if hi is damaged. ntfs file system is faster then fat 32 .

Edited by gfx-er
Link to comment
Share on other sites

@ gfx-er

Thanks again for the infos but the exefixer tool is not the right one what I am looking for.So if a file is broken after a copy process then it can not get fixed by any other tool.

So at the moment I am just searching for a intelli 1 to 1 copy tool + verify function of the original file with the new made copied file.

C:\Notepad.exe ; original file

copy to

D:\Notepad.exe ; USB stick for exsample

So the copy process is clear and after this the tool should scan and compare both files with each other.If the new file is same like original file then copy process was done good and if not then the tool should copy it again til the result does match with the original file.Something like this to know that the copied file was created 1 to 1 from the original.

@ mrvanity

So my USB sticks using FAT32 so I can just format them with this or exFAT.Normal HDD I can format in NTFS.I also format the stick before using them with the XP format function.Like I said the 2 sticks [8GB] are working both on the same way [slowly] but others not.So after this I thought it will be not a big problem to them also if they hang a little and have copy all important files on that stick.Mostly tools etc which I need after re-installing my OS etc.So it was just a accident that I found some bad files now.Maybe the 2 USB sticks of the xy company was some "Toilet-Ware" :) So what to do now?Should I copy all files back to HDD then format the stick again with your software proposal etc?

So now I have test a USB tool called HD_Speed

and have test the read access and I got this results.

USB 2.0 [slowly one]

Raed = current 2.1 M Average 2.1 M Bytes/sec

USB 1.0 [older USB]

Raed = current 568.0 K Average 568.0 K Bytes/sec

But I can work faster with the 1.0 USB stick [explorer trace etc] without that this one does hang or stop for a short while etc.


  • Like 1
Link to comment
Share on other sites

oh i have once format my old usb drive that mine usb drive has 2 gb and i am format him to ntfs but after format to ntfs my usb lost 1 gb so what a fail never format to ntfs don know i was have that problem so i am lost 1 gb like hi is not exist huh.

Link to comment
Share on other sites


I would do a check disk on the drives first, then copy the files to my hdd, then format the drives using the tool i proposed (using the defaulf options) and copy the files back.

Best of luck!

Link to comment
Share on other sites

Re: Copying TeraCopy may be worth a look

In case of a copy error, TeraCopy will try several times to recover and, in the worse case scenario, will simply skip the file, not terminating the entire transfer.

TeraCopy is provided as FREEWARE for private (non-commercial) or educational (including non-profit organization) use.

Link to comment
Share on other sites

are we now talking about files who cannot be copyed due to error then the best is bad copy but its not free also iso buster also not fre but the best i am read somwhere they try to read some chanells when default windows cannot read then try to repair. now about comercial or not i am not say anything about that just try to help.

Edited by gfx-er
Link to comment
Share on other sites

not recovery as such, as I understand, (could be wrong) Teracopy verifies the copied file and if it fails tries again.


  • Always test after copy - run CRC test when transfer completes
  • Like 1
Link to comment
Share on other sites

@ mrvanity

Checkdisk works ok without any trouble.So I will keep your infos + tool in my mind and will test it with the other same USB stick to see whether this one is faster later if I access it.

@ pseudonym

Yes I have installed this tool now to copy files + verify function after.Will see whether it works with tool.So at the moment I got no extra info about a double copy process of a file.Don't know exactly whehter I get a info if this happend [first verify does not match etc.. or whether the tool just copy the file again without to give the user any message].Thank you for the hint too about this tool. :)

@ gfx-er

No there happend no error [no message to user etc about it] during the copy process.Windows does just copy the files to USB normal but also if the copy process was not done for 100%.Just need a copy + verify + copy again if verify was failed tool. :) So the TeraCopy seems to be a good choice at the moment so its a little tool which takes the place of the windows copy process like strg+C / strg+V copy /paste from A to anywhere and more.So if can trust this tool then all seems to be fine so far to copy files without to have fear that the new file is broken etc [i hope so].Don't know whether the CRC check is enough to test the file.


  • Like 1
Link to comment
Share on other sites

This is all irrelevant stuff, for the USB it's likely wear leveling on the flash controller, chips are worn; something people ignore with SSM.

If the RARs have no repair sections your best bet is patching RAR checksums then unpack and test all.

If the data is that vital maybe keep hash databases of the file system, CRC ones build fast, MD5 and SHA* take a while.

Link to comment
Share on other sites


its funny you mention you use Windows XP because I had same problem with my USB stick and Portable HD, I copied files to the drives from windows XP and then when using them in WIndows 7 ect.. they became corrupt when I put the drives and USB back to XP they ran very slowly and I couldn't open rar and exe files, some of my delphi projects where also curropted the delphi .dfm whcih are just a byte array like a exe and rar file, but the text file and anything not an array of byte worked fine... I got rid of the corrupted files at they where in a folder I made when coping them from XP, removed XP from laptop and never had the problem since and the drive run at normal speed after removing the corrupted files.

P.s this has happen to me twice when using WIndows XP

Edited by Departure
Link to comment
Share on other sites

Possible it is an xp problem. I have not had a problem such as you and

LFC-AT describe, what I have experienced is with one of the sticks plugged into computer with win sp1 installed, windows frequently crashed, didn't happen with the same stick on a different computer with sp3 installed. Not had any read-write/corrupt file errors though.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...