Corrupted pictures and document files on system restore - help!


  1. Posts : 19
    windows 7
       #1

    Corrupted pictures and document files on system restore - help!


    Hello,

    I recently performed a rather roughshod update of hardware on a PC running windows 7. Basically the motherboard was fried, and we updated the system to a new motherboard rather painfully. You can follow the exploits here : New motherboard; system will not boot; cannot find windows; no BCD Solved - Page 2 - Windows 7 Help Forums

    Anyway, now windows 7 is back up.. new drivers are installed etc. PC is running.

    However, the user files are "corrupted" or unreadable. All system files, files in downloads dirs, temp dirs etc seem to be fine and intact and readable. However files in Users/USERNAME/My Pictures and Users/USERNAME/My Documents are "garbled" in that the files in those dirs are all renamed with a string of random chars, with .js extension. ALL of them, ex: fiFYEp2J0a_.js, DIAKgt1yUBG.js ...

    I'll attach a picture.

    Any idea how this could happen, and more importantly, how I may recover them?

    Note: In the process of getting back up, I had the "User Profile service failed the login, user profile cannot be loaded" error and couldn't log in at all. I booted to safe mode and did a system restore. This let me log in with my profile again.
      My Computer


  2. Posts : 19
    windows 7
    Thread Starter
       #2
      My Computer


  3. Posts : 3,786
    win 8 32 bit
       #3

    .js files are JavaScript files normally it sounds very much that you have had a ransomware attack which has encrypted the files. Can you open any with notepad if they are JavaScript they should be txt. I would run virus scan ASAP
      My Computer


  4. Posts : 19
    windows 7
    Thread Starter
       #4

    Virus scan doesn't show anything. I used the installed antivirus program as well as reimage repair tool.
      My Computer


  5. Posts : 19
    windows 7
    Thread Starter
       #5

    Found some more time to look into this today.

    Opened some of the files, and all have this as the first few lines:
    /*1371503166,173214305*/

    if (self.CavalryLogger) { CavalryLogger.start_js(["hYPx+"]); }

    __d("UIThumbPager",["CSS","DOM","Event","Style","URI","$","copyProperties","emptyFunc
    All the files seem to be text and javascript code.

    What the heck is this?
      My Computer


  6. Posts : 3,786
    win 8 32 bit
       #6

    Its minifcation code https://en.wikipedia.org/wiki/Minification_(programming)

    Can you copy the txt and past it see if we canwork out what it does. You could open a browser choose file and open one in the browser see what it does
      My Computer


  7. Posts : 19
    windows 7
    Thread Starter
       #7

    Thanks for your replies and attention samuria.

    I poked around this computer a bit more, and I think I see what has happened.

    As I mentioned earlier, I had the "User Profile service failed the login, user profile cannot be loaded following which I managed to get back via a system restore in safe mode.

    Then we found that the pictures and documents folders in C:\Users\USERNAME were either empty or had lots of these .js files.

    Well, it turns out that pictures and docs in question are in C:\ProgramData\Users\USERNAME not C:\Users\USERNAME - where we have been expecting them to reside.

    Did the files get moved there on system restore, or are they always in C:\ProgramData, and the ones in C:\Users just a shadow/shortcut?

    Phew.. Anyway.. Now I need some understanding of what to do? All the programs expect files in C:\Users\USERNAME. Do I copy these files back, or create a link or fix some profile somewhere ? Change the programs to find data in this other location... ?

    Puzzled but glad my data is still on the drive!!!
      My Computer


  8. Posts : 19
    windows 7
    Thread Starter
       #8

    Now I need some understanding of what to do? All the programs expect files in C:\Users\USERNAME. Do I copy these files back, or create a link or fix some profile somewhere ? Change the programs to find data in this other location... ?
    Anyone have any idea or hints as to what I should do?

    Googling around I see references to corrupted user profile and registries. Is there a process/program that can detect problems and repair this?
      My Computer


  9. Posts : 9,746
    Windows 7 Home Premium 64 bit sp1
       #9

    Have a read through this Forum tutorial on how to change where the User Profiles are.

    The User profiles should not be in C:\Program files, they should be under C:\Users

    User Profile - Change Default Location - Windows 7 Help Forums

    In your situation you are not intending to transfer the User Profiles to another partition or drive but to relocate them to their correct position on the existing drive.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:24.
Find Us