So is it possible to create a user who can issue only that command, i will have a check on that
I can use normal windows task scheduler if that's the case
Thank you so much for your input.
The problem is because these we have a CIFS shares created on a volume of around 2.3TB which is used for Citrix home drive, and i see we have around 2000 users home drives sitting on it.
Even the user profiles are sitting on another CIFS share which is around 600GB
So Citrix users are complaining about slowness during the login
During login the IOPS happen on the user profile volume.
So we have vscan also enabled on CIFS shares which is ideally set to scan only for a write operations.
I wanted to see the performance by disabling it during the login time, so it will not cause multiple tasks in NetApp in the background.
In case if it helps and provide better performance will have to automate it.
But also I dont see performance issues in netapp as i check the CIFS latency during the same hours it is 2ms for read and 1 ms for write
I just wanted to lessen the load on NetApp by disabling the vscan
Thank you @GidonMarcus