Hello and thanks for your answer. Errorlog.txt is one of the first files I checked, but the only entries since Friday are:
03/08/2013 09:13:26: L*****30 SOFTWARE La chiamata di procedura remota non è riuscita. (Eccezione da HRESULT: 0x800706BE)
in System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
in System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
in LansweeperService.Software.GetSoftwareKey(UInt32 hive, String keytoscan, DataTable rst, Asset& myAsset, Boolean& inerror, IDbConnection& sqlcon)
03/08/2013 09:14:05: L*****20 SOFTWARE La chiamata di procedura remota non è riuscita. (Eccezione da HRESULT: 0x800706BE)
in System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
in System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
in LansweeperService.Software.GetSoftwareKey(UInt32 hive, String keytoscan, DataTable rst, Asset& myAsset, Boolean& inerror, IDbConnection& sqlcon)
03/11/2013 08:48:45: N****8 SOFTWARE La chiamata di procedura remota non è riuscita. (Eccezione da HRESULT: 0x800706BE)
in System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
in System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
in LansweeperService.Software.GetSoftwareKey(UInt32 hive, String keytoscan, DataTable rst, Asset& myAsset, Boolean& inerror, IDbConnection& sqlcon)
03/11/2013 11:02:44: ligabudom\N****9\1 Server RPC non disponibile. (Eccezione da HRESULT: 0x800706BA)
in System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
in System.Management.ManagementScope.InitializeGuts(Object o)
in System.Management.ManagementScope.Initialize()
in LansweeperService.ComputerScanning.CheckWMIInitialAccessOK(Asset myAsset, IDbConnection sqlcon)
There are only 4 computers involved, with "Remote Procedure Call failed" and "Unavailable RPC server" errors, whereas there is no line referring to cleanups.
Note that I'm still in the process of cleaning up my Active Directory, so some active scans fail because the PCs are no longer available, which should explain the "Remote Procedure Call failed" errors.
Server options are set this way:
- Automatically make non-active computers active when they are rescanned. TRUE
- Set computers to non-active if not seen in the last 45 days. TRUE
- Set Computers to non-active if not found in Active Directory. TRUE
- Set computers to non-active if disabled in Active Directory. TRUE
all other options are FALSE. I've been running Lansweeper for a week, so no asset as been not seen for 45 days, but in any case it should just be marked non-active.
Thanks again for your help.