Misc                                  
*     Microsoft Stuff  
  1/15/21   Misc  
                                     
   
  Home Windows Memory Diagnostic Windows key + R
  How To's sfc  /scannow services.msc
  Misc chkdsk  E:  /F geolocation services right-click properties
  Networking WinDirSp disabled to Automatic
  Windows save/apply/close
  Glossary
  Excell gpedit.msc
  Examples Run > sysdm.cpl > General Tab 
  Outlook Start Menu > All programs > Accessories > folder > system tools  folder > system information
  Paint Shop Pro Settings > System > System Update > Check Now
  Skype
    netsh int ip show global https://social.technet.microsoft.com/Forums/windows/en-US/11f57e00-6e46-4bda-aff7-7b923d10f355/windows-7-mapped-drive-latency-with-slow-green-progress-bar-and-red-x-in-explorer?forum=w7itpronetworking
    netsh interface tcp set global autotuninglevel=disabled https://social.technet.microsoft.com/forums/windows/en-us/4537c7b6-9761-41c5-8b47-0ecb831c8575/why-is-windows-7-so-slow-in-copying-network-files
   
    You may experience poor file copy performance over the network in Windows 7 PCs.          
     This could be caused by the Windows “Remote Differential Compression” engine.   
    Remote Differential Compression is a Windows feature introduced in Windows Server 2003 and is available on all later versions of Windows. 
    This Windows feature is enabled by default in Windows 7.  
       
    To disable Remote Differential Compression,  
    1. Click Start – Control Panel – Programs – Trun Windows features on or off  
    2. Uncheck “Remote Differential Compression” and click OK.  
    3. Restart the computer and you should see an improved performance with copying files.        
   
    How to Disable TCP AutoTuning and Receive Side Scaling      
    Open an elevated command prompt with administrator rights.  
    Type the following commands and press Enter (the second command on RSS is optional):
    netsh interface tcp set global autotuninglevel=disabled  
    netsh interface tcp set global rss=disabled  
    Reboot computer              
   
    Solution that worked for me:                                      
    1) Disable the RDC Feature - no change  
    2) Set Registry for LANMAN - DisableBandwidth Throlling - no change  
    3) netsh int ip set global taskoffload=disabled - no change after disable/enable network card from article - http://www.windowsreference.com/windows-vista/slow-network-copy-and-connection-drops-in-windows-7/
    4) disable power management in device manager for network card  
    5) Reboot  
6) Copy speeds jumped up to 10mb+ per sec  
                                           
THE FIX:                 
1. Go to device manager  
2. Right click on Network Adapter and click properties  
3. Click Advanced TAB.  
4. Click on Speed & Duplex. Change from Auto negotiation to 1Gbps Full Duplex.  
5. Change Allow this Device to turn off to save power UNDER Power management  
6. Reboot.  
That should fix it.. Im going to tinker with the settings to see if i can get it going faster
   
Ok.. Heres the FIX that will DRAMATICALLY speed it up.            
Go to Device manager > Network Adapter properties > Advanced Tab  
Than Click ON Jumbo Frame.. Set it to 9KB MTU  ( or as high as your router and switch supports).  
If your router and switch supports a Jumbo frame of 9000.. You have to set it to that too  
 If they do not support that high of a MTU, then set it as high as they both support.  
Windows Defaults to 0 MTU but your router generally supports at least 1500 mtu and more. 1500 MTU is generally default.
                       
After further trials, I turned off IPv6 matters as I show below.         
  Open NIC property and check out "Internet Protocol Version 6 (TCP/IPv6)" in "Network" tab.
  Click "OK" to save the cange.  
  Open NIC property again then click "Config" button.  
  Click "Advanced Setting" tab (2nd left tab) and turn the following property value to "OFF":
  TCP Check-sum Offload (IPv6)  
  UDP Check-sum Offload (IPv6)  
  Large Send Offload (LSO) v2 (IPv6)  
  Click "OK" to save the changes.  
  Reboot the updated system.  
