Fsx for windows AWS disconnected Network Drive

I’m facing issue when mounting Fsx through userdata to windows ec2 instance. After login in to ec2 instance, I can see the mounted drive as "Disconnected Network Drive"


mounting fsx to ec2 instance through userdata in cloudformation template results in disconnected Network Drive.

login to ec2 instance and doing command manually through PowerShell works good and i can see drive with no issue

command i’m using : net use Z: $fsxDNSshare

any idea how to troubleshoot? the logs in ec2 doesn’t show any error of command used.
is there a way to reconnect disconnected network drive?

Source: Windows Questions