How can I get access to user folder from another computer?
Solution 1:
Do not attempt to boot into the OS installed in the laptop's HDD on a different computer, that's plainly silly, because different computers have different hardwares, and different hardwares need different drivers, hardwares need drivers specifically designed for them in order to work, Windows doesn't come with preinstalled drivers and installs them during initialization(Preparing Devices, Getting Devices Ready), once initialization is complete Windows will have drivers that are only compatible to the particular hardware of the computer it is installed on, and incompatible to any other hardware, so you can't boot the installation on any other computer unless the other computer has exactly the same hardware as the computer on which the OS was installed.
And the account and password are completely irrelevant and useless here, since it's impossible to boot into the HDD, the account and password are only required when log in to the OS on the HDD and using the OS on the HDD , but since you have a working computer and have already put the HDD inside an external enclosure they are useless here, you don't need the account and password.
Instead you need to use these:
Open elevated cmd:
Win+R>type cmd>Ctrl+Shift+Enter
Then input these commands line after line, hit enter after each line. And remember to replace things.
takeown G:\Users\USERNAME
icacls G:\Users\USERNAME /grant:r Administrators:(OI)(CI)F /T
taskkill /f /im explorer.exe & explorer.exe
Remember to replace G:\Users\USERNAME with the actual path to the user profile folder, specifically you need to replace the USERNAME with actual user name and G: with the actual drive letter.
The first command takes ownership of the folder and the second grants you access to the folder, the third restarts explorer.exe, after these commands you should have no problem openning the user profile folder.
You can't get into that folder because you don't have the permission to the folder in the Access Control List, after you have modified it you should have no problem accessing the folder.
Note that the commands need administrator privileges in order to work, though I presume that you have admin rights.
If the commands were successful however you still can't open the folder after explorer is restarted, reboot your computer.