fix, how to, microsoft

You will encounter the “The specified network name is no longer available” error while trying to access a network resource such as Network Attached Storage, a remote device, or the server/Domain Controller (DC) itself. This issue can also occur on the server side if the controller tries to access such resources, add users to the domain, or while trying to promote the DC.

Usually, it means that the resource is no longer available or the admin has imposed restrictions on your device regarding such access. They may also have taken down the server. But the issue may also occur unintentionally due to various other reasons.

If the network resource is no longer online or available, there’s nothing you can do to access it unless the admin decides to make it available again. However, for the latter case, there are many possible solutions you can try out on your client device or the server side.

What Causes “Specified Network Name is No Longer Available” Error

Apart from the server admin tampering with the network resource, here are some possible causes for the above error:

  • The necessary protocol is disabled.
  • Required ports not being open.
  • Security applications clocking access to the network resource.
  • Issues with the user folder of the application, such as incorrect permission, compression, or encryption.
  • The domain controller not fulfilling the necessary conditions before promotion.
  • Bugs in the network access software.

How to Fix the Specified Network Name is No Longer Available?

Some of the possible solutions below require you to have access to the network server or domain controller. If you don’t have access, you need to contact the system admin and have them perform such operations. Other solutions require you to make changes to your own computer, which you can do without any issues.

Enable SMBv2/v3 Protocol

A network uses the Server Message Block (SMB) protocol to provide access to shared resources attached to the same network. Currently, only SMB v2 or v3 is used, and SMB v1 is already deprecated. So, many devices do not have SMBv1 enabled by default and instead opt to use the later versions.

However, it is possible that these protocols are not enabled on either the client side or the server. So, you need to do so manually to resolve your issue. SMBv3 and v2 use the same stack, so you only need to enable SMBv2 to use either protocol.

On Client Side

  1. Open Run by pressing Win + R.
  2. Type cmd and press Ctrl + Shift + Enter to open the Elevated Command Prompt.
  3. Enter the following commands:
    • sc config lanmanworkstation depend= bowser/mrxsmb20/nsi
    • sc config mrxsmb20 start= auto
      fix, how to, microsoft
  4. Restart your PC

On Server Side

  1. Press Win + R to open Run.
  2. Type powershell and press Ctrl + Shift + Enter to open Windows PowerShell.
  3. If the operating system in the server is Windows 8 and Windows Server 2012 or higher, enter the command below:
    Set-SmbServerConfiguration -EnableSMB2Protocol $true
    Then, type Y and press Enter if prompted.
    fix, how to, microsoft
  4. For earlier versions, you need to enter the following command:
    Set-ItemProperty -Path "HKLM:SYSTEMCurrentControlSetServicesLanmanServerParameters" SMB2 -Type DWORD -Value 1 -Force
    fix, how to, microsoft
  5. Restart the PC if you used the Set-ItemProperty command

Check SMBv1 Protocol Status

Just enabling SMBv2 may not be enough. If you have enabled both SMBv1 and v2/v3 on your system, but the server only enables SMBv2/v3, your device may erroneously try using the SMBv1 channel instead.

So, you need to disable it on your client side in such a scenario.

  1. Open the Elevated Command Prompt.
  2. Type the following command and press Enter after each:
    • sc config lanmanworkstation depend= bowser/mrxsmb20/nsi
    • sc config mrxsmb10 start= disabled
      fix, how to, microsoft
  3. Restart your PC to apply the change.

Alternatively, you can enter the following command on the Elevated Windows PowerShell to disable the protocol:
Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol

In rare cases, the server may only support SMBv1 but have it disabled while enabling SMBv2/v3. So if you can’t resolve the issue after performing all previous steps and the earlier solution, you may need to enable SMBv1 on the server along with your client system.

To enable it on the server,

  1. Open the Elevated PowerShell.
  2. For Windows 8 and Windows Server 2012 or older OS, type Set-SmbServerConfiguration -EnableSMB1Protocol $true and press Enter. Then, if prompted, type Y and press Enter.
    fix, how to, microsoft
  3. For previous OS versions, use Set-ItemProperty -Path "HKLM:SYSTEMCurrentControlSetServicesLanmanServerParameters" SMB1 -Type DWORD -Value 1 -Force instead.

