Accessing old harddrive from an XP os in Vista

Discussion in 'Software' started by chengcliu, Apr 7, 2009.

  1. chengcliu

    chengcliu Private E-2

    Hi-

    I my old computer's motherboard burned out, and I got a new computer with a Vista OS, I want to access the old harddrive which is from an XP OS. When I try to open the files i get the message 'we cannot open the file; user does not have access privileges'

    I have seen a number of articles on how to change privileges if you are using an XP. But none if you are using a Vista. I am sure it is probably really easy to do. But so far I am unable to access the harddrive.

    Any suggestions is very much appreciated.

    Thank you,
    Cheng
     
  2. Just Playin

    Just Playin MajorGeek

    http://www.tipandtrick.net/2008/how...ol-permissions-of-files-and-folders-in-vista/
    Or copy and paste this into notepad if you want a quick and easy way:
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\*\shell\runas]
    @="Take Ownership"
    "NoWorkingDirectory"=""
    
    [HKEY_CLASSES_ROOT\*\shell\runas\command]
    @="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
    
    [HKEY_CLASSES_ROOT\Directory\shell\runas]
    @="Take Ownership"
    "NoWorkingDirectory"=""
    
    [HKEY_CLASSES_ROOT\Directory\shell\runas\command]
    @="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
    and save it as Takeownership.reg . Right click on it and select Merge. You will then have the option to right click on a file and take ownership of it.

    Should you want to remove that option from your context menu, copy and paste this into notepad and save it as Removeownership.reg . Right click and select Merge and it will remove the Take Ownership option.

    Code:
    Windows Registry Editor Version 5.00
    
    [-HKEY_CLASSES_ROOT\*\shell\runas]
    
    [-HKEY_CLASSES_ROOT\Directory\shell\runas]
     
  3. DavidGP

    DavidGP MajorGeeks Forum Administrator - Grand Pooh-Bah Staff Member

    Hi

    If the above registry edits dont help then I did this last week and all you need to do is to right click the HDD in question and choose Properties > Security Tab > Edit > Add > Advanced > Find Now and then look down the list of user names and choose your admin user name (main account you use) then click OK > OK and highlight the account name and in the permissions box click Full Control in the Allow column > OK

    Its will take a while to set the permissions and if you get the odd one from System Volume or System Restore that it cannot set permissions just skip them.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds