Windows 10: Bad Image Errors - dll files changing to 0 bytes

Discus and support Bad Image Errors - dll files changing to 0 bytes in Windows 10 Support to solve the problem; Hi Have an unusual problem (to me anyway) Last week I got "Bad Image" errors with Adobe Lightroom (the program had worked OK previously). Two .dll... Discussion in 'Windows 10 Support' started by Camera, Oct 28, 2017.

  1. Camera Win User

    Bad Image Errors - dll files changing to 0 bytes


    Hi
    Have an unusual problem (to me anyway)

    Last week I got "Bad Image" errors with Adobe Lightroom (the program had worked OK previously). Two .dll files were listed as corrupt and in Explorer both were shown has having 0 bytes size. Re-installation resolved the problem.
    Today I have had the same "bad image" error with another program. Techsmith SnagIt. Once again it was .dll files and they show in explorer as 0 bytes. The timestamp on the 0 byte dlls is the time of the error i.e. today (not when the files were installed).

    What I've done so far :
    Ran McAfee viruscan across all disks - no problems reported.
    Ran Malwarebytes - no problems reported

    Went to the properties for the disk drive and under "Tools" ran error check - nothing found
    The disk is an SSD so I went to Samsung Magician which shows drive condition as good and S.M.A.R.T. shows wear levelling count at Current Value 99. I do not use Rapid Mode.

    The problems are happening on a Samsung 850 Evo 500GB

    Any suggestions welcome

    Dave

    :)
     
    Camera, Oct 28, 2017
    #1

  2. latest update has resulted in lots of .exe bad image pop-ups and i can't open excel either.

    Hello

    THe first error is on start up

    It's updaterestartuputility.exe - Bad Image

    Files \Adobe\adobeGCClient\AdobeGCUpdater.dll is either not designed to run on windows or it contains an error. try installing the program again using the original installations media or contact system administrator or the software vendor for support. Error
    status 0xc000012f

    Then get

    applePhotoStreams.exe - Bad Image

    C:\Windows\system32\MSVCP120.dll then same as above

    Then

    iCloudServices.exe - Bad Image

    C:\Windows\system32\MSVCP140.dll then same as above


    Then

    ApplePhotoStreams.exe - Bad Image

    C:\Windows\system32\MSVCR120.dll then same as above

    Then

    iCloudServices.exe - Bad Image

    C:\Windows\system32\MSVCP120.dll then same as above

    Then

    iCloudServices.exe - Bad Image

    C:\Windows\system32\MSVCR120.dll then same as above

    Then

    ApplePhotoStreams.exe - Bad Image

    C:\Windows\system32\MSVCP140.dll then same as above

    Then

    icloudPhotos.exe - Bad Image

    C:\Windows\system32\MSVCP140.dll then same as above

    Then

    icloudPhotos.exe - Bad Image

    C:\Windows\system32\MSVCP120.dll then same as above

    Then

    icloudPhotos.exe - Bad Image

    C:\Windows\system32\MSVCP140.dll then same as above

    Then iCloudDrive.exe - Bad Image

    C:\Windows\system32\MSVCP120.dll then same as above

    Then iCloudDrive.exe - Bad Image

    C:\Windows\system32\MSVCR120.dll then same as above

    Then iCloudDrive.exe - Bad Image

    C:\Windows\system32\MSVCP140.dll then same as above

    Then

    APSDaemon.exe - Bad Image

    C:\Windows\system32\MSVCP140.dll then same as above

    Then

    APSDaemon.exe - Bad Image

    C:\Windows\system32\MSVCR120.dll then same as above

    Reader _sl Bad Image

    I lost this error as pressed Ok too soon sorry

    If I open excel I get

    Excel.exe - Bad Image

    C:\Windows\system32\MSVCP140.dll then same as above

    and excel won't open

    I'd be grateful for any help to fix this - thank you
     
    josmith1971, Oct 28, 2017
    #2
  3. backup windows 7 to windows 10

    Did you open this backup on 10 or just looking at properties that says 0 bytes and no files or folders?

    My images and back ups show 0 bytes. But if you open them with admin privileges, then you will see the size and files/folders and usually after you open the backup or image then check the main icon that was 0 bytes and it will most likely show the actual
    size, files and folders now.
     
    seahawks65, Oct 28, 2017
    #3
  4. Bad Image Errors - dll files changing to 0 bytes

    Scan with Farbar Recovery Scan Tool

    Please download Farbar Recovery Scan Tool x64 and save it to your Desktop.


    • Right-click on FRST icon and select Run as Administrator to start the tool.
    • When the tool opens click Yes to disclaimer.
    • Make sure that Addition option is checked.
    • Press Scan button and wait.
    • The tool will produce two logfiles on your desktop: FRST.txt and Addition.txt.


    Please copy and paste their content into your next reply.
     
    FreeBooter, Oct 28, 2017
    #4
  5. Camera Win User
    Sorry for delay in replying - I have being trying to reply over the last half hour and keep getting a message telling me to wait 30-13 secs between posts.

    So trying again after 5 mins from a different browser and attaching the files rather than pasting to see if I get more success.

    Addition.txtFRST.txt

    Dave
     
    Camera, Oct 28, 2017
    #5
  6. Please run the following

    Open notepad (Start =>All Programs => Accessories => Notepad). Please copy the entire contents of the code box below. (To do this highlight the contents of the box, right click on it and select copy. Right-click in the open notepad and select Paste). Save it in the same location as FRST, and name it fixlist.txt

    Code: start CreateRestorePoint: CloseProcesses: EmptyTemp: hosts: CMD: bitsadmin /reset /allusers CMD: netsh winsock reset catalog CMD: ipconfig /flushdns GroupPolicy: Restriction <==== ATTENTION 2017-10-19 01:19 - 2017-10-29 11:07 - 000000438 _____ C:\WINDOWS\system32\Drivers\etc\hosts.ics 2017-09-29 13:42 - 2017-09-30 15:18 - 000630784 _____ C:\WINDOWS\system32\hgattest.dll 2017-09-29 13:42 - 2017-09-30 15:18 - 000055808 _____ C:\WINDOWS\system32\hgsclientplugin.dll 2017-09-29 13:42 - 2017-09-30 15:18 - 000023040 _____ C:\WINDOWS\system32\hnsproxy.dll CustomCLSID: HKU\S-1-5-21-321452018-3466158101-1813489261-1001_Classes\CLSID\{0E270DAA-1BE6-48F2-AC49-7FCB8A6F166E}\InprocServer32 -> %%systemroot%%\system32\shell32.dll => No File Task: {BEFAC72D-68C8-40BB-893D-955EF51D2A0C} - \Microsoft\Windows\UNP\RunCampaignManager -> No File <==== ATTENTION end[/quote]
    NOTICE: This script was written specifically for this user, for use on this particular machine. Running this on another machine may cause damage to your operating system

    Now please enter System Recovery Options then select Command Prompt

    Run FRST and press the Fix button just once and wait.
    The tool will make a log on the flashdrive (Fixlog.txt) please post it to your reply.

    Now restart, let it boot normally and tell me how it went.
     
    FreeBooter, Oct 28, 2017
    #6
  7. Camera Win User
    Hi
    Thank you for taking your time with this. Before I run this can you please describe what it does.

    Dave
     
    Camera, Oct 28, 2017
    #7
  8. Bad Image Errors - dll files changing to 0 bytes

    It will delete few files that is malware infection.

    I would like you to check the system integrity of your Windows OS installation.


    • Please type cmd.exe into Start Menu search box.
    • Please right click cmd.exe and select "Run as administrator".
    • Please type the following command and press the <Enter> key: sfc /scannow (Please note that there is a space between 'sfc" and "/scannow".)
    • It should take about 20 minutes to run, if there are no serious errors.
    • If the System File Checker reports that some errors were fixed, but some remain; please reboot your computer and run the System File Checker from an Administrator Command Prompt, again.
    • If the System File Checker again reports that some errors were fixed, but some remain, please reboot your computer and run it a third time.
    • If "Resource Integrity Violations" (errors) are reported that could not be corrected, or were not corrected after a third SFC run, then please navigate to the folder: C:\Windows\Logs\CBS and copy the file "cbs.log" to your desktop immediately. I am asking you do that because that file is dynamic, so I want to be able to examine a copy that is unchanged from the time that the System File Checker was run.
    • If there are errors that couldn't be corrected, let me know and I will provide you with instructions as to how to upload the file
     
    FreeBooter, Oct 28, 2017
    #8
  9. Camera Win User
    Hi
    I ran sfc scan- which showed no errors.
    I ran FRST from recovery command prompts and it generated the attached log :

    Fix result of Farbar Recovery Scan Tool (x64) Version: 26-10-2017
    Ran by SYSTEM (29-10-2017 22:44:14) Run:1
    Running from F:\Downloads\Fabar
    Boot Mode: Recovery
    ==============================================
    fixlist content:
    *****************
    start
    CreateRestorePoint:
    CloseProcesses:
    EmptyTemp:
    hosts:
    CMD: bitsadmin /reset /allusers
    CMD: netsh winsock reset catalog
    CMD: ipconfig /flushdns
    GroupPolicy: Restriction <==== ATTENTION
    2017-10-19 01:19 - 2017-10-29 11:07 - 000000438 _____ C:\WINDOWS\system32\Drivers\etc\hosts.ics
    2017-09-29 13:42 - 2017-09-30 15:18 - 000630784 _____ C:\WINDOWS\system32\hgattest.dll
    2017-09-29 13:42 - 2017-09-30 15:18 - 000055808 _____ C:\WINDOWS\system32\hgsclientplugin.dll
    2017-09-29 13:42 - 2017-09-30 15:18 - 000023040 _____ C:\WINDOWS\system32\hnsproxy.dll
    CustomCLSID: HKU\S-1-5-21-321452018-3466158101-1813489261-1001_Classes\CLSID\{0E270DAA-1BE6-48F2-AC49-7FCB8A6F166E}\InprocServer32 -> %%systemroot%%\system32\shell32.dll => No File
    Task: {BEFAC72D-68C8-40BB-893D-955EF51D2A0C} - \Microsoft\Windows\UNP\RunCampaignManager -> No File <==== ATTENTION
    end
    *****************
    Error: Restore point can only be created in normal mode.
    CloseProcesses: => Error: This directive works only outside recovery mode.
    EmptyTemp: => Error: This directive works only outside recovery mode.
    C:\Windows\System32\Drivers\etc\hosts => moved successfully
    Hosts restored successfully.
    ========= bitsadmin /reset /allusers =========
    'bitsadmin' is not recognized as an internal or external command,
    operable program or batch file.
    ========= End of CMD: =========

    ========= netsh winsock reset catalog =========
    The following helper DLL cannot be loaded: WLANCFG.DLL.
    Sucessfully reset the Winsock Catalog.
    You must restart the computer in order to complete the reset.

    ========= End of CMD: =========

    ========= ipconfig /flushdns =========

    Windows IP Configuration
    Could not flush the DNS Resolver Cache: Function failed during execution.

    ========= End of CMD: =========
    C:\Windows\System32\GroupPolicy\Machine => moved successfully
    C:\Windows\System32\GroupPolicy\GPT.ini => moved successfully
    C:\WINDOWS\system32\Drivers\etc\hosts.ics => moved successfully
    C:\WINDOWS\system32\hgattest.dll => moved successfully
    C:\WINDOWS\system32\hgsclientplugin.dll => moved successfully
    C:\WINDOWS\system32\hnsproxy.dll => moved successfully
    CustomCLSID: HKU\S-1-5-21-321452018-3466158101-1813489261-1001_Classes\CLSID\{0E270DAA-1BE6-48F2-AC49-7FCB8A6F166E}\InprocServer32 -> %%systemroot%%\system32\shell32.dll => No File => Error: The entry should be fixed outside recovery mode.
    Task: {BEFAC72D-68C8-40BB-893D-955EF51D2A0C} - \Microsoft\Windows\UNP\RunCampaignManager -> No File <==== ATTENTION => Error: The entry should be fixed outside recovery mode.
    ==== End of Fixlog 22:44:14 ====




    On restarting the PC two Techsmith .dll files were reset to 0 bytes

    Dave
     
    Camera, Oct 29, 2017
    #9
  10. Please Scan your computer with HitmanPro.
     
    FreeBooter, Oct 29, 2017
    #10
  11. Camera Win User
    Hi
    Thanks for your continued advice. I've run HitManPro- it showed 0 threats and found 179 tracking cookies which I've now deleted.

    I am starting to wonder whether the issue might be McAfee Antivirus - detecting and deleting (rather than quarantining) false positives. Although it did not find anything on a scan. I've added the .dll files that were deleted in the last few days to the exceptions list to see how things go.

    Dave
     
    Camera, Oct 29, 2017
    #11
  12. You are head of me yes antivirus software could be the cause of the problem.
     
    FreeBooter, Oct 29, 2017
    #12
  13. Camera Win User

    Bad Image Errors - dll files changing to 0 bytes

    Just in way of an update, I uninstalled McAfee and have had no issues since (with just Defender and Malwarebytes running). I will try a re-install of McAfee tomorrow, in case it was some corruption in that software but if the problem restarts I will look for an alternative

    Dave
     
    Camera, Oct 31, 2017
    #13
  14. We are glad to hear your issue has been resolved, thank you for letting us know that all is now well!
     
    FreeBooter, Nov 1, 2017
    #14
  15. Camera Win User
    I have come back to update this as I believe I finally isolated the problem.

    After a few days running without McAfee installed and with no problems, I re-installed it. The problems started again.

    So now I have replaced my McAfee antivirus with BitDefender and have experienced no issues since.

    I hope that may be useful to anyone else who experiences similar issues.

    Dave
     
    Camera, Apr 5, 2018
    #15
Thema:

Bad Image Errors - dll files changing to 0 bytes

Loading...
  1. Bad Image Errors - dll files changing to 0 bytes - Similar Threads - Bad Image Errors

  2. KERNEL32.DLL!UnknownFunction 0x00007ffa959e26bd + 0 bytes [UnknownFile:0]

    in Windows 10 Gaming
    KERNEL32.DLL!UnknownFunction 0x00007ffa959e26bd + 0 bytes [UnknownFile:0]: Hey there,Currently trying to play Ark on Epic games and getting a kernel error. Don't know what to do about it. Details listed below.Fatal error! VERSION: 356.1 ShooterGame.exe!FLatentActionManager::ProcessLatentActions 0x00007ff758d5bbd5 + 0 bytes...
  3. KERNEL32.DLL!UnknownFunction 0x00007ffa959e26bd + 0 bytes [UnknownFile:0]

    in Windows 10 Software and Apps
    KERNEL32.DLL!UnknownFunction 0x00007ffa959e26bd + 0 bytes [UnknownFile:0]: Hey there,Currently trying to play Ark on Epic games and getting a kernel error. Don't know what to do about it. Details listed below.Fatal error! VERSION: 356.1 ShooterGame.exe!FLatentActionManager::ProcessLatentActions 0x00007ff758d5bbd5 + 0 bytes...
  4. vccorlib140.dll Bad Image Error

    in Windows 10 Gaming
    vccorlib140.dll Bad Image Error: I keep getting this error, it's really annoying. I've been trying to fix it by uninstalling Visual Studio 2015 and 2017, then reinstalling them, as I've seen in other answers, but every time I install Visual Studio 2017x86 the 2015 ones disappear from Control Panel. The other...
  5. vccorlib140.dll Bad Image Error

    in Windows 10 Software and Apps
    vccorlib140.dll Bad Image Error: I keep getting this error, it's really annoying. I've been trying to fix it by uninstalling Visual Studio 2015 and 2017, then reinstalling them, as I've seen in other answers, but every time I install Visual Studio 2017x86 the 2015 ones disappear from Control Panel. The other...
  6. Bad Image Error on CONCRT140.dll

    in Windows 10 BSOD Crashes and Debugging
    Bad Image Error on CONCRT140.dll: I've been trying to open some of my Adobe Creative Cloud Apps Photoshop, Illustrator, After Effects but I keep getting a Bad Image Error whenever I do. The error itself however says that it is CONCRT140.dll that's acting up. After looking for answers online, I tried...
  7. System Image Backup - 0 bytes

    in Windows 10 Backup and Restore
    System Image Backup - 0 bytes: Earlier backups from two PCs show all files in the WindowsBackup folder. But in 1909, though it goes through all the (time consuming) motions and reports success, the folder is empty. Two attempts. Has the feature been disabled? 156977
  8. Bad Image – MSVCP140.dll error

    in Windows 10 BSOD Crashes and Debugging
    Bad Image – MSVCP140.dll error: I recently updated to the latest version - windows 10 1809 - and now this is the message I get when I try to open the third party softwares I had(about 10 of 'em) ; Windows Warning: Bad Image – MSVCP140.dll not designed to run on Windows. ... C:\WINDOWS\SYSTEM32\MSVCP140.dll...
  9. Bad image and .dll errors

    in Windows 10 BSOD Crashes and Debugging
    Bad image and .dll errors: I keep getting bad image, dll errors, and I'm unable to download anything. Originally I thought this was because of an update so I used the fresh start ability to restart everything and I still get the same errors. Could anybody help diagnose my problem?...
  10. Strange 0 byte files

    in Windows 10 Support
    Strange 0 byte files: I'm curious what these files are that are on some of my internal HD's partitions. The file name is a random (apparently) string of characters, 'type of file: file', 'size: 0 bytes', 'owner: system'. What are these? Do I need them? 52090