LGPO.exe import error: No mapping between account names and security IDs was done












1















I am trying to block driver update for a microphone as described here.



But I have windows 10 Home edition. So I didn't have gpedit.msc by default. I installed it. Run it and I see I don't have Device Installation inside menu Local Computer Policy → Computer Configuration → Administrative Templates → System.



I do have Device Installation on another windows 10 Enterprise machine. So I decided to export these settings from enterprise to home windows edition. I am using LGPO.exe for it.



I exported Local Group Policy Settings from windows enterprise successfully using:



LGPO.exe /b backup_path


But import failes on windows home. I run



LGPO.exe /g backup_path


and have:



C:WINDOWSsystem32>LGPO.exe /g C:UsersЕвгенийDownloadsbackupbackup
LGPO.exe v2.2 - Local Group Policy Object utility

Audit policy directory exists
Copied C:Users
[[[ Security template log file output follows: C:UsersB7E3~1AppDataLocalTempGPTEE39.tmp ]]]
Completed 1 percent (0/63) Process Privilege Rights area
Completed 3 percent (1/63) Process Privilege Rights area
Completed 4 percent (2/63) Process Privilege Rights area
Completed 6 percent (3/63) Process Privilege Rights area
Completed 7 percent (4/63) Process Privilege Rights area
Completed 9 percent (5/63) Process Privilege Rights area
Completed 11 percent (6/63) Process Privilege Rights area
Completed 12 percent (7/63) Process Privilege Rights area
Completed 14 percent (8/63) Process Privilege Rights area
Completed 15 percent (9/63) Process Privilege Rights area
Completed 17 percent (10/63) Process Privilege Rights area
Completed 19 percent (11/63) Process Privilege Rights area
Completed 20 percent (12/63) Process Privilege Rights area
Completed 22 percent (13/63) Process Privilege Rights area
Completed 23 percent (14/63) Process Privilege Rights area
Completed 25 percent (15/63) Process Privilege Rights area
Completed 25 percent (15/63) Process Group Membership area
Completed 49 percent (30/63) Process Group Membership area
Completed 49 percent (30/63) Process Registry Keys area
Completed 49 percent (30/63) Process File Security area
Completed 49 percent (30/63) Process Services area
Completed 65 percent (40/63) Process Services area
Completed 73 percent (45/63) Process Services area
Completed 73 percent (45/63) Process Security Policy area
Completed 77 percent (48/63) Process Security Policy area
Completed 84 percent (52/63) Process Security Policy area
Completed 88 percent (55/63) Process Security Policy area
Completed 93 percent (58/63) Process Security Policy area
Completed 100 percent (63/63) Process Security Policy area


No mapping between account names and security IDs was done.

The task has completed with an error.

SECEDIT.EXE exited with exit code 1
----------------------------------------------------------------------


How to fix that No mapping between account names and security IDs was done.
error or maybe I should export/import Local Group Policy Settings in another way?










share|improve this question



























    1















    I am trying to block driver update for a microphone as described here.



    But I have windows 10 Home edition. So I didn't have gpedit.msc by default. I installed it. Run it and I see I don't have Device Installation inside menu Local Computer Policy → Computer Configuration → Administrative Templates → System.



    I do have Device Installation on another windows 10 Enterprise machine. So I decided to export these settings from enterprise to home windows edition. I am using LGPO.exe for it.



    I exported Local Group Policy Settings from windows enterprise successfully using:



    LGPO.exe /b backup_path


    But import failes on windows home. I run



    LGPO.exe /g backup_path


    and have:



    C:WINDOWSsystem32>LGPO.exe /g C:UsersЕвгенийDownloadsbackupbackup
    LGPO.exe v2.2 - Local Group Policy Object utility

    Audit policy directory exists
    Copied C:Users
    [[[ Security template log file output follows: C:UsersB7E3~1AppDataLocalTempGPTEE39.tmp ]]]
    Completed 1 percent (0/63) Process Privilege Rights area
    Completed 3 percent (1/63) Process Privilege Rights area
    Completed 4 percent (2/63) Process Privilege Rights area
    Completed 6 percent (3/63) Process Privilege Rights area
    Completed 7 percent (4/63) Process Privilege Rights area
    Completed 9 percent (5/63) Process Privilege Rights area
    Completed 11 percent (6/63) Process Privilege Rights area
    Completed 12 percent (7/63) Process Privilege Rights area
    Completed 14 percent (8/63) Process Privilege Rights area
    Completed 15 percent (9/63) Process Privilege Rights area
    Completed 17 percent (10/63) Process Privilege Rights area
    Completed 19 percent (11/63) Process Privilege Rights area
    Completed 20 percent (12/63) Process Privilege Rights area
    Completed 22 percent (13/63) Process Privilege Rights area
    Completed 23 percent (14/63) Process Privilege Rights area
    Completed 25 percent (15/63) Process Privilege Rights area
    Completed 25 percent (15/63) Process Group Membership area
    Completed 49 percent (30/63) Process Group Membership area
    Completed 49 percent (30/63) Process Registry Keys area
    Completed 49 percent (30/63) Process File Security area
    Completed 49 percent (30/63) Process Services area
    Completed 65 percent (40/63) Process Services area
    Completed 73 percent (45/63) Process Services area
    Completed 73 percent (45/63) Process Security Policy area
    Completed 77 percent (48/63) Process Security Policy area
    Completed 84 percent (52/63) Process Security Policy area
    Completed 88 percent (55/63) Process Security Policy area
    Completed 93 percent (58/63) Process Security Policy area
    Completed 100 percent (63/63) Process Security Policy area


    No mapping between account names and security IDs was done.

    The task has completed with an error.

    SECEDIT.EXE exited with exit code 1
    ----------------------------------------------------------------------


    How to fix that No mapping between account names and security IDs was done.
    error or maybe I should export/import Local Group Policy Settings in another way?










    share|improve this question

























      1












      1








      1








      I am trying to block driver update for a microphone as described here.



      But I have windows 10 Home edition. So I didn't have gpedit.msc by default. I installed it. Run it and I see I don't have Device Installation inside menu Local Computer Policy → Computer Configuration → Administrative Templates → System.



      I do have Device Installation on another windows 10 Enterprise machine. So I decided to export these settings from enterprise to home windows edition. I am using LGPO.exe for it.



      I exported Local Group Policy Settings from windows enterprise successfully using:



      LGPO.exe /b backup_path


      But import failes on windows home. I run



      LGPO.exe /g backup_path


      and have:



      C:WINDOWSsystem32>LGPO.exe /g C:UsersЕвгенийDownloadsbackupbackup
      LGPO.exe v2.2 - Local Group Policy Object utility

      Audit policy directory exists
      Copied C:Users
      [[[ Security template log file output follows: C:UsersB7E3~1AppDataLocalTempGPTEE39.tmp ]]]
      Completed 1 percent (0/63) Process Privilege Rights area
      Completed 3 percent (1/63) Process Privilege Rights area
      Completed 4 percent (2/63) Process Privilege Rights area
      Completed 6 percent (3/63) Process Privilege Rights area
      Completed 7 percent (4/63) Process Privilege Rights area
      Completed 9 percent (5/63) Process Privilege Rights area
      Completed 11 percent (6/63) Process Privilege Rights area
      Completed 12 percent (7/63) Process Privilege Rights area
      Completed 14 percent (8/63) Process Privilege Rights area
      Completed 15 percent (9/63) Process Privilege Rights area
      Completed 17 percent (10/63) Process Privilege Rights area
      Completed 19 percent (11/63) Process Privilege Rights area
      Completed 20 percent (12/63) Process Privilege Rights area
      Completed 22 percent (13/63) Process Privilege Rights area
      Completed 23 percent (14/63) Process Privilege Rights area
      Completed 25 percent (15/63) Process Privilege Rights area
      Completed 25 percent (15/63) Process Group Membership area
      Completed 49 percent (30/63) Process Group Membership area
      Completed 49 percent (30/63) Process Registry Keys area
      Completed 49 percent (30/63) Process File Security area
      Completed 49 percent (30/63) Process Services area
      Completed 65 percent (40/63) Process Services area
      Completed 73 percent (45/63) Process Services area
      Completed 73 percent (45/63) Process Security Policy area
      Completed 77 percent (48/63) Process Security Policy area
      Completed 84 percent (52/63) Process Security Policy area
      Completed 88 percent (55/63) Process Security Policy area
      Completed 93 percent (58/63) Process Security Policy area
      Completed 100 percent (63/63) Process Security Policy area


      No mapping between account names and security IDs was done.

      The task has completed with an error.

      SECEDIT.EXE exited with exit code 1
      ----------------------------------------------------------------------


      How to fix that No mapping between account names and security IDs was done.
      error or maybe I should export/import Local Group Policy Settings in another way?










      share|improve this question














      I am trying to block driver update for a microphone as described here.



      But I have windows 10 Home edition. So I didn't have gpedit.msc by default. I installed it. Run it and I see I don't have Device Installation inside menu Local Computer Policy → Computer Configuration → Administrative Templates → System.



      I do have Device Installation on another windows 10 Enterprise machine. So I decided to export these settings from enterprise to home windows edition. I am using LGPO.exe for it.



      I exported Local Group Policy Settings from windows enterprise successfully using:



      LGPO.exe /b backup_path


      But import failes on windows home. I run



      LGPO.exe /g backup_path


      and have:



      C:WINDOWSsystem32>LGPO.exe /g C:UsersЕвгенийDownloadsbackupbackup
      LGPO.exe v2.2 - Local Group Policy Object utility

      Audit policy directory exists
      Copied C:Users
      [[[ Security template log file output follows: C:UsersB7E3~1AppDataLocalTempGPTEE39.tmp ]]]
      Completed 1 percent (0/63) Process Privilege Rights area
      Completed 3 percent (1/63) Process Privilege Rights area
      Completed 4 percent (2/63) Process Privilege Rights area
      Completed 6 percent (3/63) Process Privilege Rights area
      Completed 7 percent (4/63) Process Privilege Rights area
      Completed 9 percent (5/63) Process Privilege Rights area
      Completed 11 percent (6/63) Process Privilege Rights area
      Completed 12 percent (7/63) Process Privilege Rights area
      Completed 14 percent (8/63) Process Privilege Rights area
      Completed 15 percent (9/63) Process Privilege Rights area
      Completed 17 percent (10/63) Process Privilege Rights area
      Completed 19 percent (11/63) Process Privilege Rights area
      Completed 20 percent (12/63) Process Privilege Rights area
      Completed 22 percent (13/63) Process Privilege Rights area
      Completed 23 percent (14/63) Process Privilege Rights area
      Completed 25 percent (15/63) Process Privilege Rights area
      Completed 25 percent (15/63) Process Group Membership area
      Completed 49 percent (30/63) Process Group Membership area
      Completed 49 percent (30/63) Process Registry Keys area
      Completed 49 percent (30/63) Process File Security area
      Completed 49 percent (30/63) Process Services area
      Completed 65 percent (40/63) Process Services area
      Completed 73 percent (45/63) Process Services area
      Completed 73 percent (45/63) Process Security Policy area
      Completed 77 percent (48/63) Process Security Policy area
      Completed 84 percent (52/63) Process Security Policy area
      Completed 88 percent (55/63) Process Security Policy area
      Completed 93 percent (58/63) Process Security Policy area
      Completed 100 percent (63/63) Process Security Policy area


      No mapping between account names and security IDs was done.

      The task has completed with an error.

      SECEDIT.EXE exited with exit code 1
      ----------------------------------------------------------------------


      How to fix that No mapping between account names and security IDs was done.
      error or maybe I should export/import Local Group Policy Settings in another way?







      windows-10






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 28 '17 at 9:17









      Maxim YefremovMaxim Yefremov

      59041019




      59041019






















          2 Answers
          2






          active

          oldest

          votes


















          3














          For Windows 10 Home users who do not have gpedit.msc,
          you might try to do this manipulation on another computer, not Home,
          then export and import the policy to the Home computer from the registry key.
          You will need to find where in the registry is stored the particular policy.



          Or you may try to use the program
          Policy Plus,
          which is a Local Group Policy Editor for all Windows editions.
          See this article for more information.



          image






          share|improve this answer
























          • Ok, I found System/Device Installation/Device Installation Restrictions inside Policy Plus after downloading the latest policy files using the Help > Acquire ADMX Files option of the program

            – Maxim Yefremov
            Dec 30 '17 at 8:29



















          0














          This does not solve the problem entirely. For Home Edition, you will need ADMX files whether you import with lgpo or Policy Plus, policy plus just simplifies this process, but they are somewhat out of date (2017) at the time of this post. Still nothing out there that is tangible, no info online anywhere that i could find. LGPO.exe will not throw any error if you edit {********-****-****-****-************}DomainSysvolGPOMachinemicrosoftwindows ntSecEditGptTmpl.inf and remove the "[Privilege Rights]" section completely.



          This means "User Rights Assignments" is the only section not importing or rather, not being properly mapped after import. Deleting the section removes the errors.



          In Home edition you wont have any ADMX files to actually see them under gpedit.msc; this is where Policy Plus shines... however the developer claims it works with "Administrative templates" only, and is a long way from supporting importing / exporting Local Windows/Security policy (user rights and security options).



          If anybody has any solution to this error code, and can tell us whether or not it really matters, if it is a security threat, if lgpo.exe skips the import, or if it does, will windows re-map the ID's itself upon import/reboot or something, I would be very grateful to hear it.






          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1280600%2flgpo-exe-import-error-no-mapping-between-account-names-and-security-ids-was-don%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            3














            For Windows 10 Home users who do not have gpedit.msc,
            you might try to do this manipulation on another computer, not Home,
            then export and import the policy to the Home computer from the registry key.
            You will need to find where in the registry is stored the particular policy.



            Or you may try to use the program
            Policy Plus,
            which is a Local Group Policy Editor for all Windows editions.
            See this article for more information.



            image






            share|improve this answer
























            • Ok, I found System/Device Installation/Device Installation Restrictions inside Policy Plus after downloading the latest policy files using the Help > Acquire ADMX Files option of the program

              – Maxim Yefremov
              Dec 30 '17 at 8:29
















            3














            For Windows 10 Home users who do not have gpedit.msc,
            you might try to do this manipulation on another computer, not Home,
            then export and import the policy to the Home computer from the registry key.
            You will need to find where in the registry is stored the particular policy.



            Or you may try to use the program
            Policy Plus,
            which is a Local Group Policy Editor for all Windows editions.
            See this article for more information.



            image






            share|improve this answer
























            • Ok, I found System/Device Installation/Device Installation Restrictions inside Policy Plus after downloading the latest policy files using the Help > Acquire ADMX Files option of the program

              – Maxim Yefremov
              Dec 30 '17 at 8:29














            3












            3








            3







            For Windows 10 Home users who do not have gpedit.msc,
            you might try to do this manipulation on another computer, not Home,
            then export and import the policy to the Home computer from the registry key.
            You will need to find where in the registry is stored the particular policy.



            Or you may try to use the program
            Policy Plus,
            which is a Local Group Policy Editor for all Windows editions.
            See this article for more information.



            image






            share|improve this answer













            For Windows 10 Home users who do not have gpedit.msc,
            you might try to do this manipulation on another computer, not Home,
            then export and import the policy to the Home computer from the registry key.
            You will need to find where in the registry is stored the particular policy.



            Or you may try to use the program
            Policy Plus,
            which is a Local Group Policy Editor for all Windows editions.
            See this article for more information.



            image







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 28 '17 at 9:51









            harrymcharrymc

            262k14271578




            262k14271578













            • Ok, I found System/Device Installation/Device Installation Restrictions inside Policy Plus after downloading the latest policy files using the Help > Acquire ADMX Files option of the program

              – Maxim Yefremov
              Dec 30 '17 at 8:29



















            • Ok, I found System/Device Installation/Device Installation Restrictions inside Policy Plus after downloading the latest policy files using the Help > Acquire ADMX Files option of the program

              – Maxim Yefremov
              Dec 30 '17 at 8:29

















            Ok, I found System/Device Installation/Device Installation Restrictions inside Policy Plus after downloading the latest policy files using the Help > Acquire ADMX Files option of the program

            – Maxim Yefremov
            Dec 30 '17 at 8:29





            Ok, I found System/Device Installation/Device Installation Restrictions inside Policy Plus after downloading the latest policy files using the Help > Acquire ADMX Files option of the program

            – Maxim Yefremov
            Dec 30 '17 at 8:29













            0














            This does not solve the problem entirely. For Home Edition, you will need ADMX files whether you import with lgpo or Policy Plus, policy plus just simplifies this process, but they are somewhat out of date (2017) at the time of this post. Still nothing out there that is tangible, no info online anywhere that i could find. LGPO.exe will not throw any error if you edit {********-****-****-****-************}DomainSysvolGPOMachinemicrosoftwindows ntSecEditGptTmpl.inf and remove the "[Privilege Rights]" section completely.



            This means "User Rights Assignments" is the only section not importing or rather, not being properly mapped after import. Deleting the section removes the errors.



            In Home edition you wont have any ADMX files to actually see them under gpedit.msc; this is where Policy Plus shines... however the developer claims it works with "Administrative templates" only, and is a long way from supporting importing / exporting Local Windows/Security policy (user rights and security options).



            If anybody has any solution to this error code, and can tell us whether or not it really matters, if it is a security threat, if lgpo.exe skips the import, or if it does, will windows re-map the ID's itself upon import/reboot or something, I would be very grateful to hear it.






            share|improve this answer






























              0














              This does not solve the problem entirely. For Home Edition, you will need ADMX files whether you import with lgpo or Policy Plus, policy plus just simplifies this process, but they are somewhat out of date (2017) at the time of this post. Still nothing out there that is tangible, no info online anywhere that i could find. LGPO.exe will not throw any error if you edit {********-****-****-****-************}DomainSysvolGPOMachinemicrosoftwindows ntSecEditGptTmpl.inf and remove the "[Privilege Rights]" section completely.



              This means "User Rights Assignments" is the only section not importing or rather, not being properly mapped after import. Deleting the section removes the errors.



              In Home edition you wont have any ADMX files to actually see them under gpedit.msc; this is where Policy Plus shines... however the developer claims it works with "Administrative templates" only, and is a long way from supporting importing / exporting Local Windows/Security policy (user rights and security options).



              If anybody has any solution to this error code, and can tell us whether or not it really matters, if it is a security threat, if lgpo.exe skips the import, or if it does, will windows re-map the ID's itself upon import/reboot or something, I would be very grateful to hear it.






              share|improve this answer




























                0












                0








                0







                This does not solve the problem entirely. For Home Edition, you will need ADMX files whether you import with lgpo or Policy Plus, policy plus just simplifies this process, but they are somewhat out of date (2017) at the time of this post. Still nothing out there that is tangible, no info online anywhere that i could find. LGPO.exe will not throw any error if you edit {********-****-****-****-************}DomainSysvolGPOMachinemicrosoftwindows ntSecEditGptTmpl.inf and remove the "[Privilege Rights]" section completely.



                This means "User Rights Assignments" is the only section not importing or rather, not being properly mapped after import. Deleting the section removes the errors.



                In Home edition you wont have any ADMX files to actually see them under gpedit.msc; this is where Policy Plus shines... however the developer claims it works with "Administrative templates" only, and is a long way from supporting importing / exporting Local Windows/Security policy (user rights and security options).



                If anybody has any solution to this error code, and can tell us whether or not it really matters, if it is a security threat, if lgpo.exe skips the import, or if it does, will windows re-map the ID's itself upon import/reboot or something, I would be very grateful to hear it.






                share|improve this answer















                This does not solve the problem entirely. For Home Edition, you will need ADMX files whether you import with lgpo or Policy Plus, policy plus just simplifies this process, but they are somewhat out of date (2017) at the time of this post. Still nothing out there that is tangible, no info online anywhere that i could find. LGPO.exe will not throw any error if you edit {********-****-****-****-************}DomainSysvolGPOMachinemicrosoftwindows ntSecEditGptTmpl.inf and remove the "[Privilege Rights]" section completely.



                This means "User Rights Assignments" is the only section not importing or rather, not being properly mapped after import. Deleting the section removes the errors.



                In Home edition you wont have any ADMX files to actually see them under gpedit.msc; this is where Policy Plus shines... however the developer claims it works with "Administrative templates" only, and is a long way from supporting importing / exporting Local Windows/Security policy (user rights and security options).



                If anybody has any solution to this error code, and can tell us whether or not it really matters, if it is a security threat, if lgpo.exe skips the import, or if it does, will windows re-map the ID's itself upon import/reboot or something, I would be very grateful to hear it.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 28 at 2:40

























                answered Jan 28 at 2:27









                BojaBoja

                214




                214






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1280600%2flgpo-exe-import-error-no-mapping-between-account-names-and-security-ids-was-don%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    Puebla de Zaragoza

                    Musa