Currently, on several machines, we use Task Scheduler to export the environment variables of those machines to a text file for backup (we've had issues with these being deleted and also if we have to rebuild a machine from scratch). Right now, we do that using a batch file that contains:
set>C:\Users\%USERNAME%\Documents\Personal\ExportBackups\%COMPUTERNAME%-ENV.txt
Actually, we don't need the user environment variables (or we could use SYSTEM), but I can't seem to find a way to do the "set" command from VisualCron. Any ideas?