Ensure that the ADMIN$ Share Is Active
Note: By default, the ADMIN$ share is automatically created when the Server service starts. However, this behavior may be disabled if the AutoShareServer value is set to 0 in the HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters key.
Connect to the Windows machine that is failing to rescan and check in Computer Management under Shared Folders > Shares to see if the ADMIN$ share entry is present.
Or use PowerShell to check: