Use this when blocking file types on shares or detecting ransomware extensions.
File Screening
File screening in FSRM blocks or reports file types being saved to a folder, such as executables or media, using file groups and active or passive screens. It is also used to detect ransomware extensions.
1. Get-FsrmFileScreen.
2. Active vs passive screens.
3. File groups (e.g. executables, ransomware extensions).
4. Exceptions where needed.
5. Events/notifications.
file screen → blocks/flags file types
Context & applicabilityCommon mistakes · platform/version boundaries
- Blocking
.zipor.isoand breaking legitimate work. - Active screens without exceptions for IT folders.
- Screens set to passive (monitor only) when blocking was intended.
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Active screens block; passive screens only report.
- Screening matches file names, not content.
- Exceptions allow specific folders.
Get-SmbShare— sharesGet-SmbShareAccess <share>— share permissionsicacls <path>— NTFS permissionsGet-FsrmQuota— FSRM quotasGet-SmbOpenFile— open files
ReferenceImportant terms & boundaries2 sections · depth on demand
Ransomware use
File screening can block known ransomware extensions and ransom note names, and run a command to block the offending user's SMB access. It catches only known patterns; combine it with backups, Defender Controlled Folder Access and EDR.
In depth
File screening blocks file types by extension groups (executables, media, ransomware extensions).
New-FsrmFileGroup -Name 'Ransomware ext' -IncludePattern @('*.locky','*.crypt','*_readme.txt','*.encrypted')
New-FsrmFileScreen -Path E:\Shares -IncludeGroup 'Ransomware ext' -Active -Notification (New-FsrmAction -Type Event -EventType Warning -Body 'Blocked [Source File Path] by [Source Io Owner]')
Get-FsrmFileScreen
Screening works on file names only (renaming bypasses it). Passive screens (monitor only) are useful to find what users store before blocking. Ransomware extension lists need constant updates — treat them as an extra signal, not protection.
ReferenceConfiguration & state1 section · depth on demand
Commands
New-FsrmFileGroup -Name "Executables" -IncludePattern @("*.exe","*.msi","*.bat","*.ps1")
New-FsrmFileScreen -Path D:\Data -IncludeGroup "Executables" -Active
Documented example, not captured output. Passive screens only notify. Some admins use file screens with known ransomware extensions to detect encryption early, combined with a command that blocks the user's SMB session — useful but not a substitute for EDR and backups.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in File Server → File Screening. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/storage/file-server/ · confidence 94%