Windows 7 gets error when used to copy files to or from a Linux computer
#1
When I use a Windows 7 computer to copy files to and from a Linux Mint server that is configured through Samba, an error message appears in the middle of the operation of files. It looks like this:

[Image: fe2c243f122f5a07eaa71dff22e388ea2ede4d9b.jpg]

Sometimes it's there, sometimes the files copy perfectly without that message. Prediction of whenever it comes is guesswork.

I have tried the following, but is met with little success:

1. Do a clean reinstall of Windows 7 on the Windows 7 computer that is doing the copying.
2. Mapping the Linux share that is being copied to/from.

Surprisingly, I had experienced nothing of the kind when I use Linux Mint 20.1 to copying to/from the the Windows machine, that is, when I using the computer that has Mint on.

Are there other things I should try? Let me know.

Thanks!

EDIT: Oh, I am using MATE.

EDIT: I should also point out that I used caja-share to select the files to share and in doing so smb.conf does not add that information here, so that is why I didn't add the information to the copy pasta in the below data.

My system information:
Code:
System:    Kernel: 5.4.0-74-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: MATE 1.24.0
          wm: marco dm: LightDM Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal
Machine:  Type: Desktop System: Hewlett-Packard product: HP Compaq 6005 Pro SFF PC v: N/A
          serial: <filter> Chassis: type: 4 serial: <filter>
          Mobo: Hewlett-Packard model: 3047h serial: <filter> BIOS: Hewlett-Packard
          v: 786G6 v01.15 date: 08/02/2011
CPU:      Topology: Triple Core model: AMD Phenom II X3 B75 bits: 64 type: MCP arch: K10 rev: 3
          L2 cache: 1536 KiB
          flags: lm nx pae sse sse2 sse3 sse4a svm bogomips: 17954
          Speed: 1800 MHz min/max: 800/3000 MHz Core speeds (MHz): 1: 1800 2: 2300 3: 3000
Graphics:  Device-1: AMD RS880 [Radeon HD 4200] vendor: Hewlett-Packard driver: radeon v: kernel
          bus ID: 01:05.0 chip ID: 1002:9710
          Display: x11 server: X.Org 1.20.9 driver: ati,radeon unloaded: fbdev,modesetting,vesa
          compositor: marco resolution: 1920x1080~60Hz
          OpenGL: renderer: AMD RS880 (DRM 2.50.0 / 5.4.0-74-generic LLVM 11.0.0)
          v: 3.3 Mesa 20.2.6 compat-v: 3.0 direct render: Yes
Audio:    Device-1: AMD SBx00 Azalia vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
          bus ID: 00:14.2 chip ID: 1002:4383
          Sound Server: ALSA v: k5.4.0-74-generic
Network:  Device-1: Broadcom and subsidiaries NetXtreme BCM5761 Gigabit Ethernet PCIe
          vendor: Hewlett-Packard driver: tg3 v: 3.137 port: 1100 bus ID: 3f:00.0
          chip ID: 14e4:1681
          IF: enp63s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    Local Storage: total: 232.89 GiB used: 119.92 GiB (51.5%)
          ID-1: /dev/sda vendor: Seagate model: ST250DM000-1BD141 size: 232.89 GiB
          speed: 3.0 Gb/s serial: <filter>
Partition: ID-1: / size: 227.74 GiB used: 119.92 GiB (52.7%) fs: ext4 dev: /dev/sda5
USB:      Hub: 1-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 chip ID: 1d6b:0002
          Hub: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 chip ID: 1d6b:0002
          Device-1: 2-4:3 info: Philips & Lite-ON Digital Solutions Mass Storage Device
          type: Mass Storage driver: usb-storage rev: 2.0 chip ID: 1c6b:a223
          Hub: 3-0:1 info: Full speed (or root) Hub ports: 3 rev: 1.1 chip ID: 1d6b:0001
          Device-2: 3-2:2 info: Xenta 2.4G Wireless Optical Mouse type: Mouse,Keyboard
          driver: hid-generic,usbhid rev: 1.1 chip ID: 1d57:130f
          Hub: 4-0:1 info: Full speed (or root) Hub ports: 3 rev: 1.1 chip ID: 1d6b:0001
          Hub: 5-0:1 info: Full speed (or root) Hub ports: 3 rev: 1.1 chip ID: 1d6b:0001
          Device-3: 5-3:2 info: Elan Micro ActiveJet K-2024 Multimedia Keyboard
          type: Keyboard,HID driver: hid-generic,usbhid rev: 2.0 chip ID: 04f3:0103
          Hub: 6-0:1 info: Full speed (or root) Hub ports: 3 rev: 1.1 chip ID: 1d6b:0001
          Hub: 7-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 chip ID: 1d6b:0001
Sensors:  System Temperatures: cpu: 30.6 C mobo: N/A
          Fan Speeds (RPM): N/A
