Windows 7 equivalent for ntrights.exe












19















What is an equivalent for ntrights.exe on Windows 7?



I need it to be able to be run from the command line.










share|improve this question





























    19















    What is an equivalent for ntrights.exe on Windows 7?



    I need it to be able to be run from the command line.










    share|improve this question



























      19












      19








      19


      3






      What is an equivalent for ntrights.exe on Windows 7?



      I need it to be able to be run from the command line.










      share|improve this question
















      What is an equivalent for ntrights.exe on Windows 7?



      I need it to be able to be run from the command line.







      windows-7 command-line security






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 20 '11 at 15:17









      oleschri

      1,055816




      1,055816










      asked Jul 11 '11 at 20:20









      Avery3RAvery3R

      2394822




      2394822






















          3 Answers
          3






          active

          oldest

          votes


















          19





          +25









          You can still use ntrights from the Windows Server 2003 Resource Kit Tools. Although not supported naturally, many of the tools performs flawlessly (including ntrights.exe).



          Proof: Microsoft TechNet (scroll down until you find the Tool table, including NTRights.exe as one of the tools that can be used).






          share|improve this answer































            12














            If you want to do it in Powershell you can install Powershell Community Extensions (PSCX) and use their Get-Privilege and Set-Privilege cmdlets.



            Example from PSCX Help:



            $p = Get-Privilege
            $p.Enable('SeTimeZonePrivilege')
            Set-Privilege $p
            Get-Privilege | ft Name, Status -a

            Name Status
            ---- ------
            SeShutdownPrivilege Disabled
            SeChangeNotifyPrivilege EnabledByDefault, Enabled
            SeUndockPrivilege Disabled
            SeIncreaseWorkingSetPrivilege Disabled
            SeTimeZonePrivilege Enabled


            By default it acts on the current user, but you can pass it a specific windows identity, of course.






            share|improve this answer


























            • How can I get the identity to pass it, if I want to set a privilege for a different user?

              – Peter Mounce
              Aug 7 '13 at 12:03











            • @PeterMounce Both cmdlets have an -Identity parameter, so you should be a able to specify another user. But I haven't tried that myself.

              – oleschri
              Aug 8 '13 at 9:44











            • I did try that, and it didn't accept a string containing the username as a valid identity; I assume therefore it wants an object.

              – Peter Mounce
              Aug 8 '13 at 15:51













            • @PeterMounce It seems to expect a System.Security.Principal.WindowsIdentity. Couldn't get it to run with another user either.

              – oleschri
              Aug 9 '13 at 8:59











            • yes; how do I get hold of one of those?

              – Peter Mounce
              Aug 9 '13 at 10:03



















            3














            Although its not suitable for scripting, The user management plugin for the orthodox file manager Far Manager will let you do this from the console. If you are running the 64 bit version of farmanager, you will need the 64 bit version of the plugin from the evil programmers google code project.






            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%2f309360%2fwindows-7-equivalent-for-ntrights-exe%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              19





              +25









              You can still use ntrights from the Windows Server 2003 Resource Kit Tools. Although not supported naturally, many of the tools performs flawlessly (including ntrights.exe).



              Proof: Microsoft TechNet (scroll down until you find the Tool table, including NTRights.exe as one of the tools that can be used).






              share|improve this answer




























                19





                +25









                You can still use ntrights from the Windows Server 2003 Resource Kit Tools. Although not supported naturally, many of the tools performs flawlessly (including ntrights.exe).



                Proof: Microsoft TechNet (scroll down until you find the Tool table, including NTRights.exe as one of the tools that can be used).






                share|improve this answer


























                  19





                  +25







                  19





                  +25



                  19




                  +25





                  You can still use ntrights from the Windows Server 2003 Resource Kit Tools. Although not supported naturally, many of the tools performs flawlessly (including ntrights.exe).



                  Proof: Microsoft TechNet (scroll down until you find the Tool table, including NTRights.exe as one of the tools that can be used).






                  share|improve this answer













                  You can still use ntrights from the Windows Server 2003 Resource Kit Tools. Although not supported naturally, many of the tools performs flawlessly (including ntrights.exe).



                  Proof: Microsoft TechNet (scroll down until you find the Tool table, including NTRights.exe as one of the tools that can be used).







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 14 '11 at 18:47









                  A DwarfA Dwarf

                  17.1k13665




                  17.1k13665

























                      12














                      If you want to do it in Powershell you can install Powershell Community Extensions (PSCX) and use their Get-Privilege and Set-Privilege cmdlets.



                      Example from PSCX Help:



                      $p = Get-Privilege
                      $p.Enable('SeTimeZonePrivilege')
                      Set-Privilege $p
                      Get-Privilege | ft Name, Status -a

                      Name Status
                      ---- ------
                      SeShutdownPrivilege Disabled
                      SeChangeNotifyPrivilege EnabledByDefault, Enabled
                      SeUndockPrivilege Disabled
                      SeIncreaseWorkingSetPrivilege Disabled
                      SeTimeZonePrivilege Enabled


                      By default it acts on the current user, but you can pass it a specific windows identity, of course.






                      share|improve this answer


























                      • How can I get the identity to pass it, if I want to set a privilege for a different user?

                        – Peter Mounce
                        Aug 7 '13 at 12:03











                      • @PeterMounce Both cmdlets have an -Identity parameter, so you should be a able to specify another user. But I haven't tried that myself.

                        – oleschri
                        Aug 8 '13 at 9:44











                      • I did try that, and it didn't accept a string containing the username as a valid identity; I assume therefore it wants an object.

                        – Peter Mounce
                        Aug 8 '13 at 15:51













                      • @PeterMounce It seems to expect a System.Security.Principal.WindowsIdentity. Couldn't get it to run with another user either.

                        – oleschri
                        Aug 9 '13 at 8:59











                      • yes; how do I get hold of one of those?

                        – Peter Mounce
                        Aug 9 '13 at 10:03
















                      12














                      If you want to do it in Powershell you can install Powershell Community Extensions (PSCX) and use their Get-Privilege and Set-Privilege cmdlets.



                      Example from PSCX Help:



                      $p = Get-Privilege
                      $p.Enable('SeTimeZonePrivilege')
                      Set-Privilege $p
                      Get-Privilege | ft Name, Status -a

                      Name Status
                      ---- ------
                      SeShutdownPrivilege Disabled
                      SeChangeNotifyPrivilege EnabledByDefault, Enabled
                      SeUndockPrivilege Disabled
                      SeIncreaseWorkingSetPrivilege Disabled
                      SeTimeZonePrivilege Enabled


                      By default it acts on the current user, but you can pass it a specific windows identity, of course.






                      share|improve this answer


























                      • How can I get the identity to pass it, if I want to set a privilege for a different user?

                        – Peter Mounce
                        Aug 7 '13 at 12:03











                      • @PeterMounce Both cmdlets have an -Identity parameter, so you should be a able to specify another user. But I haven't tried that myself.

                        – oleschri
                        Aug 8 '13 at 9:44











                      • I did try that, and it didn't accept a string containing the username as a valid identity; I assume therefore it wants an object.

                        – Peter Mounce
                        Aug 8 '13 at 15:51













                      • @PeterMounce It seems to expect a System.Security.Principal.WindowsIdentity. Couldn't get it to run with another user either.

                        – oleschri
                        Aug 9 '13 at 8:59











                      • yes; how do I get hold of one of those?

                        – Peter Mounce
                        Aug 9 '13 at 10:03














                      12












                      12








                      12







                      If you want to do it in Powershell you can install Powershell Community Extensions (PSCX) and use their Get-Privilege and Set-Privilege cmdlets.



                      Example from PSCX Help:



                      $p = Get-Privilege
                      $p.Enable('SeTimeZonePrivilege')
                      Set-Privilege $p
                      Get-Privilege | ft Name, Status -a

                      Name Status
                      ---- ------
                      SeShutdownPrivilege Disabled
                      SeChangeNotifyPrivilege EnabledByDefault, Enabled
                      SeUndockPrivilege Disabled
                      SeIncreaseWorkingSetPrivilege Disabled
                      SeTimeZonePrivilege Enabled


                      By default it acts on the current user, but you can pass it a specific windows identity, of course.






                      share|improve this answer















                      If you want to do it in Powershell you can install Powershell Community Extensions (PSCX) and use their Get-Privilege and Set-Privilege cmdlets.



                      Example from PSCX Help:



                      $p = Get-Privilege
                      $p.Enable('SeTimeZonePrivilege')
                      Set-Privilege $p
                      Get-Privilege | ft Name, Status -a

                      Name Status
                      ---- ------
                      SeShutdownPrivilege Disabled
                      SeChangeNotifyPrivilege EnabledByDefault, Enabled
                      SeUndockPrivilege Disabled
                      SeIncreaseWorkingSetPrivilege Disabled
                      SeTimeZonePrivilege Enabled


                      By default it acts on the current user, but you can pass it a specific windows identity, of course.







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Dec 13 '18 at 2:58









                      200_success

                      1,16511125




                      1,16511125










                      answered Jul 20 '11 at 15:16









                      oleschrioleschri

                      1,055816




                      1,055816













                      • How can I get the identity to pass it, if I want to set a privilege for a different user?

                        – Peter Mounce
                        Aug 7 '13 at 12:03











                      • @PeterMounce Both cmdlets have an -Identity parameter, so you should be a able to specify another user. But I haven't tried that myself.

                        – oleschri
                        Aug 8 '13 at 9:44











                      • I did try that, and it didn't accept a string containing the username as a valid identity; I assume therefore it wants an object.

                        – Peter Mounce
                        Aug 8 '13 at 15:51













                      • @PeterMounce It seems to expect a System.Security.Principal.WindowsIdentity. Couldn't get it to run with another user either.

                        – oleschri
                        Aug 9 '13 at 8:59











                      • yes; how do I get hold of one of those?

                        – Peter Mounce
                        Aug 9 '13 at 10:03



















                      • How can I get the identity to pass it, if I want to set a privilege for a different user?

                        – Peter Mounce
                        Aug 7 '13 at 12:03











                      • @PeterMounce Both cmdlets have an -Identity parameter, so you should be a able to specify another user. But I haven't tried that myself.

                        – oleschri
                        Aug 8 '13 at 9:44











                      • I did try that, and it didn't accept a string containing the username as a valid identity; I assume therefore it wants an object.

                        – Peter Mounce
                        Aug 8 '13 at 15:51













                      • @PeterMounce It seems to expect a System.Security.Principal.WindowsIdentity. Couldn't get it to run with another user either.

                        – oleschri
                        Aug 9 '13 at 8:59











                      • yes; how do I get hold of one of those?

                        – Peter Mounce
                        Aug 9 '13 at 10:03

















                      How can I get the identity to pass it, if I want to set a privilege for a different user?

                      – Peter Mounce
                      Aug 7 '13 at 12:03





                      How can I get the identity to pass it, if I want to set a privilege for a different user?

                      – Peter Mounce
                      Aug 7 '13 at 12:03













                      @PeterMounce Both cmdlets have an -Identity parameter, so you should be a able to specify another user. But I haven't tried that myself.

                      – oleschri
                      Aug 8 '13 at 9:44





                      @PeterMounce Both cmdlets have an -Identity parameter, so you should be a able to specify another user. But I haven't tried that myself.

                      – oleschri
                      Aug 8 '13 at 9:44













                      I did try that, and it didn't accept a string containing the username as a valid identity; I assume therefore it wants an object.

                      – Peter Mounce
                      Aug 8 '13 at 15:51







                      I did try that, and it didn't accept a string containing the username as a valid identity; I assume therefore it wants an object.

                      – Peter Mounce
                      Aug 8 '13 at 15:51















                      @PeterMounce It seems to expect a System.Security.Principal.WindowsIdentity. Couldn't get it to run with another user either.

                      – oleschri
                      Aug 9 '13 at 8:59





                      @PeterMounce It seems to expect a System.Security.Principal.WindowsIdentity. Couldn't get it to run with another user either.

                      – oleschri
                      Aug 9 '13 at 8:59













                      yes; how do I get hold of one of those?

                      – Peter Mounce
                      Aug 9 '13 at 10:03





                      yes; how do I get hold of one of those?

                      – Peter Mounce
                      Aug 9 '13 at 10:03











                      3














                      Although its not suitable for scripting, The user management plugin for the orthodox file manager Far Manager will let you do this from the console. If you are running the 64 bit version of farmanager, you will need the 64 bit version of the plugin from the evil programmers google code project.






                      share|improve this answer






























                        3














                        Although its not suitable for scripting, The user management plugin for the orthodox file manager Far Manager will let you do this from the console. If you are running the 64 bit version of farmanager, you will need the 64 bit version of the plugin from the evil programmers google code project.






                        share|improve this answer




























                          3












                          3








                          3







                          Although its not suitable for scripting, The user management plugin for the orthodox file manager Far Manager will let you do this from the console. If you are running the 64 bit version of farmanager, you will need the 64 bit version of the plugin from the evil programmers google code project.






                          share|improve this answer















                          Although its not suitable for scripting, The user management plugin for the orthodox file manager Far Manager will let you do this from the console. If you are running the 64 bit version of farmanager, you will need the 64 bit version of the plugin from the evil programmers google code project.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Jul 15 '11 at 22:34









                          LawrenceC

                          58.8k10102179




                          58.8k10102179










                          answered Jul 11 '11 at 20:37









                          Justin DearingJustin Dearing

                          1,91732551




                          1,91732551






























                              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%2f309360%2fwindows-7-equivalent-for-ntrights-exe%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

                              Сан-Квентин

                              8-я гвардейская общевойсковая армия

                              Алькесар