I set "Jumbo Frame" to 9K but other NIC values are defaults.     
After finished the update and reboot, I tried to copy files among PCs.  
 I got very fast copy speed, appx. 100MB/sec through 30MB/sec., for any direction.   
 And it still works fine for me.  
                   
Just in case this helps anyone, I seemed to be having a similar problem.                            
 I was running Win7Ult64 on my desktop, copying files just fine to my Windows Home Server.    
 I rebuilt my desktop to migrate to an SSD and everything was working fine except that large file copies to my server would fail randomly.  
However, if I RDPd into my server, I could pull the files that way without a problem  
That ruled out a lot of possible problems.  
Here's what fixed it:  
 I had created a Homegroup from my desktop before I rebuilt it, and that was the group that my new build joined,  even though the originating computer no longer existed (I gave the new build a new PC name). 
 I thought that was suspicious, so I removed all of my computers from that Homegroup, created a new one from the new build, joined all of the other computers to that new Homegroup, and voila - no more problems.
It's a niche case, but maybe it will help someone else.                              
Okay - my case is solved - installing new drivers and setting link speed to "auto-negotiation" helped.        
Auto-negotiation is setting my link to 100Mbit Full-Duplex. When I was setting that manually my problem, slow transfers locally, was comming back.
Did all the other config changes mentioned; played with jumbo packets, change the remote differential compression, et al, none made any difference.      
I dropped my NIC speed on my Win7 box down to 100Mbit FD. My server I set to 100Mbit Auto-neg.   
My transfer rates increased, (I tested copying a small bunch of files of various sizes,) from at most 207kbit/sec  to over 6MB (I noticed the fastest jumped to around 20MB.)   
Copy time went from well over 5 mins to less than 15 seconds!   
Put it back to 1Gbit, slooooow again. I can recreate the issue again and again.  
I've had it @ 100MBit FD for around a week now and I've tested the same copy operation nearly every day and I'm still enjoying the faster transfer rates (not stratospheric I know but still better than before.)
I am not bothering to do all of the permutations, but as you can see from above this is not a network issue (120kb/sec one way, but 11.5MB the other? -- give me a break). This is not a network card issue.
 This issue is CLEARLY isolated to the CSG-WS1/Win7 machine. I have tried all of the ideas posted above and not a single one has worked over the past 8 months.  
I've seen this situation many times over the years (22 years in the business) and it's almost always been down to duplexing issues.  
I've seen this on buget equipment and high end Cisco and Juniper kit. The basics are that the client PC sets its duplexing to one value whilst the switch sets it's duplexing value to another value.
 The result is that transfers one way are slow but transferring the other way is fast.  
