8 Replies Latest reply on Dec 30, 2014 8:56 PM by Dinesh1415

    How to remove rights using the batch script

    Apprentice

      Hi All,

       

      can anyone help me with the script to remove the admin rights from the group. I am trying to push this from software distribution that got failed.

       

      When I try to run manually, it works fine, please help me

       

       

      @ECHO OFF

      REM Adding a local group
      net localgroup Administrators dinesh /delete

       

      exit /b