I currently have splunk forwarder 9.0 installed on my windows 11 computer, sync a folder that has files from OneDrive with the following structure [batch://C:\Users\esnsanma\Documents\OneDrive - Carvajal S.A\ReportesNdd\8001466435\*]
disabled = false
index = idx_ndd_group
sourcetype = st_ndd_congroup
crcSalt = <SOURCE>
move_policy = sinkhole
every time I restart my computer it stops detecting the files, for example I start my computer but it doesn't index the files, it only detects them until I copy and paste the files on the same folder, there is a command to force the indexing of the entire tree of folders