cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
klydos
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.

Regards

2 REPLIES 2
JSme58
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.

rom
Champion Sweeper III

I recommend/do this as well