Im a fan of pydio for this. pydio isnt on Windows i dont think, but setting it up is easy.
Using it to share files is even easier. Just upload the file to the share, right click and click Share. It generates an https link which you then just email to the people you want to share it with(outside the office obvs, as smb shares are easier in the office). When you dont want to share it anymore, just right click and unshare it. Now nobody can get it.
Our techsupport people use this to email links for firmware update, user guides, product documentation for our customers. Our inventory people use it to give BOMs to people since those end up being too big for an attachment usually.
I am just trying out nextcloud and it also does this, but is slightly different.