I have just create any account by the workstation which are my shares. The drives get new share setting who the new user account can use.

So I use your script and nothing happens.....
At all time if I use the use command with user and password parameters the [censored] does not work.
And with this script works are settings without user and password not.....

I have no idea...damn