Steps to map windows clients share using bat file

I just installed UCS and I want to use on production but andI have successfully join windows 10 client for my test. I create simple logon script “logon.bat” and I put inside /var/lib/samba/netlogon. I added one user.

logon.bat has just 1 line inside (see below)
net use Y: \192.168.1.200\account

When I login from the windows machine(windows 10) there was not share mapped

Thanks

Mastodon