I am enabling SMB encryption with:
Set-SmbServerConfiguration -EncryptData $true -Force
From a monitoring service, I want to verify that only encrypted connections are accepted. How can I attempt to make a non-encrypted connection (to see it get denied)?
I have tried connecting from older Windows that doesn't support SMB3 encryption. That works, but my monitoring service runs on a recent OS.
I have considered disabling SMB3 on the machine, but that requires a reboot. I want something quick that doesn't have long-lasting side effects.