The Registry entries to SYSMON can be changed like all others (vl-registry-read / write)
However, it must be used in the non-current profile.
A) Change profile
B) Analyze, modify or simply read SYSMON data
C) set the current profile
HKEY_CURRENT_USER \ Software \ Autodesk \ AutoCAD \ R22.0 \ ACAD-1001: 407 \ Profiles \ << MyActiveProfile >> \ SysvarMonitor
(defun GET_SYSMONLIST ( / PATH SYSVARMONLIST) ;; (setq ? (GET_SYSMONLIST))
(if (and
(setq PATH (strcat "HKEY_CURRENT_USER\\"
(vlax-user-product-key)
"\\Profiles\\"
(getvar "CPROFILE") ; Returns data from the time the profile was loaded
) )
(member "SYSVARMONITOR" (mapcar 'strcase (vl-registry-descendents PATH)))
(setq PATH (strcat PATH "\\SysvarMonitor"))
)
(foreach SYSVAR (vl-registry-descendents PATH T)
(setq SYSVARMONLIST (cons (cons(strcase SYSVAR)(vl-registry-read PATH SYSVAR)) SYSVARMONLIST))
)
)
)