Hi, sorry.  I tried to open C:\WhatsNew.txt, opened empty file and had this error in debug buffer:
 
22:20:13.193126 tramp-handle-insert-file-contents (1) # File is missing: File ‘/smb:nicolas@win2k:/C$/WhatsNew.txt’ not found on remote host
 
Full buffer:
https://drive.google.com/file/d/1C9aPDWczkhbpedtpDnwY4YWakr5_5hfW/view?usp=sharing
 
 
15.09.2021, 21:56, "Michael Albinus" <michael.albinus@gmx.de>:

Bad Blue Bull <ibmbull@yandex.ru> writes:

Hi,
 

 First, why does Tramp always ask me the password (which is empty)
 despite I always save it to ~/.authinfo?
 I have there many lines of this:
 machine win2k login nicolas port smb


Don't know, but could we face one problem after the other?
 

 Could you, just for test, work only at one share after you have
 connected to the
 Windows server
 Sorry, as I just discovered problem is not only with dired but with
 usual c-x c-f (wih ido completion)


I haven't spoken about dired, Tramp doesn't know even that it is called
from a dired buffer. Tramp is just a simple library, which replaces the
implementation of basic Lisp file functions (like `file-exists-p' or
`copy-file') with something else. Whether these functions are called
from dired or ido or whatever package doesn't matter for Tramp.
 

 here I tried to walk into C:\Mags: (completion list for Mags was
 empty)
 ----------
  
 21:28:42.250425 tramp-process-one-action (5) # Looking for regexp "\
 (\)\'" from remote shell
 21:28:42.250498 tramp-process-one-action (5) # Call
 ‘tramp-action-process-alive’
 21:28:42.250604 tramp-process-one-action (5) # Looking for regexp "\
 (^\(smb:\|PS\) .+> \|^\s-+Server\s-+Comment$\)\'" from remote shell
 21:28:42.250678 tramp-process-one-action (5) # Call
 ‘tramp-action-succeed’
 21:28:42.250754 tramp-process-actions (6) #
 Enter WORKGROUP\nicolas's password:
 Try "help" to get a list of possible commands.
 smb: \>
 21:28:42.250952 tramp-smb-maybe-open-connection (3) # Opening
 connection for //nicolas@win2k/C$...done
 21:28:42.251024 tramp-smb-send-command (6) # dir "\*"
 21:28:42.253268 tramp-smb-wait-for-output (6) #
   arcldr.exe AHSR 150528 Thu Jun 19 13:05:04
 2003
   arcsetup.exe AHSR 163840 Thu Jun 19 13:05:04
 2003
   AUTOEXEC.BAT H 0 Sat Aug 7 11:51:22
 2021
   boot.ini HS 196 Sat Aug 7 11:45:37
 2021
   Bootfont.bin AHSR 4438 Thu Jun 21 04:00:00
 2001
   CONFIG.SYS H 0 Sat Aug 7 11:51:22
 2021
   Documents and Settings DA 0 Sun Aug 22 11:23:12
 2021
   Downloads D 0 Sat Aug 7 19:01:48
 2021
   Inetpub D 0 Sat Aug 28 03:36:06
 2021
   IO.SYS AHSR 0 Sat Aug 7 11:51:22
 2021
   ket D 0 Sun Sep 5 15:51:29
 2021
   Mags D 0 Sat Sep 4 15:53:38
 2021
   MSDOS.SYS AHSR 0 Sat Aug 7 11:51:22
 2021
   NTDETECT.COM AHSR 34724 Thu Jun 19 13:05:04
 2003
   ntldr AHSR 215520 Thu Jun 19 13:05:04
 2003
   pagefile.sys AHS 805306368 Wed Sep 15 21:15:15
 2021
   Program Files DAR 0 Sat Sep 4 15:39:11
 2021
   pub DA 0 Sat Aug 28 03:46:23
 2021
   RECYCLER DHS 0 Fri Aug 20 19:59:46
 2021
   src D 0 Sat Aug 28 02:16:40
 2021
   System Volume Information DHS 0 Sat Aug 7 12:05:17
 2021
   TAE D 0 Wed Sep 8 00:21:02
 2021
   TASM4 D 0 Wed Sep 8 00:21:02
 2021
   TASM5 D 0 Wed Sep 8 00:21:04
 2021
   TASMED D 0 Wed Sep 8 00:21:42
 2021
   TEditAsm4 D 0 Wed Sep 8 00:21:05
 2021
   TOOLS D 0 Wed Sep 8 00:21:05
 2021
   TSHELL D 0 Wed Sep 8 00:21:05
 2021
   TURBO_SHELL D 0 Wed Sep 8 00:21:05
 2021
   WASM1 D 0 Wed Sep 8 00:21:06
 2021
   WINNT DA 0 Sat Aug 28 03:36:34
 2021
  
         2873618 blocks of size 4096. 2330988 blocks available
 smb: \> smb: \>


Neither I understand what you want to tell me, nor is it helpful to see
trace buffer fragments only.

Have you tried the scenario I have asked for? Start a new Emacs
instance, connect only to a single share (be it C$), and navigate only
in this share.

Does this work smoothly? If not, pls send me the whole trace buffer of
this test.

Best regards, Michael.