Hi! We are using smartcards. I want to send an email/popup message to the user 30 days before user certificate expired. the cached certificates are stored in for any user in : current user\personal\certificates .   does someone have a script for that?   Thanks, Aviv Hassidim 
 
	
			 
		 
		
			Some time ago I started to play with
 
	Certificate Enrollment API https://msdn.microsoft.com/en-us/library/windows/desktop/aa374863(v=vs.85).aspx
 
	Here is what I get so far:
 
#include <MsgBoxConstants.au3>
_Example()
Func _Example()
	; Error monitoring. This will trap all COM errors while alive.
	; This particular object is declared as local, meaning after the function returns it will not exist.
	Local $oErrorHandler = ObjEvent("AutoIt.Er