Brother DCP-L2540DW Scans From Windows but the Scan Button Fails

Starting a scan at the PC and starting it from the Brother panel use different workflows. A good PC-initiated scan narrows the problem to destination selection or the button configuration.
Test PC-initiated scanning
Start a one-page scan from the supported Brother utility and save it locally. Note the PC name, connection type, and destination folder that actually worked.
What to do next
In Brother’s supported Windows scanning software, inspect the device-button or Scan to File settings. Select the correct machine and a writable folder. On a network, check which computer is selected from the printer panel.
Check the panel destination
Start Scan to File from the panel with the PC awake. Check the destination folder and timestamp. If PC-initiated scans still work, retain that driver while investigating panel-to-PC registration.
See the manufacturer’s reference for model-specific details. You can also compare Windows scanning interfaces.