Skip to content

Free_rdp_server #12

Description

@nabilyem

name: RDP

on: [workflow_dispatch]

jobs:
build:
runs-on: windows-latest
steps:
- name: Download ngrok
run: |
Invoke-WebRequest https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-stable-windows-amd64.zip -OutFile ngrok.zip
Expand-Archive ngrok.zip
./ngrok.exe authtoken 2tsCynDAFD31qzl81aVmdxpadeM_4oekjjoNqaY6fjfHCXK5t

  - name: Enable RDP
    run: |
      net user kamel123 MyStrong123 /add
      net localgroup administrators kamel123 /add
      Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -Name 'fDenyTSConnections' -Value 0
      Enable-NetFirewallRule -DisplayGroup "Remote Desktop"
      ./ngrok.exe tcp 3389

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions