What you are experiencing likely is more a windows thing than an orthanc thing. Some things to try.
If your ultrasound has a windows username and password that you can find in the setup, or even better set to your own taste, then on the server, create an account in that username with that password.
Depending on the version of windows or linux underlying your ultrasound, on the server you will most likely have to explicitly turn on file and printer sharing, probably set to password protected sharing, and make sure that you explicitly share the folder where the database and orthanc stuff lives specifically with your ultrasound's user/pw combo. You may even need to share the base drive C: or D: (sometimes it will let you sometimes not) Safer to stay more specific for the folder you want to hit.
I have had various combinations of windows machines (10, 19server, 7) that will not allow logins and traffic with password protected sharing off. Password protected on with explicit permission for the calling machine seems to get me there.
Finally I have had to on occasion specifically allow a machine and or a program through my server windows firewall.. So trying all the steps first with the firewall down is good to try.. then bring the firewall up, and if you are blocked again, you need to set some explicit permissions there as well.
Also on your ultrasound make sure that you are finding the server by number.. ie 192.168.1.xxx rather than by name ie \\myserver
In other words skip the name resolution step.. The different flavors of windows networking have different schemes for name resolution, and your ultrasound may be attempting name resolution with nothing on the network doing that in the flavor it needs until you turn on smb1. Smb1 used a "master browser election" where the machines all "voted" as to who handled local name resolution. That is gone in the newer version.. If your ultrasound is seeking the master browser, then direct address may be the answer.
So many possible points of failure.. thank you mr Gates..
John