Forum Discussion

Mykey's avatar
Mykey
Brass Contributor
Sep 22, 2023

local network connection cannot be accessed after reboot (AAD)

Hello,

we have yesterday successfully joined devices to the AAD, everything works so far (except Silently Sign In at OneDrive 😉 ) But something else, we also have a local NAS and the drives are not connected properly after every reboot of the user, the access is acknowledged with the error message that the device name is already used. There helps only a net use delete etc. but it would be nice if I do not have to run an extra script before.

 

Thanks

  • Hi Mykey,

    There are a few things you can try to resolve the issue of your local NAS drives not being connected properly after every reboot of the user:

    1. Make sure that the NAS is configured to allow remote access. This may require you to enable certain services or configure the firewall on the NAS.
    2. Check the network settings on the user's computer. Make sure that the computer is set to automatically obtain an IP address and DNS server address. You may also want to try flushing the DNS cache.
    3. Try restarting the NAS and the user's computer. This can sometimes resolve network connectivity issues.
    4. Try disabling the local firewall on the user's computer. This may be necessary if the firewall is blocking access to the NAS.
    5. Try mapping the NAS drives using UNC paths instead of drive letters. UNC paths are less likely to have conflicts with other drives on the user's computer.

    If you are still having problems, you can try the following:

    1. Open a command prompt and run the following command:

     

    net view​

     

    This will list all of the devices on the network. Make sure that the NAS is listed in the output.

    1. Run the following command to try to connect to the NAS:

     

    net use \\NAS_IP_address\share_name /user:domain_username password

     

    If the command is successful, you should be able to access the NAS drive.

    1. If you are still having problems, you can try to troubleshoot the issue further by using the Event Viewer. The Event Viewer will log any errors or warnings that occur on the user's computer. You can filter the logs to only show events related to the network or the NAS.

    If you are unable to resolve the issue on your own, you may need to contact your IT department for assistance.

    Additional steps for trobleshooting:

    • The error message "The local device name is already in use" can occur if there is a conflict between the drive letter that you are trying to map the NAS drive to and another drive on the user's computer. To avoid this error, you can try mapping the NAS drive to a different drive letter or using a UNC path instead.
    • If you are using AAD to manage your devices, you may need to configure certain policies to allow access to the NAS. For example, you may need to create a network policy that allows access to the NAS IP address or DNS name.


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic

  • LeonPavesic's avatar
    LeonPavesic
    Silver Contributor

    Hi Mykey,

    There are a few things you can try to resolve the issue of your local NAS drives not being connected properly after every reboot of the user:

    1. Make sure that the NAS is configured to allow remote access. This may require you to enable certain services or configure the firewall on the NAS.
    2. Check the network settings on the user's computer. Make sure that the computer is set to automatically obtain an IP address and DNS server address. You may also want to try flushing the DNS cache.
    3. Try restarting the NAS and the user's computer. This can sometimes resolve network connectivity issues.
    4. Try disabling the local firewall on the user's computer. This may be necessary if the firewall is blocking access to the NAS.
    5. Try mapping the NAS drives using UNC paths instead of drive letters. UNC paths are less likely to have conflicts with other drives on the user's computer.

    If you are still having problems, you can try the following:

    1. Open a command prompt and run the following command:

     

    net view​

     

    This will list all of the devices on the network. Make sure that the NAS is listed in the output.

    1. Run the following command to try to connect to the NAS:

     

    net use \\NAS_IP_address\share_name /user:domain_username password

     

    If the command is successful, you should be able to access the NAS drive.

    1. If you are still having problems, you can try to troubleshoot the issue further by using the Event Viewer. The Event Viewer will log any errors or warnings that occur on the user's computer. You can filter the logs to only show events related to the network or the NAS.

    If you are unable to resolve the issue on your own, you may need to contact your IT department for assistance.

    Additional steps for trobleshooting:

    • The error message "The local device name is already in use" can occur if there is a conflict between the drive letter that you are trying to map the NAS drive to and another drive on the user's computer. To avoid this error, you can try mapping the NAS drive to a different drive letter or using a UNC path instead.
    • If you are using AAD to manage your devices, you may need to configure certain policies to allow access to the NAS. For example, you may need to create a network policy that allows access to the NAS IP address or DNS name.


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic

    • Mykey's avatar
      Mykey
      Brass Contributor
      I'll dot it with a logonscript next time...

Resources