diff --git a/content/self-host/pro/FAQ/_index.en.md b/content/self-host/pro/FAQ/_index.en.md index cb40e04..d526c67 100644 --- a/content/self-host/pro/FAQ/_index.en.md +++ b/content/self-host/pro/FAQ/_index.en.md @@ -102,12 +102,64 @@ A simple way to check is using telnet. To test in the Linux terminal type `telne Your mail server may not be using port 25. Please make sure you are using the correct ports. +## Can I deploy RustDesk using powershell? +Sure, this script can help, replace `youraddress` and `yourkey` with your address and key for your RustDesk Server Pro Address and Key +``` +$ErrorActionPreference= 'silentlycontinue' + +$rdver = ((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RustDesk\").Version) + +if($rdver -eq "1.2.1") +{ +write-output "RustDesk $rdver is the newest version" + +exit +} + +If (!(Test-Path c:\Temp)) { + New-Item -ItemType Directory -Force -Path c:\Temp > null +} + +cd c:\Temp + +powershell Invoke-WebRequest "https://github.com/rustdesk/rustdesk/releases/download/1.2.1/rustdesk-1.2.1-x86_64.exe" -Outfile "rustdesk.exe" +Start-Process .\rustdesk.exe --silent-install -wait + +$ServiceName = 'Rustdesk' +$arrService = Get-Service -Name $ServiceName -ErrorAction SilentlyContinue + +if ($arrService -eq $null) +{ + Start-Sleep -seconds 20 +} + +while ($arrService.Status -ne 'Running') +{ + Start-Service $ServiceName + Start-Sleep -seconds 5 + $arrService.Refresh() +} +net stop rustdesk + +$username = ((Get-WMIObject -ClassName Win32_ComputerSystem).Username).Split('\')[1] +Remove-Item C:\Users\$username\AppData\Roaming\RustDesk\config\RustDesk2.toml +New-Item C:\Users\$username\AppData\Roaming\RustDesk\config\RustDesk2.toml +Set-Content C:\Users\$username\AppData\Roaming\RustDesk\config\RustDesk2.toml "rendezvous_server = 'youraddress' `nnat_type = 1`nserial = 0`n`n[options]`ncustom-rendezvous-server = 'youraddress'`nkey = 'yourkey'`nrelay-server = 'youraddress'`napi-server = 'https://youraddress'" +Remove-Item C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\RustDesk\config\RustDesk2.toml +New-Item C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\RustDesk\config\RustDesk2.toml +Set-Content C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\RustDesk\config\RustDesk2.toml "rendezvous_server = 'youraddress' `nnat_type = 1`nserial = 0`n`n[options]`ncustom-rendezvous-server = 'youraddress'`nkey = 'yourkey'`nrelay-server = 'youraddress'`napi-server = 'https://youraddress'" + +net start rustdesk +``` + ## How can I get RustDesk IDs from agents on my network or using an RMM type system? On Windows you can use the following PowerShell script: ``` $ErrorActionPreference= 'silentlycontinue' -$rustdesk_id = ("'C:\Program Files\RustDesk\rustdesk.exe' --get-id" | get-clipboard) +Start-Process "$env:ProgramFiles\RustDesk\RustDesk.exe" --get-id +sleep 2 +$rustdesk_id = (get-clipboard) Write-Output $rustdesk_id ``` @@ -148,7 +200,7 @@ Please get in touch with our [sales](mailto://sales@rustdesk.com) team. ## I cant connect to devices in different groups, why is this? This is easily sorted, you need to allow cross-group access. -1. Add new Groups/ +1. Add new Groups. 2. Click Edit. 3. Select the relevant groups you want access (it automatically adds them in the corresponding group). diff --git a/v2/team.html b/v2/team.html index e2ec482..b4cf4ac 100644 --- a/v2/team.html +++ b/v2/team.html @@ -249,7 +249,7 @@ a[class^="uui-button-1"]:hover, a[class^="uui-button-1"]:focus, .uui-button-6:ho
With a remarkable quarter century career in the IT industry, Daniel Lamb has actively participated in numerous open-source projects, assuming various roles and responsibilities. Additionally, he has accomplished the establishment of an IT services company based in Scotland, catering to customers worldwide. Daniel's extensive expertise encompasses support, sales, and community engagement, making him a valuable asset to RustDesk, bringing a large amount of knowledge and experience to the project.
- + @@ -407,4 +407,4 @@ window.addEventListener("load", function() { }}(); - \ No newline at end of file +