1
0
-1

I followed the code along and watched as it hit "if self_delete = "y" then" it goes through the if statement and executes the code within but doesn't actually delete its self. has anyone else had this problem? 

 

Also this audit_script seems like it's going to be a pretty large security risk. having admin credentials stored in plain text in the windows folder that the user has to be able to view is pretty bad. why is no one else talking about this?

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Fixed by adding "-s" which is the "run as system" option in paexec. 

       

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hello dschumm,

        Which version of Open-AudIT and the Windows audit script are you using? Please make sure the account you are using to run the script has the right to delete it on the platform you're auditing.

        1. dschumm

          I'm using 2.0.11, i have credentials set shouldn't it be using those to run the delete? i didn't look closely at that part of the code but i assumed it did impersonation as well.

        2. Mark Henry

          We are working to duplicate this issue in our lab. Can you tell us the OS on your Open-AudIT server as well as on the machine you were observing this behavior on. Also, could you please forward a copy of the deployed Windows audit script to us at support@opmantek.com that you were using to test (please obfuscate the credentials).

        3. dschumm

          The server version is 2016, email it sent.

        4. dschumm

          Windows Server 2016.

        CommentAdd your comment...