RoamingProfileMachineConfiguration - WMI sample in VBScript
The foundations for Manageability in Windows 2019/2012/2008/ and Windows 10/8/7/Vista/XP are Windows Management Instrumentation (WMI; formerly WBEM) and WMI extensions for Windows Driver Model (WDM).
ActiveXperts Network Monitor provides the ability to build monitor check routines based on WMI. ActiveXperts has collected more than a hundred WMI samples. You can use these samples as a base for new check routines you can write yourself.
On this site, you can find many WMI samples.
The RoamingProfileMachineConfiguration WMI class can be used in ActiveXperts Network Monitor to monitor your servers.
RoamingProfileMachineConfiguration
Example(s)
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * From Win32_RoamingProfileMachineConfiguration") For Each objItem in colItems WScript.Echo "AddAdminGroupToRUPEnabled:" & objItem.AddAdminGroupToRUPEnabled WScript.Echo "AllowCrossForestUserPolicy:" & objItem.AllowCrossForestUserPolicy WScript.Echo "BackgroundUploadParams:" & objItem.BackgroundUploadParams WScript.Echo "DeleteProfilesOlderDays:" & objItem.DeleteProfilesOlderDays WScript.Echo "DeleteRoamingCacheEnabled:" & objItem.DeleteRoamingCacheEnabled WScript.Echo "DetectSlowLinkDisabled:" & objItem.DetectSlowLinkDisabled WScript.Echo "ForceUnloadDisabled:" & objItem.ForceUnloadDisabled WScript.Echo "IsConfiguredByWMI:" & objItem.IsConfiguredByWMI WScript.Echo "MachineProfilePath:" & objItem.MachineProfilePath WScript.Echo "OnlyAllowLocalProfiles:" & objItem.OnlyAllowLocalProfiles WScript.Echo "OwnerCheckDisabled:" & objItem.OwnerCheckDisabled WScript.Echo "PrimaryComputerEnabled:" & objItem.PrimaryComputerEnabled WScript.Echo "ProfileUploadDisabled:" & objItem.ProfileUploadDisabled WScript.Echo "SlowLinkTimeOutParams:" & objItem.SlowLinkTimeOutParams WScript.Echo "SlowLinkUIEnabled:" & objItem.SlowLinkUIEnabled WScript.Echo "TempProfileLogonBlocked:" & objItem.TempProfileLogonBlocked WScript.Echo "WaitForNetworkInSec:" & objItem.WaitForNetworkInSec WScript.Echo "WaitForRemoteProfile:" & objItem.WaitForRemoteProfile WScript.Echo "" WScript.Echo "########" WScript.Echo "" Next