Page 1 of 2 12 LastLast
  1.    3 Weeks Ago #1
    Join Date : Nov 2015
    UK
    Posts : 49
    Windows 10 64-bit pro

    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
      My ComputerSystem Spec
  2.    3 Weeks Ago #2
    Join Date : Oct 2017
    Posts : 469
    Windows 10 Pro 64-bit

    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.
      My ComputerSystem Spec
  3.    3 Weeks Ago #3
    Join Date : Nov 2015
    UK
    Posts : 49
    Windows 10 64-bit pro
    Thread Starter

    Info


    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
      My ComputerSystem Spec
  4.    3 Weeks Ago #4
    Join Date : Oct 2017
    Posts : 469
    Windows 10 Pro 64-bit

    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

    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.
      My ComputerSystem Spec
  5.    3 Weeks Ago #5
    Join Date : Nov 2015
    UK
    Posts : 49
    Windows 10 64-bit pro
    Thread Starter

    Hi
    Thank you for taking your time with this. Before I run this can you please describe what it does.

    Dave
      My ComputerSystem Spec
  6.    3 Weeks Ago #6
    Join Date : Oct 2017
    Posts : 469
    Windows 10 Pro 64-bit

    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
      My ComputerSystem Spec
  7.    3 Weeks Ago #7
    Join Date : Nov 2015
    UK
    Posts : 49
    Windows 10 64-bit pro
    Thread Starter

    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
      My ComputerSystem Spec
  8.    3 Weeks Ago #8
    Join Date : Oct 2017
    Posts : 469
    Windows 10 Pro 64-bit

    Please Scan your computer with HitmanPro.
      My ComputerSystem Spec
  9.    3 Weeks Ago #9
    Join Date : Nov 2015
    UK
    Posts : 49
    Windows 10 64-bit pro
    Thread Starter

    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
      My ComputerSystem Spec
  10.    3 Weeks Ago #10
    Join Date : Oct 2017
    Posts : 469
    Windows 10 Pro 64-bit

    You are head of me yes antivirus software could be the cause of the problem.
      My ComputerSystem Spec

 
Page 1 of 2 12 LastLast


Similar Threads
Thread Forum
Solved Lock screen is not changing spotlight image on startup
The lock screen background image is not working properly on startup. I have the lock screen set to show the spotlight image. When it starts it uses the same image. If I click the Windows button and "L" to lock it it will show a spotlight image. my...
Customization
Bad Image errors after power loss, reset not working.
Hi all, I had a power loss on Wed. morning and since then Windows has been broken. Windows seems to startup ok. Some programs work but the Start button won't open and I am getting various errors on other program start-up, they are all related...
General Support
Various errors: Background image / Windows Defender / PIN login
Hey folks, I have just set up my machine with a clean install of Windows 10. After having spent the last 2 days or so installing all the programs and tools, and applying smaller registry hacks (mostly to the file explorer), I have - out of...
General Support
Bad Image errors?
80795Hi I updated my Mozy backup software 3 days ago & ever since then my ASUS laptop is unusable. Once it boots up, which takes more then an hour, every task I ask takes many minutes to over an hour to complete. I also get an error message "Bad...
General Support
File delete dialogue reports files to be deleted as having 0 bytes?
This apparently happens with FAT32-formatted drives. Haven't noticed this until fairly recently, when I was deleting some stuff off my SD cards and/or USB sticks: 72506 Any ideas on why this is happening, like with a certain botched W10 update...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 06:32.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums