Showing results for 
Show  only  | Search instead for 
Did you mean: 
Engaged Sweeper II

Hi Everyone,

There will be a Microsoft audit on this upcoming months. May we ask for your help if there's a way that we could add a new field in a specific report that we can tagged a machine that it has already been audited so that in the next audit, we can skip that machine.


Engaged Sweeper

I like to tag with registry keys. 

Create a batch file or ps script similar to:

@echo off
set today=%date:~4,2%/%date:~7,2%/%date:~10,4%
reg add "HKLM\Software\MSAudit" /v "Last Audit" /t REG_SZ /d %today% /f

That would create a reg key with the date that the batch file was run. Every machine successfully audited just run the file against it to tag it. Then create a registry scan for that value to report. This will also put a reference to the audit outside of just lansweeper so that it can be validated independent of a single platform. 

Hope this helps.

Champion Sweeper III

I recommend/do this as well