1, Using RVToolsPasswordEncryption.exe to encrypted password

wKiom1kw2mmCrsCKAAAbTV3KkW8060.png

2. Set the Short date format

3. BAT file to run RVtools(RVtools.bat), revise the account and password accordingly(highlight with red color)

rem #########################

rem Name RVToolsBatch
rem By Hunter
rem Date Apr 2017
rem Version 3.9.5
rem #########################
rem =====================================
rem Include robware/rvtools in searchpath
rem =====================================
set path=%path%;c:\program files\robware\rvtools 3.9.5
rem =========================
rem Set environment variables
rem =========================
set $datetime=%date:~6,4%%DATE:~3,2%%DATE:~0,2%
set $VCServer=VC name or IP
set $AttachmentDir=C:\temp
set $AttachmentFile=RVTOOLS_%$datetime%_%$VCServer%.xls
rem ===================
rem Start RVTools batch
rem ===================
RVTools.exe -u ABC_DM\hunter -p _RVToolsPWDSAimNtfac7sBlN8HczNdjvHyqknIETj5oy7/gE3uISc= -s %$VCServer% -c ExportAll2xls -d %$AttachmentDir% -f %$AttachmentFile%
timeout /T 30

3.Create a window schedule task to run the bat file

1)  create a task

wKioL1kxDtWRc2M_AAAfYPWxhq0403.png

2) Add the BAT script to window task, and set the triggers condition.

wKiom1kxD1ewAAnZAAAcP8tqD6c515.png

More reference