Skip to content

Instantly share code, notes, and snippets.

@Purp1eW0lf
Created November 20, 2024 16:25
Show Gist options
  • Save Purp1eW0lf/67d7c73e5e073c077411f615b3a8d974 to your computer and use it in GitHub Desktop.
Save Purp1eW0lf/67d7c73e5e073c077411f615b3a8d974 to your computer and use it in GitHub Desktop.
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\nvspbind" /v SystemComponent /t REG_DWORD /d 1 /f
netsh advfirewall firewall add rule name="rdp" dir=in protocol=tcp localport=3389 action=allow
netsh advfirewall firewall set rule group="windows management instrumentation (wmi)" new enable=yes
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment