nexxai / CryptoBlocker

A script to deploy File Server Resource Manager and associated scripts to block infected users
GNU General Public License v2.0
200 stars 73 forks source link

Folder Exclusion #65

Open kiriswiss opened 5 years ago

kiriswiss commented 5 years ago

Hi everyone, Maybe someone can help me with my issue. We already implemented the RANSOM-Ware script on our Fileservers. Now we have implemented the script where certain drives should be excluded. The script look like this one: $DriveExclusions = "C:\" $drivesContainingShares = $drivesContainingShares | Where-Object { $DriveExclusions -notcontains $_

Now I would like to implement a Folder exclusion. For example: V:\APPLICATIONS\Test Which means that this Folder is excluded from the protection.

Does anyone know how to implement this? Thanks for any answer Regards Andre