The script maps the network path to given Drive Letter, Please give the valid network path and available Drive Letter to map them properly otherwise the mapping would not be completed.
Please refer the link for script: https://scripts.comodo.com/frontend/web/topic/map-network-path-to-drive
Note:Please run the script as System User or Logged in User
username= “abc” ## provide the Username
password= “*******” ##enter the password of that device