Created
February 20, 2022 22:44
-
-
Save mikemartin1090/7f65138ab769ce19986cb9373004d27d to your computer and use it in GitHub Desktop.
Windows 10 settings that are always annoying to find for networking.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #enable rdp | |
| reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f | |
| #disable nla for rdp | |
| reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v UserAuthentication /t REG_DWORD /d 0 /f | |
| #enable local admin shares | |
| reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "LocalAccountTokenFilterPolicy" /t REG_DWORD /d 1 /f | |
| netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=yes | |
| #disable firewall for rdp | |
| netsh advfirewall firewall set rule group="Remote Desktop" new enable=Yes | |
| #enable ping | |
| netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol="icmpv4:8,any" dir=in action=allow | |
| #set eastern standard time zone | |
| tzutil /s "Eastern Standard Time" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment