Monday, February 22, 2016

Server 2012 or 2012R2 - RDP takes long time to logon (10 to 25 minutes)

I have found in our environment we have two particular network settings that have been linked with various issues.  If, when making an RDP connection to a Windows 2012 server the logon takes a long, long time try running these commands from an ELEVATED (Admin) command prompt:

1) netsh int tcp set global rss=disabled

Now test RDP.  If it works normal you are done.  If not, run this second command.

2) netsh int tcp set global chimney=disabled

Try again.  Hopefully it works now.  The values can be checked by running this command

netsh int tcp show global

if the problem re-occurs it can be addressed using a group policy preference modifying the registry settings as shown here:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
-EnableTCPChimney and EnableRSS will most likely need to be created as 32-bit REG_DWORDs.

  • Right-click EnableTCPChimney, and then click Modify.
  • In the Value data box, type 0, and then click OK.
  • Right-click EnableRSS, and then click Modify.
  • In the Value data box, type 0, and then click OK.
Another option is executing a computer based script running the above two netsh commands.

Tuesday, February 09, 2016

Repost of Advanced Bash-Scripting Guide

I found this guide helpful.  The original website is:
http://www.tldp.org/LDP/abs/html/

I wanted a pdf copy to read on my tablet but the link on the site is broken.  So I am reposting a pdf version of the guide here (dropbox download):

I found that the problem on the original site was an incorrect URL.  To access the pdf on the original site visit:
http://www.tldp.org/LDP/abs/abs-guide.pdf

Much appreciation to the author Mendel Cooper.  I hope you don't mind me reposting this valuable guide.

New beginner's guide to PowerShell on my GitHub page

 I created a beginner's guide to PowerShell here: https://github.com/aamjohns/Powershell_Guide/blob/main/README.md I hope it helps someo...