My recomendation is to manually set the duplex to either half or full duplex on all PC's and on each port on the switch, as long as they all are the same it will be fine.   
Let me re-itterate, you WILL need to set the duplex setting manually on the switch as well.                    
Post  by                 ---------> Edited by Gubbe1 Monday, January 10, 2011 3:06 PM Formatting failure
I should have tried this!  My new laptop that I'm moving things to is a windows XP (work still uses XP), but it has a gig network interface.  It was hard coded to 100 mb/full duplex, which matches my switch.  
Many GB network adapters don't work properly (wrong duplex, etc. which makes network slow) with that hard coded.  I changed mine to "Auto Detect" and that resolved the problem.
Windows XP machine with GB nic -> Network Connections, right mouse on Local Area Connection -> Properties -> Configure... button -> Advanced Tab -> Property: Link Speed & Duplex,  Value: (change to) Auto Detect
I don't believe I required a reboot, but you might.                                
Copy Server -> XP (poll from XP desktop) better than 2 min as expected              
Copy Server -> Win7 (poll from Win7 desktop) 18 min  
Win 7 network speed was set to Auto Negotiation, but the display was 10 MBit only, an explanation for the slow transmission
Next I set the speed to 100MBit manually and - o wonder - the transmission took 1 hour!  
After reboot it was 2 hours 40 min.  
I set the speed back to Auto Negotiation and copied the file within 1 min.  
After reboot it was still 1 min, but what will be tomorrow?  
It looks like there was a parameter fixed when network speed was switched forth and back, but I have no idea whitch parameter it is.
By disabling the "Large Send Offload" options for my Broadcom Netlink Gigabit Ethernet, the problematic file transfers went from 15 minutes to 2 seconds, and my problem is solved.
Disable IPv6 protocol in your network adapter settings . That's all. No other tweaks were required. Now file transfers between PC's with Win7 reaches 70 MB/s.
So far I have tried:
Disabled RDC
Updating to the latest network card drivers.
Disable TCP AutoTuning and Receive Side Scaling.
Turn off the Windows 7 Homegroup
Dissable IPv6.
Set Speed and duplex to 100Mbps full duplex manually
Set the SMB buffer size to various values.
Turned off ALL Task Offload settings on the network adapter.
(My network card does not have a Jumbo frame setting)
I've now tried 3 different 100Mb switches and hubs, all have the same problem, ie only transfereing data from Windows 7 to windows XP at about 0.2Mbytes/sec.
I then tried 2 different 10Mb hubs, and with a 10Mb hub it transferes at just over 1.1 MBytes/s which is almost 100% utilisation !  
So now I've gone back to my 100Mb switch, but set the windows 7 computer's network card to 10Mb, and it works fine at 1.1MBytes/s.  
(If I set the network card to 100Mb or auto, it drops down to 0.2Mbytes/s. again)  
It's not a great solution, but it's 5 times faster than what I was getting.  
                               
Troubleshooting:
I've tried all of the suggestions in this thread as well as others I've found on the net and have not found a solution/fix.
I have been using the same test file for which is a folder consisting of 139 files for a total of 6.5gb.  
Below is a list of the troubleshooting items I've completed so far.
1.  Replace Cat5e cables on Win7 and XP boxes - no improvement
2.  Disconnect all cables from switch except for Win7 and XP – no improvement
3.  Copy file to another HDD on XP box – no improvement
4.  Remove all cables from switch (including Win7 and XP) and reconnect just Win7 and XP, forcing router to reassign IP addresses – no improvement
5.  Changed ports on switch for both Win7 and XP – no improvement
6.  Turn off antivirus on both machines – no improvement
7.  Plug only Win7 and XP box into Actiontec router, taking switch out of equation – no improvement
8.  Update Win7 and XP NIC drivers to latest available – no improvement
9.  Force full duplex, 1000 speed on both machines – no improvement
10.  Install CableNut software on XP box to optimize Stack settings – no improvement
11.  Remove router uplink from switch; remove all Cat5e cables from switch except for Win7 and XP; set static IP’s in both machines – no improvement
12.  Disable auto tuning and receive side scaling on Win7 box – no improvement
13.  Turn off Remote Differential Compression on Win7 box – no improvement
14.  Install 8gb new memory, certified compatible; ran MemTest on each stick and again with all 8gbs installed and no errors reported – no improvement
15.  Updated to latest MB Bios – no improvement
16.  Ran copy command in DOS prompt – no improvement
17.  Disabled Large Send Offload in NIC properties – no improvement
18.  Unchecked IPv6 in network properties – no improvement
19.  Confirmed not on “homegroup” and disabled feature altogether – no improvement
20.  Turned off all power save options related to NIC on both machines – no improvement
21.  Formatted both Win7 and XP and did clean reinstall of operating systems and bare essential drivers – no improvement.
22.  Uninstalled all Win7 critical updates – no improvement.
23.  Tested while machines running in Safe Mode w/networking – THIS IS WHERE IT GETS INTERESTING!!!  XP to Win7 transfer rates were consistent at ~50mb/sec.  What’s interesting is the Win7 to XP transfer rates as illustrated below.
            a.         Both machines in safe mode:  ~15mb/sec, 10-15% network utilization AND ALL FILES COPIED (INCLUDING LARGE 1GB FILES).
            b.         XP safe mode and Win7 normal operating mode:  ~22mb/sec, 18-20% network utilization AND ALL FILES COPIED (INCLUDING LARGE 1GB FILES).  Slightly better performance but still nowhere near speed copying in the opposite direction.
            c.          Win7 safe mode and XP normal operating mode:  7-8mb/sec, 6-7% network utilization AND ALL FILES COPIED (INCLUDING LARGE 1GB FILES).
            d.         Both machines in normal operating mode:  Same issue as stated above and only small files are copied.