To enable it on the client,

  1. Open the Elevated Command Prompt.
  2. Enter the commands below:
    • sc config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
    • sc config mrxsmb10 start= auto
      fix, how to, microsoft

Open Firewall Ports

You can encounter this issue while accessing the network name through any protocol. Each protocol needs different ports to initiate and continue the connection. So you need to make sure the corresponding ports are open to avoid the above error.

First, search for the ports you need from the internet or official sources. Then, follow the steps below to check these ports:

  1. Open Run.
  2. Type wf.msc and press Enter to open Windows Defender Firewall with Advanced Security.
  3. Select Inbound Rules or Outbound Rules depending on your situation. Then, click on New Rule.
    fix, how to, microsoft
  4. Check Port and click Next.
  5. Tick UDP or TCP depending on your scenario, and type the port number under Specific remote ports. You can use multiple ones while separating them with commas.
    fix, how to, microsoft
  6. Then, click Next.
  7. Check Allow the connection and hit Next.
  8. Select the types of the network where this rule applies and select Next.
  9. Then, enter any name and description you want for the rule and click Finish.

Disable Third-party Security Software

Third-party security software such as antivirus and network scanners can also block access to or from a network resource. You can try temporarily disabling the security on the client side or the host side to prevent this issue.

However, keep in mind that the software is there for the protection of your system. So, you need to make sure that the resource is not really dangerous before disabling the real-time or network security.

On the other hand, you can also add the network resource or user to the exclusion list to resolve the error without disabling such software. If you don’t have access to the server, you can ask the system admin if the server needs to create an exception.

Reset Permissions of AppData Folder

If you are suffering from this issue while using an application, such as Windows Subsystem for Linux, it might be because of some issues with the application’s user folder inside AppData. One of the possible causes is incorrect permission settings. It hinders the app from accessing the user folder and prevents access to a network resource.

You can resolve this issue by resetting the permissions of the AppData folder.

  1. Open Run.
  2. Type cmd and press Ctrl + Shift + Enter to open the Elevated Command Prompt.
  3. Enter the command icacls %USERPROFILE%AppData /q /c /t /reset
    fix, how to, microsoft

Decompress or Unencrypt Application User folder

Another possible issue with the application’s user folder involves your system compressing or encrypting the folder. While some applications work in such a scenario, there are many others that do not.

So you need to disable the NTFS compression or encryption from the folder. To do so,

  1. Open Run.
  2. Type %localappdata% and press Enter to enter the AppDataLocal folder.
    fix, how to, microsoft
  3. Search for the application user folder inside this folder.
  4. If it is an app provided by Microsoft, you need to Look inside AppDataLocalPackages. For instance, if you encounter this error while using Windows Subsystem for Linux, the folder name inside Packages will be that of the Linux distros.
  5. Right-click on the folder and select Properties.
  6. Click Advanced on the General tab.
  7. Uncheck Compress contents to save disk space and Encrypt contents to secure data.
    fix, how to, microsoft
  8. Click OK > OK to close Properties while applying the changes.

Completely Reinstall Application

You can also try completely uninstalling the network access apps where you encounter this error and then reinstall the latest version to resolve the issue. Doing so also accounts for any possible bugs present in the app itself.

  1. Open Run.
  2. Type appwiz.cpl and press Enter to open Programs and Features.
  3. Look for your application and select it.
  4. Click Uninstall and confirm if prompted.
    fix, how to, microsoft
  5. Follow the instructions in the uninstaller.
  6. Then, open Run again.
  7. Type %localappdata% and press Enter to enter the AppDataLocal folder.
  8. Search for the application user folder inside this folder.
  9. If it is an app provided by Microsoft, you need to Look inside AppDataLocalPackages.
    fix, how to, microsoft
  10. Delete the user folder.

Now, reinstall the application and see if you still encounter the error.

Migrate from FSR to DFSR

If you encountered this error while trying to promote the Domain Controller on servers older than Windows Server version 1709, it’s because the older File Replication Service (FRS) is no longer supported. You need to migrate from FSR to DFSR, and the domain functional level needs to be 2008 or higher to resolve this issue.

It is not feasible to include all the necessary steps in this article. So, recommend following the dedicated migration guide provided by Microsoft or a Microsoft Tech Community user’s streamlined guide to migrate to DFSR.

