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.
Note:
Please run the script as "Local System User"
NOTE:
drive_letter='T:' shared_network_path=r'\\WINDOWS1032BIT\71b740342fd42e68d06f\Sandbox'
username= "abc" ## provide the Username
password= "*******" ##enter the password of that device