I’m hoping someone here might be able to make heads/tails of the safe mode tests and what a logical next step might be. 
 I've searched the internet and found plenty of posts from other Win7 users being unable to copy large files to XP across a network,
but haven't found a real solution or explanation of what is causing the problem.  
 I've also read somewhere the problem may be an issue in networking a 64-bit and 32-bit operating system together.
  Anyone have thoughts/comments on that theory?  I'm looking forward to Microsoft finally admitting there is an issue and offering a solution!!!! 
UPDATE TO PREVIOUS POST:  Continued troubleshooting as follows.
24.  Installed Windows Resource Kit for Server2003 (www.windows-it.tk • View topic - Windows 7 Share Problems) - no improvement
25.  Hardlined MCE laptop to network and test file transfer pushing from Win7 box to MCE laptop – no improvement
26.  Copy file across network from XP box to hardlined MCE laptop, initiating copy from Win7 box – no improvement
27.  Connect MCE laptop to network via wireless ‘G’ and test file transfer pushing from Win7 box – ALL 139 FILES ARE COPIED (INCLUDING LARGE 1GB FILES).  Since the copy was performed across the wireless network, transfer speeds were a dismal 2.6-2.7mb/sec and took close to 45 minutes, BUT the entire folder and all of its contents transferred successfully.
28.  Copy file from MCE laptop (wireless ‘G’ connection) to XP box, initiating copy from Win7 box – ALL 139 FILES ARE COPIED (INCLUDING LARGE 1GB FILES).  Since the copy was performed across the wireless network, transfer speeds were a dismal 2.6-2.7mb/sec and took close to 45 minutes, BUT the entire folder and all of its contents transferred successfully.
29.  Adjusted the following settings on Win7 box (SpeedGuide.net :: Windows 7, Vista, 2008 Tweaks):  a)  Disable windows scaling hueristics, b) disable auto tuning (previously done in step #12), c) set congestion provider to ctcp, d) enable ecn capability (first ran internet connectivity evaluation tool and achieved successful results across the board), e) enable RSS, f) enable TCP Chimney Offload, g) enable direct cache access, h) enable netdma.  I left all other settings unchanged. - FILES SUCCESSFULLY COPIED FROM WIN7 TO XP BOX AT ~40-45mb/sec!!!!
30.  I needed to confirm which parameter adjustment fixed the problem, so one-by-one I changed each of the above parameters in step #28 back to the original setting...testing the file transfer after each change.  Strangely enough, there was no impact on the file copying from Win7 to the XP box!  It still worked!!!  I continued to try copying the large files and it seemed as though the transfer speed decreased with each attempt.  Initially was 40-45mb/sec...then around 35mb/sec and then seemed to level off at about 22mb/sec. 
31.  I then changed all of the TCP Global Parameter settings back to the original settings (basically the starting point of step #28.  This time only the first file in the folder of files (8kb) copied and nothing else!!
32.  I then changed all of the TCP Global Parameter settings back to the SpeedGuide.net recommended settings and as performed in step #28 and the transfer from Win7 to XP still did not work!!!  This time it copied the small files in the folder up to the first large file (>1gb).
Apparently Windows 7 can learn, adapt and outsmart traditional troubleshooting techniques and can adjust on the fly to continue to screw with its end users.  How can making these changes after step #28 result in what seems to be a closed case, quickly turn into the same issue again without any other setting adjustments?!?!?!  I AM NOW COMPLETELY STUPIFIED!!!!
Hi everybody. Though I've given up, I don't se anyone mentioning the TCP Optimizer you can find over at speedguide.net, so thought I would share my experiences with you.
I tried it, and most of the tweaks you else have to key in manually can be made by just pressing a button. Works for both XP and Windows 7. And it gives you the opportunity of choosing between Windows default, Optimal and Custom. Found it very intuitive too. No installation required and all free. You could wish the same people would've made an operating system this way.
Let me assure you that I have no interests in Speedguide.net, but it seems that some users can solve their problems by using these tweaks and it would have saved me a lot of time if I'd known it from the beginning.
http://www.sysprobs.com/windows-7-network-slow
 
The Wifi in question was a G LAN (No router) system that was copying at 1Mbps and would gradually get slower. Today, after spending most of the day on that connection, I decided what the heck, I would change the MTU in the Netsh command to 1492 from 1500 and instantly the speed went up to 3+Mbps on that connection.
Here is the link to the page that explains the settings.
http://www.richard-slater.co.uk/archives/2009/10/23/change-your-mtu-under-vista-windows-7-or-windows-8/
 
  So I set my NIC back to all of the defaults.
These are the current settings:
IPv6 (disabled, box NOT checked)
Linkspeed:Autonegotiation
Under Configuration Tab (Make sure Intel Proset x64 latest drivers are installed if using Intel NIC) Advanced Tab:
Gigabit Master Slave Mode: Auto Detect
Interrupt Moderation: Enabled
Jumbo Packet: Disabled
Large Send Offload (IPv4): Enabled
Large Send Offload (IPv6): Enabled
Locally Administered Address:
Log Link State Event: Enabled
Performance Options:
Adaptive Interframe Spacing: Disabled
Flow Control: Rx & Tx Enabled
Interrupt Moderation Rate: Adaptive
Receive Buffers: 256
Transmit Buffers: 512
Priority & VLAN: Enabled
Receive Side Scaling: Enabled
Receive Side Scaling Queues: 1 Queue
TCP/IP Offloading Options:
IPv4 Checksum Offload: Checked
TCP Checksum Offload (IPv4): Checked
TCP Checksum Offload (IPv6): Checked
UDP Checksum Offload (IPv4): Checked
UDP Checksum Offload (IPv4): Checked
Wait for Link: Auto Detect
Reduce link speed during standby: NOT checked
Power Settings: Reduce link speed during system idle: NOT checked
Wake on Magic Packet: Checked
Wake on Magic Packet from power off state: Checked
Wake on Link: NOT checked
Wake on Patter Match: NOT checked
Open an elevated command prompt with administrator rights.
Type the following commands and press Enter (the second command on RSS is optional):
netsh interface tcp set global autotuninglevel=disabled
netsh interface tcp set global rss=disabled
Some links on RSS:
http://technet.microsoft.com/en-us/library/gg162703(WS.10).aspx
http://support.microsoft.com/kb/927168 (Link is old but has a nice command to check RSS and other network stack states)
http://support.microsoft.com/kb/951037
David Follis Tuesday, May 10, 2011 9:19 PM
I did the following on the Windows 7 machine,                  
   
Disabled IPv6  
Disabled Large Send Offload (IPv4)  
Disabled Large Send Offload (IPv6)  
Disabled Receive Side Scaling  
Disabled Receive Window Auto-Tuning Level  
   
All of it had been mentioned before, however I found this combination of configuration changes has worked on every machine I've tried.
Craig Musgrove Tuesday, July 26, 2011 4:19 AM   Use two switches  
 
1) Disable autotuning
2) Disable RDC
3) Turn off Home Group
4) Disable NIC green/power management settings
5) Disabled IPV6
6) Speed & Duplex set to 1Gbps Full Duplex
7) Large Send Offload for IPv4 and IPv6 disabled
https://www.petri.com/how-to-disable-smb-2-on-windows-vista-or-server-2008