Showing posts with label RDP. Show all posts
Showing posts with label RDP. Show all posts

Friday, March 2, 2018

WOL Wake On Lan : Wake Up from Sleep and Shutdown

Finally got mine working, albeit a few varying resources rto get both Sleep and Shutdown to work!

Tested on Win7 & Win8

1. Set NIC Card
     Wake on Packet
     Power Mgmt Tab: Allow turn on
     https://www.howtogeek.com/70374/how-to-geek-explains-what-is-wake-on-lan-and-how-do-i-enable-it/

and enable these

image
     and
     Enable WOL on the network adapter + Enable WOL in BIOS
         http://davidamphlett.net/2014/04/23/enabling-wake-on-lan-from-a-powered-off-state-windows-8-1/
    
2. Set Power Options
     Allow Windows to be woken from PCI/e devices
         http://davidamphlett.net/2014/04/23/enabling-wake-on-lan-from-a-powered-off-state-windows-8-1/
        
    
3. (WIN8) Disable Fast StartUp Start
     https://support.microsoft.com/en-us/help/2776718/wake-on-lan-wol-behavior-in-windows-8-windows-8-1-and-windows-10
     In case option not enabled:
         https://www.eightforums.com/threads/fast-startup-turn-on-or-off-in-windows-8.6320/
         https://www.sevenforums.com/tutorials/819-hibernate-enable-disable.html via powercfg -h on


image

3(WIN7) Install Simple TCPIP Svcs:

https://www.cnetsys.com/how-to-enable-wake-on-lan-wol-windows-7/


4. Test :

a. On remote computer test both:

    Sleep
    and
     Shutdown

b. I use this tool. To scan and WOL any computer on network:

image

Thursday, June 15, 2017

Solutions for : RDP Tuning, Speed Up Remote Desktop, RDP Frozen Mouse and Keyboard

Issue:

Combined the below tips to solve an overall slow and slugish RDP session between Win7 and Win2012 Server, These tips generally apply to Win7/Win8 and Win2008/2012:

Solutions

1)  Reg Edit –> Tcpip

    Open RegEdit on the Windows Server machine.
    Navigate to this registry key in the tree on the left:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    Right-click on the right side, and add a new DWORD (32-bit) Value
    Set the value name to DisableTaskOffload and the value data to 1
   Reconnect to the Server via RDP (to a new session) and your performance should be normal.

2) Tune RDP Settings in Gpedit.mscQuestion

On the server:
Computer Config > Windows Settings > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections > Select RDP transport protocol = Use only TCP
On the client:
Computer Config > Windows Settings > Admin Templates > Windows Components > Remote Desktop Services > Remote Desktop Connection Client > Turn off UDP on Client = Enabled

 

3) Disable FIPS  [Optional]

Found the culprit...FIPS security setting is the cause.  Now why the heck 2012 can't handle FIPS and 2008R2 can is beyond me especially since this security setting comes straight from Microsoft's Security Compliance Manager 3.

I've verified it by disabling the setting and rebooting...nice and fast...enable the setting, reboot...slow...disable/reboot...fast again...and it's only the FIPS setting:

Computer Config>>Policies>>Windows Settings>>Security Settings>>Local Policies>>Security Options>>System Cryptography>>Use FIPS compliant algorithms for encryption, hashing, and signing.

 

Reference Articles:
BEST:
https://social.technet.microsoft.com/Forums/ie/en-US/6ed6500d-33f7-4f0c-89fb-8d8442c7a229/extremely-slow-rdp-session-solved?forum=winserverTS
and   
https://social.technet.microsoft.com/Forums/windowsserver/en-US/56b3b9a1-3589-451a-afca-71afcc216fd9/remote-system-input-device-not-working?forum=winserverTS

and See

Performance Tuning Windows 2012: Network Subsystem–Part 1