Accessing windows shared files from Home Assistant

Hello everyone;

I’m new to using the Home Assistant and I’m stuck at the problem of accessing my Windows shared files. I’m using Home Assistant 2022.10.5, Supervisor 2022.10.0, Operating System 9.2 Frontend 20221010.0 - latest.
My Home Assistant is running on virtual machine at the same PC from which I wont to share files.
PC is running on windows 10 and drive D: is network shared. Drive is accessible from other devices (etc. from smartphone) connected at the same network without username and password.
I have installed Samba share and my Home Assistant files are also accessible from other devices.
I wont to achieve that my shared drive d: is accessible from Home Assistant.
I’m usint this command:
shell_command:
mount_music: mkdir -p /media/shared;mount -t cifs -o vers=1.0,noserverino,domain=WORKGROUP //192.168.0.196/D /media/shared

and automation:
alias: New Automation
description: “”
trigger:

  • platform: homeassistant
    event: start
    condition: []
    action:
  • service: shell_command.mount_music
    data: {}

The folder “shared” is there but empty.
This is my error log:
Error running command: mkdir -p /media/shared;mount -t cifs -o vers=1.0,noserverino,domain=WORKGROUP //192.168.0.196/D /media/shared, return code: 255

I have tried with vers=3.0 and 2.54 but still no luck.

Can someone please help me figure this out.

TNX