Recovering files from harddrive

1

1

My laptop got broken (by what it seems the graphics card burned) and it is so old that it is not worth fixing it.

I took the harddrive from it and tried to use it as external hard drive with other computer, however I cannot access all the data, ie anything that is inside my user folder (it shows it to be empty). Couldn't find anything to solve it.

Turtlpanda rotmg

Posted 2015-02-07T12:03:36.917

Reputation: 19

I've used a program called DiskGenius in the past for situations like this. – Yass – 2015-02-07T12:08:16.760

1

Read the "Related" questions, to the right? Like https://superuser.com/questions/87188/recover-harddrive-data?rq=1 Or does the drive work 100% perfectly, and you just don't know what files to copy?

– Xen2050 – 2015-02-07T12:22:10.550

1Drive works, but it just seems that directories are protected and cannot be explored. For example, if I type in in the explorer search name of file that is inside my user directory, I would see it in the search result. However, if I try to open the file directory, I get an error: Access is denied. (if I am not clear enough, I can make explanation using screenshots) – Turtlpanda rotmg – 2015-02-07T12:34:18.020

Answers

4

I cannot access all the data

You need to take ownership of the files/directories on the hard drive.

The following assumes you are using windows (and should work for versions other than Windows 8).

Note:

  • Do not take ownership of C:\.

    Doing so, could result in Windows 8 becoming very unstable.


Take Ownership of an Object using TAKEOWN Command

This command will take ownership of the folder or drive, and all files and subfolders in the folder or drive.

Open an elevated command prompt.

To grant ownership to currently logged on user:

takeown /F "full path of folder or drive" /R /D Y

To grant ownership to the administrators group:

takeown /F "full path of folder or drive" /A /R /D Y

Examples:

takeown /F "F:" /A /R /D Y
takeown /F "F:\Folder" /A /R /D Y

Take Ownership of a Folder or Drive and All Contents using ICALCS Command

Open an elevated command prompt.

To set any user as owner:

icacls "full path of folder or drive" /setowner "user name" /T /C

To set administrators group as owner:

icacls "full path of folder or drive" /setowner "Administrators" /T /C

Example:

icacls "C:\Windows\Folder" /setowner "Administrators" /T /C

Source Take Ownership of a File, Folder, Drive, or Registry Key in Windows 8

DavidPostill

Posted 2015-02-07T12:03:36.917

Reputation: 118 938

I recommend using the environment variable %USERNAME%. – wizzwizz4 – 2017-06-11T18:33:53.593

@wizzwizz4 For what exactly? – DavidPostill – 2017-06-11T19:25:25.820

... /setowner "user name"... if the user in question is the one you are logged in as, which it likely is in this scenario. – wizzwizz4 – 2017-06-11T20:32:44.117