Need help with windows 10 policies and registry

Discussion in 'PC' started by itisntreal, Apr 15, 2021.

  1. itisntreal

    itisntreal Guest

    hey i need help with windows registry

    i used gpedit.msc to set some policies i used apptoreg to log the changes in the registry
    now i copied and pasted all changes into notepad and saved as * .reg but then when i try to merge it in a virtual machine i got an error cannot import reg file also manual importing doesn't work
    i have full admin rights
    add REGEDIT4 at the top of the regfile i just want to set the policies via registry so i never have to do it again
     
    • Interesting Interesting x 1
    • List
  2.  
  3. twoheart

    twoheart Audiosexual

    Joined:
    Nov 21, 2015
    Messages:
    2,008
    Likes Received:
    1,223
    Location:
    Share many
    I didn't do it the way you did it yet. But I used regedit im-/exports a lot of times and even heavy blocks worked just fine.
    I guess somethinhg missed in the exported .reg

    As you will know, the registry imports need a simple syntax but if there is something wrong like a not closing bracket or not closing quotation mark the import will fail.

    Also check if there are missing lines in the exported file.
    To check it I would suggest to just use the Windows builtin regedit to export some information contained in the file you exported and check if the syntax is exactly the same.


    If you export the iZotope chapter under HKLM Software you will need to first mention HKLM\Software\Izotope, Inc
    and again
    HKLM\Software\iZotope, Inc.\Stutter Edit 2

    like this:

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\iZotope, Inc.]

    [HKEY_LOCAL_MACHINE\SOFTWARE\iZotope, Inc.\Stutter Edit 2]
    "Location"="C:\\Program Files\\iZotope\\Stutter Edit 2"
    "Version"="2.0.0"
    "Language"="en"


    I would suggest to check if these seemingly double entries exist
     
    Last edited: Apr 15, 2021
  4. r4e

    r4e Audiosexual

    Joined:
    Sep 6, 2014
    Messages:
    851
    Likes Received:
    1,201
    Seems like you don't have enough rights to import your regfile. Some regkeys need system rights to get imported - normal admin isn't enough. You could try using "Registrar Registry Manager Pro" to import your settings, it'll even let you delete keys that are locked by the System account.

    Or you try to run regedit elevated with the little free tool NSudo.
    Download the file NSudo_8.0.1_All_Components.zip, extract it and then run NSudoLG.exe as admin (located in "NSudo Launcher\x64").
    Now just select the user System, check "Enable All Privileges" and type in regedit in the "open" field. Within Regedit you now can
    try to import your regkey. If it doesn't work, select the user "TrustedInstaller". If that still doesn't work, send me your regfile via PM
    and I'll try to take a look at it and why an import doesn't work & probably fix it for you.

    [​IMG]

    Keep in mind to be careful using NSudo. With the TrustedInstaller or System rights enabled, you can break your
    system easily by deleting or editing the wrong keys in the registry.
     
    • Like Like x 1
    • Useful Useful x 1
    • List
  5. itisntreal

    itisntreal Guest

    thnx for the reply's
     
  6. r4e

    r4e Audiosexual

    Joined:
    Sep 6, 2014
    Messages:
    851
    Likes Received:
    1,201
    The question is, did you solve it and if, how? Would be helpful for others who encounter the same issue.
     
  7. itisntreal

    itisntreal Guest

    i tried nsudo it imports my registry file without any problem but when i go through regedit to the path there is nothing there
     
  8. BEAT16

    BEAT16 Audiosexual

    Joined:
    May 24, 2012
    Messages:
    9,082
    Likes Received:
    6,990
Loading...
Loading...