Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Corrupted pictures and document files on system restore - help!

28 May 2017   #1
fuzzled

windows 7
 
 
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 System SpecsSystem Spec
.
28 May 2017   #2
fuzzled

windows 7
 
 



My System SpecsSystem Spec
28 May 2017   #3
samuria

win 8 32 bit
 
 

.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 System SpecsSystem Spec
.

28 May 2017   #4
fuzzled

windows 7
 
 

Virus scan doesn't show anything. I used the installed antivirus program as well as reimage repair tool.
My System SpecsSystem Spec
29 May 2017   #5
fuzzled

windows 7
 
 

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 System SpecsSystem Spec
29 May 2017   #6
samuria

win 8 32 bit
 
 

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 System SpecsSystem Spec
29 May 2017   #7
fuzzled

windows 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 System SpecsSystem Spec
30 May 2017   #8
fuzzled

windows 7
 
 

Quote:
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 System SpecsSystem Spec
30 May 2017   #9
Ranger4

Windows 7 Home Premium 64 bit sp1
 
 

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 System SpecsSystem Spec
28 Jun 2017   #10
Genivieva

Windows 7
 
 

Have you tried any recover software? Maybe disk drill can help in this case. I always use it to recover deleted or corrupted files. You can check this page if you are interested. Hope my advice was useful.
My System SpecsSystem Spec
Reply

 Corrupted pictures and document files on system restore - help!




Thread Tools




Similar help and support threads
Thread Forum
system restore fails saying possible corrupted restore point
twice I've run system restore, and it always says failed. System restore started,goes threw loading registry and then reboots, after desktop loads the failed dialog box comes up. I've read previous posts, and checked services running and made sure System Restore is on with available space. At one...
Backup and Restore
Help! all my document files are corrupted
Hello, Last night I was working in Adobe illustrator and I finished one project and opened another one and I get the message that my file was corrupted, so I rebooted and tried again and got the same message. I also tried opening a PDF file and got a corrupt file message, the same happens when...
General Discussion
System Restore, Windows Update and ATI's CCC files corrupted
By following the tutorial of how to run System File Checker I found the files malgunmc.ttf, wucltux.dll Amd64\hpd7500t.dll (part of prnhp004.inf) were all corrupted. I ran System File Checker several times to see if it would automatically correct the files…it did not. So I followed the next...
Performance & Maintenance
Document files missing or corrupted
Yesterday I was trying to retrieve documents I had just written and most of the folders are orange. When I try to open them I get this message: "This program is unable to run because of missing or corrupted files. Contact your computer manufacturer." This appears on every document I am trying to...
Microsoft Office
I did a restore and now I cant find my files or pictures
I did a system restore as I had a virus. Now I can't find, my excel or word files, my pictures, nor my favourites. My word and XL software is Ok. Where do I find them what file do I look in ? I am not a tech geek, but do know my way around my computer. Your help is appreciated
Backup and Restore


Our Sites

Site Links

About Us

Find 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 06:57.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App