Review Your Code

If you encountered this error while running a self-created program that accesses a network resource, it is likely that there’s an issue with your coding.

Since there are many possible places where such bugs can occur, the most common ones are as follows:

  • Trying to write into a stream that is already closed by the remote peer will cause this issue. So, you need to make sure not to close the stream or not allow the peer to close the stream unless the data transfer or communication is complete.
  • Another reason is the set or default timeout period being too low that the time taken to complete the query or communication. You simply need to extend this period to resolve the issue.

There may also be other errors in your code. We recommend you upload it to forums like StackOverflow and seek help from fellow users.

TECH NEWS RELATED

AYA NEO Pocket Air is an Android gaming handheld with OLED display

Android is now fully ready to be utilized in a gaming handheld console. We have already seen a couple of new Android handhelds from big companies last year. And now more companies are launching their handhelds. The one we are talking about today is the AYA NEO Pocket Air. This ...

View more: AYA NEO Pocket Air is an Android gaming handheld with OLED display

Jaguars vs Chiefs live stream: how to watch the NFL playoff game online

(Image: © Getty Images / David Eulitt) Swipe to scroll horizontally Jaguars vs Chiefs live stream Kick-off: Saturday, January 21, 4.30pm ET / 1.30pm PT / 9.30pm GMT TV channel: NBC Live stream: Peacock TV (US) | DAZN (CA) | Sky (UK) | 7Plus (AU) Use ExpressVPN to watch ...

View more: Jaguars vs Chiefs live stream: how to watch the NFL playoff game online

Word can’t do this because a dialog box is open

Microsoft Word is the best word editor available for users. While it is almost perfect, many users report a problem with the application where they encounter the error Word can’t do this because a dialog box is open. The error occurs while creating a new Word document or opening an ...

View more: Word can’t do this because a dialog box is open

A Twisted New Body Dysmorphia Romantic Film Looks Gruesomely Unique

Some movie trailers do their best to push all the information you might need before the premiere to let you properly gauge your interest. Other trailers don’t care about all that and only want to show you a series of odd sequences you cannot piece together, but know you’ll ...

View more: A Twisted New Body Dysmorphia Romantic Film Looks Gruesomely Unique

How to Disable Screenshot Thumbnail Previews on Mac

Modern versions of macOS feature a floating thumbnail preview for screenshots that allows users to quickly apply edits to their screenshots before they save them. If you find this interface too obtrusive, or simply prefer to edit your screenshots later using the Preview app, Here is how you can ...

View more: How to Disable Screenshot Thumbnail Previews on Mac

LG’s smart projector is the square cousin of Samsung’s cool The Freestyle

This Tiny MSI PC is Packed With Power

MSI Following the example set by the Mac Mini, many Windows-powered compact PCs have popped up recently with solid hardware. If none have quite caught your eye, though, maybe this PC by MSI will. MSI has just released a new tiny PC called the Cubi 5 12M, and it’s ...

View more: This Tiny MSI PC is Packed With Power

Logitech’s New Colorful Keyboards and Mice Look Great

Logitech Logitech makes some of the best keyboards and best mice around, and you might be familiar with the company’s RGB-packed gaming products. These new peripherals are really packed with color, but we’re not really talking about lights. Logitech has announced a range of new colors for a bunch ...

View more: Logitech’s New Colorful Keyboards and Mice Look Great

10 Best Solutions To Fix DNS Errors In Windows

[7 Fixes] Windows Photos App Slow To Open Issue In Windows

“Part of the Journey Is the End;” Marvel’s Avengers Seems to be Shutting Down

How To Find Your Laptop IP Address

8 Fixes: Microsoft Windows Security Not Opening

9 Best Ways To Retrieve A Downloaded Movie On Your Laptop

How To Snip Screen On Your Laptop?

How To Connect AirPods To A Laptop?

Satechi Thunderbolt 4 Slim Hub review: A sleek and portable laptop hub

Wi-Fi routers are being hit by a dangerous new Android malware with extra DNS hacks

7 Best Ways To Fix DistributedCOM Error In Windows

12 Easy Fixes For Webcam Not Working In Windows

OTHER TECH NEWS

Top Car News Car News