Windows Vista Forums

Cannot import. Error accessing the registry

  1. #1



    Junior Member
    Join Date : Apr 2010
    Posts : 11
    Vista Home Premium 32bit
    Local Time: 09:30 PM

    Cannot import. Error accessing the registry

    So I downloaded this thing called TakeOwnership. It's a .reg file, and when I try to run it, it says "Cannot import C:\Users\Nikki\Downloads\InstallTakeOwnership.reg: Error accessing the registry." Any help?

    P.S. When I right-click the file, and click on Edit, it gives me this:

    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 Администраторы:F"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant Администраторы: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 Администраторы:F /t"
    "IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant Администраторы:F /t"

    on Notepad

      My System SpecsSystem Spec

  2.   


  3. #2
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,280
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 11:30 PM
    usa us texas

     

    Re: Cannot import. Error accessing the registry

    Hello LayzieBone,

    That registry file data is incorrect or has been corrupted. Try the one in the link below instead.

    Context Menu - Take Ownership

    Hope this helps,
    Shawn

      My System SpecsSystem Spec

  4. #3



    Junior Member
    Join Date : Apr 2010
    Posts : 11
    Vista Home Premium 32bit
    Local Time: 09:30 PM


      Thread Starter

    Re: Cannot import. Error accessing the registry

    Quote Originally Posted by Brink View Post
    Hello LayzieBone,

    That registry file data is incorrect or has been corrupted. Try the one in the link below instead.

    Context Menu - Take Ownership

    Hope this helps,
    Shawn
    Different data, but same error message :/

      My System SpecsSystem Spec

  5. #4
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,280
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 11:30 PM
    usa us texas

     

    Re: Cannot import. Error accessing the registry

    Um, ok. Are you merging it while logged in as an administrator?

    If you type regedit in the Start Menu search box and press enter, does it open the Registry Editor for you?

      My System SpecsSystem Spec

  6. #5



    Junior Member
    Join Date : Apr 2010
    Posts : 11
    Vista Home Premium 32bit
    Local Time: 09:30 PM


      Thread Starter

    Re: Cannot import. Error accessing the registry

    Nevermind I got it. I had to run it in an admin account lol x) Thanks for the time guys!

      My System SpecsSystem Spec

  7. #6
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,280
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 11:30 PM
    usa us texas

     

    Re: Cannot import. Error accessing the registry

    LOL, you're most welcome.

      My System SpecsSystem Spec


Cannot import. Error accessing the registry
Similar Threads
Thread Forum
Solved Error accessing system registry General Discussion
Programs not accessing registry?! Please advise! Vista General
unable to carryout silent registry import - Windows Vista Vista General
Windows Mail accessing registry key like crazy! Vista mail
Error accessing registry keys even with administrator priveleges Vista security