Win8.1 Refresh deleted my folder on desktop - windows-8.1

I just restarted my laptop today because it was saying there was problem with one of the disks and it needed to restart to fix it, so I restarted it. But when it was booting it came across to a problem and was not able to boot and showed me some options. So under "refresh" it was saying it won't delete any files but it may delete apps, which was fine for me so I chose this and waited about 15-20mins to do the job.
Once it was done windows started normally and I got my old desktop with old names of my files. Everything was fine except I was not able to find the folder I have been working on for the last two months (which I did not backup stupidly, though I intended a few times but was lazy and I had no worry about losing the data). The folder was just at the middle of my desktop with the name "equation derivation". I can not freaking find it. All of my other folders are here but not THE ONE that is supposed to be. I am just freaking out here.... I had many matlab codes and PDF files inside this folder.
I tried to restore but there is no restore point because of freaking "refresh".
I tried to use a recovery program to show me some files, but it found almost nothing.
There is a "windows.old" file which has user accounts but in that one there are fiveusers: Administrator, guest, ibaha_000, Public, UpdatusUser. Last three folder's creation date is today and first two folders creation date is when I bought the laptop (2014-HP-Envy) . When I go inside ibaha_000 folder (or any others) there are some folders inside it and I try to go inside "Desktop" because the folder I am trying to find was on desktop, but there is nothing there at all. So "windows.old" did not restore any of my files....
When I search for any of the matlab file names or folder names or PDF file names on the search of PC, I get no result.
Please someone help me with this I really need someone's help to recover my files that I spent two months... (And I know I should have backed it up but there was no sign of anything like this I would have, stupid me...)
Thank you very much!

I was able to recover my files from the hard-disk with professional "active at" recovery program that ran about 8 hours to pull out data.
Refresh might delete your files because it might recognize some of your programs or text files as windows program files, as it happened in my case. It didn't delete all of my matlab files, it deleted the folder I have lots of .m files.
So before refreshing windows, BACKUP your data, that's the solution.

Related

Garageband Save & Save As & Export Buttons Do Not Function

I recently started making music using GarageBand's MIDI software. I've made it up to a certain point, where losing all my progress would be disastrous.
Here's the issue I have:
When I go to File > Save/Save As or just cmd+S or cmd+shift+S, or Share > Export Song to Disk, instead of functioning and saving the file (I checked in Finder; last time I exited the app without saving due to this issue, the untitled garageband file disappeared) properly onto the app, it would either do nothing or give me the rainbow wheel of death for 10-20 seconds and then proceed to not function.
I've searched online for answers to this, and there were several (2) users I found that had the same problem. Their post either had no answer or the answer was unintuitive (such as always using a different, more complicated method to save, like messing around with the garageband files themselves everytime to save).
I'm looking for an answer to this issue that would result in slightly more convenient, one-time edits to the app / any software beneath that would fix this issue, if there are any. However, if the community has any alternate way to save the file right now, I would greatly appreciate it.
======
Also:
Since I'd assume most of the solutions would involve closing the app and then making edits, then reinstalling it, please tell me if I could just copy the notes (not the tracks) onto a text document and paste it into the new file after. I would prefer to save my music.
Try this . . .
First QUIT Garageband (yes you will lose unsaved work).
Find the Garageband folder where all the .BAND files are saved. Usually it is in Users -> Username -> Music -> Garageband.
Move older .band files into another folder (EG: "Garageband OLD")
Then start a new project (or open a project still in the Garageband folder).
Save and Save-As should now work.
It seems there is some sort of file limit for the Garageband folder. In my case the file limit is either 170 .band files or about 125GB.
I am currently using Garageband 10.3.5 on High Sierra.

Excel hangs/crashes while updating external link at file opening

I encountered this weird ass and funny error.
I built a file for data ETL. This one takes in various .csv files, combines them and export new .csv files using VBA. The file is originally named as "xxx Modelling ETL.xlsm". It could be opened normally till one day it hangs or crashes while trying to recalculating something (may be the underground query).
After hours of struggling, I opened the file as a copy (under a new name of Copy of ...). Strangely it ran smoothly, no crash or hang. Then I try rename it by remove the "Copy of" part, then the error occurs again.
I want to share this as there could be someone has the same problem, or someone who could shed some light on this black magic thing.
Some solutions:
Rename the file or move it to local drive instead of Onedrive makes thing works normally again.
Open Trust Center, disable Macro with notification, Trusted Locations, and Trusted Documents. Enable them for specific files when open, not for all.

Robocopy "Documents" folder issue?

I have a custom script I use for backing up my hard drive to a temporary external drive. It's a simply a number of robocopy lines (without /PURGE). I've having trouble with the windows documents folder. If I have a command: "robocopy C:\users\me\documents D:\backups\somerandomdirectoryname ..", every time it's done, Windows thinks that directory is a Documents directory and even renames "somerandomdirectoryname" to "Documents". It changes the icon, and then I can not actually eject the USB drive because Windows will not let it go. What is causing Windows to do this to me? Is there something I have to exclude to make it "just a normal directory" on my external device?
Found a cure to this, use the option:
/XA:SH
which stops copying system and hidden files - which are how the special attributes of the Document directory appear to be copied. Worked for me, I only wanted the data files.

Default search in Google Chrome locked to smartsputnik.ru

Default search in Google Chrome locked by smartsputnik.ru. I am receiving the following message:
This setting is enforced by your administrator
I have tried deleting all the entries in registry and also resetting and reinstalling Chrome but this did not help. I have also tried the proposed solution someone else here found that worked - No success for me. I still cannot rid my machine of smartsputnik.ru search engine.
Computer\HKEY_LOCAL_MACCHINE\SOFTWARE\Policies\Google\Chrome
2.Delete file - C:\Windows\System32\GroupPolicy\Machine\registry.pol
I have run various malware executers but nothing will help regain control of my Google search default.
Are there any other suggestions or useful ideas?
This Malware SUCKS!!! I got the same thing and it took me 9 hour to track it down and kill it!!!
I tried everything that you tried. But the thing that worked was.....
I went into the registry and clicked CTRL + F or the edit tab and Find. I then typed in google and went through EVERY google registry file, one by one by using the F3 key to Find Next. About my 20th one in I found a peculiar path to chrome for the value data. I think the path to it was HKEY_CLASSES_ROOT/ChromeHTML/shell/open/command and I deleted everything after chrome.exe in the value data, but since I tried many things I could be wrong, I'm about 90% sure that that was the correct path. It had something like C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --%" ,for its value data.
I don't remember exactly the ending symbols but EVERY other path that I found had C:\Program Files (x86)\Google\Chrome\Application\chrome.exe,0 . Notice that it is a ,0 and not " --%". I then right clicked the name and deleted the " --%" garbage.
I also went to HKEY_CURRENT_USER/Software/Classes/LowRegistry/audio/PolicyConfig/PropertyStore/c44b5619_0 and deleted everything in the value data. It had a bunch of lines of unknown garbage and a weird chrome.exe file path.
After doing these things AND running several malware programs, which didn't do much, I now had the ability to delete smartsputnik.ru as a permanent search engine. AND MAN WAS IT SATISFYING!!!!!!!!
If you have any questions I will be happy to help because this was the most frustrating malware I have ever had to deal with, and I have been at this a long time.

shell script to create backup file when creating new file in particular directory

Recently I was asked the following question in an interview.
Suppose I try to create a new file named myfile.txt in the /home/pavan directory.
It should automatically create myfileCopy.txt in the same directory.
A.txt then it automatically creates ACopy.txt,
B.txt then BCopy.txt in the same directory.
How can this be done using a script? I may know that this script should run in crontab.
Please don't use inotify-tools.
Can you explain why you want to do?
Tools like VIM can create a backup copy of a file you're working on automatically. Other tools like Dropbox (which works on Linux, Windows, and Mac) can version files, so it backs up all the copies of the file for the last 30 days.
You could do something by creating aliases to the tools you use for creating these file. You edit a file with the tools you tend to use, and the alias could create a copy before invoking a tool.
Otherwise, your choice is to use crontab to occasionally make backups.
Addendum
let me explain suppose i have directory /home/pavan now i create the file myfile.txt in that directory , immediately now i should automatically generate myfileCopy.txt file in the same folder
paven
There's no easy user tool that could do that. In fact, the way you stated it, it's not clear exactly what you want to do and why. Backups are done for two reasons:
To save an older version of the file in case I need to undo recent changes. In your scenario, I'm simply saving a new unchanged file.
To save a file in case of disaster. I want that file to be located elsewhere: On a different computer, maybe in a different physical location, or at least not on the same disk drive as my current file. In your case, you're making the backup in the same directory.
Tools like VIM can be set to automatically backup a file you're editing. This satisfy reason #1 stated above: To get back an older revision of the file. EMACs could create an infinite series of backups.
Tools like Dropbox create a backup of your file in a different location across the aether. This satisfies reason #2 which will keep the file incase of a disaster. Dropbox also versions files you save which also is reason #1.
Version control tools can also do both, if I remember to commit my changes. They store all changes in my file (reason #1) and can store this on a server in a remote location (reason #2).
I was thinking of crontab, but what would I backup? Backup any file that had been modified (reason #1), but that doesn't make too much sense if I'm storing it in the same directory. All I would have are duplicate copies of files. It would make sense to backup the previous version, but how would I get a simple crontab to know this? Do you want to keep the older version of a file, or only the original copy?
The only real way to do this is at the system level with tools that layer over the disk IO calls. For example, at one location, we used Netapps to create a $HOME/.snapshot directory that contained the way your directory looked every minute for an hour, every hour for a day, and every day for a month. If someone deleted a file or messed it up, there was a good chance that the version of the file exists somewhere in the $HOME/.snapshot directory.
On my Mac, I use a combination of Time Machine - which backs up the entire drive every hour, and gives me a snapshot of my drive that stretches back over a year and a half) and Dropbox which keeps my files stored in the main Dropbox server somewhere. I've been saved many times by that combination.
I now understand that this was an interview question. I'm not sure what was the position. Did the questioner want you to come up with a system wide way of implementing this, like a network tech position, or was this one of those brain leaks that someone comes up with at the spur of the moment when they interview someone, but were too drunk the night before to go over what they should really ask the applicant?
Did they want a whole discussion on what backups are for, and why backing up a file immediately upon creation in the same directory is a stupid idea non-optimal solution, or were they attempting to solve an issue that came up, but aren't technical enough to understand the real issue?

Resources