Fix it now
0xC00000CC is STATUS_BAD_NETWORK_NAME, which the SMB protocol documentation maps to an invalid name in the tree connect. The device authenticated and then asked for something the server does not publish. That is a naming problem, not a permissions problem, and the usual cause is a path in a field that only takes a share name.
Get-SmbShare | Select-Object Name,Path
Get-SmbSession | Select-Object ClientComputerName,ClientUserName,Dialect
Get-SmbServerConfiguration | Select-Object EnableSMB1Protocol,EnableSMB2Protocol
- Compare the share name the first command returns with the one configured on the device. Put only the top-level share name in the device’s share field, and any subfolder in its separate path or directory field.
- Create a dedicated local account for the device in Computer Management, Local Users and Groups. Set the password not to expire and clear the requirement to change it at next logon.
- Grant that account Change on the share and Modify on the folder, and nothing else.
- In the device’s address book entry, use the machine’s IP address as the host and the account in the form the device expects, normally MACHINENAME backslash user for a local account.
- Send a one-page test scan from the device’s own send button, then run the second command while it is in flight to see the dialect it negotiated.
Do not fix this by re-enabling SMB1. A copier is one of the least monitored devices on your network, and firmware, a newer device or scan-to-email are all better answers.
If a file lands in the folder you are done. If not, the next section covers what the device is actually asking for and where the request is failing.
Why it happens
Scan to folder is an SMB write. The device resolves your host, opens a session, authenticates, connects to a share by name, then creates a file inside it. The status you are looking at is returned at the share connect step, which is what makes it useful: authentication has already succeeded, so credentials are not the problem. Microsoft’s SMB documentation maps STATUS_BAD_NETWORK_NAME to an invalid name in the tree connect, so what the device asked for does not exist on that server under that name.
The most common reason is that the device sent a whole path where a share name belongs. If your share is called scans and the folder beneath it is reception, the share is scans and reception belongs in the device’s path or subdirectory field. Devices differ in how they split those fields and some prepend or append backslashes on their own, so a configuration that looks right on the panel can produce a tree connect for a share that was never published.
The other structural reason is dialect. SMB1 is not installed by default on current Windows, and a device whose firmware only speaks it fails at or just after session setup rather than at the share. Get-SmbSession tells you what it negotiated while it is connected, which beats reasoning about firmware versions.
Of the companions, one is documented and two are not. 0xC000006E is STATUS_ACCOUNT_RESTRICTION: the user name and authentication information are valid, and an account restriction prevented authentication. 0xC00000BE and 0xC0000388 appear in the same traces with no published meaning, so treat them as prompts to test the host and the dialect.
The share name field contains a path
You have this one if The device’s configuration shows something like scans then a backslash then reception in the share field.
- Put only the top-level share name in the share field.
- Put any subfolder in the device’s separate path or directory field. If it has no such field, share the subfolder directly instead.
- Confirm what the machine publishes with
Get-SmbShare | Select-Object Name,Path. - Retest with the device pointed at the top-level share and no subfolder at all, then add the subfolder back.
Some devices add backslashes automatically. If the field already shows a leading backslash, do not type another one.
The device only speaks a dialect the server no longer offers
You have this one if Other machines reach the same share, the device fails immediately, and its firmware is several years old.
- Check the device’s own settings for an SMB version selector and set it to the newest it supports.
- Apply current firmware from the device manufacturer. SMB2 support arrived on most business copiers through firmware rather than new hardware.
- Confirm what the server offers with
Get-SmbServerConfiguration | Select-Object EnableSMB1Protocol,EnableSMB2Protocol. - If the device genuinely cannot do better than SMB1, plan its replacement or move it to scan-to-email rather than re-enabling SMB1.
The account the device uses is restricted
You have this one if 0xC000006E, and the account works interactively but not for the device.
- Clear the change-at-next-logon requirement and set the password not to expire on the dedicated scan account.
- Check for logon hour restrictions or a workstation restriction on the account.
- Confirm no policy denies network logon to the group the account is in.
- Give the account nothing beyond write access to the scan folder. It does not need interactive logon rights.
Use a dedicated account rather than a person’s. A scan target that breaks every ninety days because somebody changed their password is a ticket you will keep receiving.
The device cannot reach the host at all
You have this one if 0xC00000BE, or the device works when you enter an address and fails when you enter a name.
- Enter the IP address in the device’s configuration and give the Windows machine a DHCP reservation or a static address.
- If you need a name, use the fully qualified one and confirm the device has a DNS server configured that can resolve it.
- Do not rely on NetBIOS name resolution. It is unreliable across subnets and disabled on many networks.
Anonymous or guest access is being attempted
You have this one if The device has no credentials configured, or blank ones, and nothing appears in the Security log except a rejected logon.
- Configure real credentials on the device. Guest access to SMB shares is off by default on current Windows and should stay off.
- Confirm the account and machine name are entered in the form the device expects, usually MACHINE backslash user for a local account and DOMAIN backslash user for a domain one.
- Watch the Security log on the target while you test, so you see the logon attempt arrive and read why it was refused.
Full reference
The four statuses and what is actually published
| Status | What Microsoft publishes |
|---|---|
0xC00000CC |
STATUS_BAD_NETWORK_NAME, mapped in the SMB documentation to an invalid name in the tree connect |
0xC00000BE |
Nothing reachable. It appears in SMB client traces where the path itself could not be used |
0xC000006E |
STATUS_ACCOUNT_RESTRICTION: the user name and authentication information are valid, but an account restriction prevented authentication |
0xC0000388 |
Nothing reachable. It appears alongside failed session setups; use the dialect check rather than the number |
The two blanks are not a failure of diagnosis. Where a status has no published meaning you diagnose by position in the exchange: 0xC00000CC arrives at the share connect, so authentication is already done; anything that fails before that is a session setup problem, which is where dialect and credentials live. That ordering is more reliable than a definition anyway.
Building a scan target that keeps working
- Create a folder on a machine that stays on, and share it with a short, lower-case, single-word share name.
- Create a dedicated local account for the device. Password never expires, no change at next logon, no interactive rights.
- Grant that account Change on the share and Modify on the folder. Nothing else needs access.
- Give the host a reserved or static address and put that address in the device rather than a name.
- Send a test scan, then check the file opens and is not zero length, which catches a write that started and stopped.
What the dialect check tells you
| What you see | What it means |
|---|---|
Get-SmbSession shows the device with a modern dialect |
The transport is fine; the fault is naming or permissions |
| No session appears at all while the device is trying | It is failing before or during session setup, so look at credentials and dialect |
| EnableSMB1Protocol is False and the device needs it | Firmware, replacement or scan-to-email, in that order |
| The session appears and disappears immediately | Authentication succeeded and something after it refused – usually the share name |
Why Explorer works and the copier does not
Explorer negotiates a modern dialect, resolves names through several fallbacks, forgives formatting in the path and retries in ways you never see. The device does none of that. It sends one string, in one form, and accepts one answer. That is why a share path you can open by hand proves almost nothing about what the device will do with it, and why the test that matters is a scan from the device’s own send button rather than a simulation from its web interface.
Re-enabling SMB1 to make a copier work removes a protection from the whole machine, not just from that one connection. If the device is genuinely limited to it, the honest options are firmware, a different scan target, scan-to-email, or replacing the device.
When the share, the account and the dialect all check out
- Check the folder’s own permissions as well as the share’s. Change on the share and no Modify on the folder produces a failure at the write rather than at the connect.
- Check for a file naming collision. Some devices overwrite and some fail, and a device that fails looks like a permissions problem.
- Check free space on the target. A device with no useful error surface reports a full disk as a generic failure.
- Check whether an endpoint security product is scanning the folder and locking files as they arrive.
- Check the device’s own log. Business copiers keep one, and it usually names the step that failed more precisely than the panel does.
When a licence is the actual fix
Most scan-to-folder faults are a wrong share name or an old dialect on the device, and both are free to correct, so do that first. There is a version of this that configuration will not solve: the scan target is an old machine kept alive purely because it still speaks a dialect the copier understands, and it no longer receives security updates. The durable fix there is a supported host for the scan share, with a dedicated service account and file permissions you can audit. Windows Server 2022 Standard is a straightforward choice, and Arco can supply it with the client access licences your user count needs. Be clear that it is not the only route: a supported Windows Pro workstation that stays on, a current NAS, or the device’s own scan-to-email function are all legitimate targets and cost nothing extra if you already have them.
Every code this article covers
| Code | What it points at | Source |
|---|---|---|
0xC00000CC |
STATUS_BAD_NETWORK_NAME. Microsoft’s SMB error documentation maps it to an invalid name in the tree connect, so the device asked for a share the server does not publish under that name | Microsoft Learn |
0xC00000BE |
Seen in SMB client traces where the path could not be used. Microsoft publishes no plain-language meaning in a reachable table, so test the host and its address rather than reading the number | not published by the vendor |
0xC000006E |
STATUS_ACCOUNT_RESTRICTION: the user name and authentication information are valid, but some account restriction prevented successful authentication | Microsoft Learn |
0xC0000388 |
Seen alongside failed SMB session setups. Microsoft publishes no plain-language meaning in a reachable table; use the dialect check on both ends instead | not published by the vendor |
Confirm the fix worked
- Send a test scan from the device and confirm a file appears in the folder with a current timestamp.
- Run
Get-SmbSessionon the host while the scan is in flight and confirm the device appears with a modern dialect. - Open the file and confirm it is complete and readable, not a zero-length placeholder.
- Confirm the scan account’s password is set not to expire, so the target does not break in ninety days.
- Reboot the host and send a second scan, to confirm the share and the account survive a restart.
Questions people ask about this
Do I have to buy a server to fix this?
No. Most of these are a wrong share name or an old SMB dialect on the device, and both are free to correct. A server licence becomes the honest answer only when the machine hosting the share is out of support and is being kept alive for this one job.
Why does File Explorer reach the share when the copier cannot?
Explorer negotiates a modern dialect, resolves names through several fallbacks and forgives formatting in the path. The device sends one string and accepts one answer, which is why a path you can open by hand proves very little.
Should the scan folder be on a workstation or a server?
A server if the scans matter and the machine must be on all the time. A workstation is fine for a small office, provided it is not shut down at night and somebody owns its backups.
Is scan-to-email a reasonable substitute?
For low volumes, yes, and it avoids SMB entirely. Watch attachment size limits and check whether your mail platform will accept authenticated submission from the device, since anonymous relay is rarely available now.
The status codes are not all documented. How do I diagnose without them?
By position in the exchange. 0xC00000CC arrives after authentication, at the share connect, so credentials are already proven and the name is the suspect. Anything failing earlier is session setup, which is dialect and credentials. That ordering is more dependable than a definition.