Info:      Processes: 191 Uptime: 2d 2h 44m Memory: 3.35 GiB used: 1.07 GiB (31.9%) Init: systemd
          v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 8/9 Client: Unknown python3.8 client
          inxi: 3.0.38

Here's what I added to the smb.conf file:
Code:
name resolve order = bcast lmhosts wins
server min protocol = NT1
server max protocol = SMB2
Reply
#2
-Sometimes Win7 lock opened files (for few minutes), so do not open that folders if you planning copy activity.
Reply
#3
Something like this happened to me a while ago when I was copying into a Win7 machine.  It turned out, in my situation, it was a bad LAN driver from when I installed Win7, managed to find a better one and the problem went away.  It would copy for a while and then it would just cease and stop the copy.  Could well be a bad driver in some way, as the machine/s copy from one to another through the network there is an issue with the network driver that messes up the copy and causes it to crash.

Since I went to Win10 I don't seem to have these sort of problems now.  Win7 used to cause all kinds of problems for me, mainly driver issues that didn't work.  Still do have driver issues in present day with Win10 which is mainly through the latest AMD display driver which I raised the awareness about earlier on in this forum.  Other than that Win10 seems to run without hitch, for me that is.
Reply
#4
Well, my computer is so old, the driver is already the latest version on Windows 7. I would use Windows 10, but, again, the computer is too old to upgrade; its hardware is obsolete.

So I guess I have two options: install a VM of a GNU/Linux operating system and facilitate transfers there, or buy another NIC.

Both are favourable, but are also a pain in the neck to set up.

All right RodneyYouPlonker, you've been useful as always. Thanks for the answers.
Reply
#5
It's either a bad driver like I said or it's perhaps a hard drive issue.  I've had those kind of problems in the past worth giving your HDD a good scan and see if there's anything bad happening could be possible a bad sector somewhere on the disk.  I am going to stick with my suggestion simply either driver or HDD fault is my guess I hope this helps.
Reply
#6
Well, like I said, I didn't see that behaviour when I was using other computer (Linux Mint 20.1) to copy the files to/fro the Windows computer, so I think we can rule out bad sectors. I did, however, experience time outs when testing on Linux Mint, but I don't know it's the same thing there.

I'll do more tests.
Reply
#7
Taking a guess:

Check which permissions are set to that file/parent directory and under which user the Samba server from Linux is running. Samba server should run under the same user which owns the files/folders you need to transfer from/to.

Permissions are a headache. If samba doesn't work out I'd host an SSH server as root on linux machine and use Filezilla from windows to transfer them. (SFTP)
Reply
#8
If cifs doesnt work, set up an ftp client/server on both machines. SSH/SFTP can run into permission problems, and I doubt security issues are important for simple file transfers.

Of course there is always Telnet!
Reply
#9
(Jun 15, 2021, 06:49 am)RobertX Wrote: When I use a Windows 7 computer to copy files to and from a Linux Mint server that is configured through Samba, an error message appears in the middle of the operation of files. It looks like this:

[Image: fe2c243f122f5a07eaa71dff22e388ea2ede4d9b.jpg]

Sometimes it's there, sometimes the files copy perfectly without that message. Prediction of whenever it comes is guesswork.

I have tried the following, but is met with little success:

1. Do a clean reinstall of Windows 7 on the Windows 7 computer that is doing the copying.
2. Mapping the Linux share that is being copied to/from.

Surprisingly, I had experienced nothing of the kind when I use Linux Mint 20.1 to copying to/from the the Windows machine, that is, when I using the computer that has Mint on.

Are there other things I should try? Let me know.

Thanks!

EDIT: Oh, I am using MATE.

EDIT: I should also point out that I used caja-share to select the files to share and in doing so smb.conf does not add that information here, so that is why I didn't add the information to the copy pasta in the below data.

My system information:
Code:
System:    Kernel: 5.4.0-74-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: MATE 1.24.0
          wm: marco dm: LightDM Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal
Machine:  Type: Desktop System: Hewlett-Packard product: HP Compaq 6005 Pro SFF PC v: N/A
          serial: <filter> Chassis: type: 4 serial: <filter>
          Mobo: Hewlett-Packard model: 3047h serial: <filter> BIOS: Hewlett-Packard
          v: 786G6 v01.15 date: 08/02/2011
CPU:      Topology: Triple Core model: AMD Phenom II X3 B75 bits: 64 type: MCP arch: K10 rev: 3
          L2 cache: 1536 KiB
          flags: lm nx pae sse sse2 sse3 sse4a svm bogomips: 17954
          Speed: 1800 MHz min/max: 800/3000 MHz Core speeds (MHz): 1: 1800 2: 2300 3: 3000
Graphics:  Device-1: AMD RS880 [Radeon HD 4200] vendor: Hewlett-Packard driver: radeon v: kernel
          bus ID: 01:05.0 chip ID: 1002:9710
          Display: x11 server: X.Org 1.20.9 driver: ati,radeon unloaded: fbdev,modesetting,vesa
          compositor: marco resolution: 1920x1080~60Hz
          OpenGL: renderer: AMD RS880 (DRM 2.50.0 / 5.4.0-74-generic LLVM 11.0.0)
          v: 3.3 Mesa 20.2.6 compat-v: 3.0 direct render: Yes
Audio:    Device-1: AMD SBx00 Azalia vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
          bus ID: 00:14.2 chip ID: 1002:4383
          Sound Server: ALSA v: k5.4.0-74-generic
Network:  Device-1: Broadcom and subsidiaries NetXtreme BCM5761 Gigabit Ethernet PCIe
          vendor: Hewlett-Packard driver: tg3 v: 3.137 port: 1100 bus ID: 3f:00.0
          chip ID: 14e4:1681
          IF: enp63s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    Local Storage: total: 232.89 GiB used: 119.92 GiB (51.5%)
          ID-1: /dev/sda vendor: Seagate model: ST250DM000-1BD141 size: 232.89 GiB
          speed: 3.0 Gb/s serial: <filter>
Partition: ID-1: / size: 227.74 GiB used: 119.92 GiB (52.7%) fs: ext4 dev: /dev/sda5
USB:      Hub: 1-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 chip ID: 1d6b:0002
          Hub: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 chip ID: 1d6b:0002
          Device-1: 2-4:3 info: Philips & Lite-ON Digital Solutions Mass Storage Device
          type: Mass Storage driver: usb-storage rev: 2.0 chip ID: 1c6b:a223
          Hub: 3-0:1 info: Full speed (or root) Hub ports: 3 rev: 1.1 chip ID: 1d6b:0001
          Device-2: 3-2:2 info: Xenta 2.4G Wireless Optical Mouse type: Mouse,Keyboard
          driver: hid-generic,usbhid rev: 1.1 chip ID: 1d57:130f
          Hub: 4-0:1 info: Full speed (or root) Hub ports: 3 rev: 1.1 chip ID: 1d6b:0001
          Hub: 5-0:1 info: Full speed (or root) Hub ports: 3 rev: 1.1 chip ID: 1d6b:0001
          Device-3: 5-3:2 info: Elan Micro ActiveJet K-2024 Multimedia Keyboard
          type: Keyboard,HID driver: hid-generic,usbhid rev: 2.0 chip ID: 04f3:0103
          Hub: 6-0:1 info: Full speed (or root) Hub ports: 3 rev: 1.1 chip ID: 1d6b:0001
          Hub: 7-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 chip ID: 1d6b:0001
Sensors:  System Temperatures: cpu: 30.6 C mobo: N/A
          Fan Speeds (RPM): N/A
Info:      Processes: 191 Uptime: 2d 2h 44m Memory: 3.35 GiB used: 1.07 GiB (31.9%) Init: systemd
          v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 8/9 Client: Unknown python3.8 client
          inxi: 3.0.38

Here's what I added to the smb.conf file:
Code:
name resolve order = bcast lmhosts wins
server min protocol = NT1
server max protocol = SMB2
FYI, NTFS & EXT4 have different file naming restriction as NTFS is more restricted.
I'm having similar problem when backing up my workstations that are using Linux Mint while accessing my external HDD with Win 10.
Mostly my employees accidentally added a space behind the filename & Win 10 can't understand it thus error copying occurred.
Sometimes my employees put ":" or other symbols that are restricted in NTFS...and the error resurface.
Just check the filename first & make sure it uses the NTFS naming convention. Smile
Reply
#10
Thanks guys.

I seem to have found a "patch-up" or a "workaround."

No, there was no .exe fix that I can find; I meant that I used another method: just use a GNU/Linux VM and copy files from there, namely Linux Mint 17.3.

Of course, with Moe's advice, I made sure that the guest OS wasn't connected to the Internet by leaving the gateway IP blank. The files will still copy, but it will be a little more secure. I don't profess to know if Moe's suggestion is 100% promising, but it seems that way; I trust he's not lying or not reliable. Thanks Moe.

Thanks guys. It's slow, but I have all the time in the world. I will consider your other recommendations if I get pissed off about how slow it is.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Windows 11 computer cannot access other computers in the network, giving a 0x80004005 RobertX 2 2,291 Oct 03, 2024, 21:02 pm
Last Post: RobertX
  Converting movies to DVD files using ConvertXtoDVD: Temperature too high? RobertX 7 9,991 Oct 13, 2023, 10:26 am
Last Post: rezwaki
  Windows 11 and Windows 10 computers can't see each other or accessed by the other OS RobertX 7 11,435 Dec 15, 2022, 04:45 am
Last Post: RodneyYouPlonker
  >> Computer turn off computerhack 41 45,429 Sep 26, 2022, 07:06 am
Last Post: computerhack
  Trouble Connecting to a Windows 7 Printer using Linux Mint 20 RobertX 8 28,267 Feb 21, 2022, 03:55 am
Last Post: RobertX



Users browsing this thread: 1 Guest(s)