mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2025-06-22 18:51:51 +02:00
Update _index.en.md
This commit is contained in:
parent
49ec3f1a44
commit
3be5282296
@ -6,9 +6,9 @@ pre: "<b>2.4. </b>"
|
|||||||
|
|
||||||
You can deploy using a number of methods, some are covered in [Client Configuration](/docs/en/self-host/client-configuration/).
|
You can deploy using a number of methods, some are covered in [Client Configuration](/docs/en/self-host/client-configuration/).
|
||||||
|
|
||||||
Alternatively you can use mass deployment scripts with your RMM, Intune etc., the ID and password is output by the script, you should collect this, or split this off into different scripts to collect the ID and password.
|
Alternatively you can use mass deployment scripts with your RMM, Intune, etc. The ID and password are output by the script. You should collect this or split it into different scripts to collect the ID and password.
|
||||||
|
|
||||||
The permanent password can be changed from random to one you prefer using by changing the content inside `()` after `rustdesk_pw` to your preferred password for powershell and the corresponding line for any other platform.
|
The permanent password can be changed from random to one you prefer using by changing the content inside `()` after `rustdesk_pw` to your preferred password for PowerShell and the corresponding line for any other platform.
|
||||||
|
|
||||||
### PowerShell
|
### PowerShell
|
||||||
|
|
||||||
@ -40,11 +40,11 @@ write-output "RustDesk $rdver is the newest version"
|
|||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
If (!(Test-Path c:\Temp)) {
|
If (!(Test-Path C:\Temp)) {
|
||||||
New-Item -ItemType Directory -Force -Path c:\Temp > null
|
New-Item -ItemType Directory -Force -Path C:\Temp > null
|
||||||
}
|
}
|
||||||
|
|
||||||
cd c:\Temp
|
cd C:\Temp
|
||||||
|
|
||||||
powershell Invoke-WebRequest "https://github.com/rustdesk/rustdesk/releases/download/1.2.2/rustdesk-1.2.2-x86_64.exe" -Outfile "rustdesk.exe"
|
powershell Invoke-WebRequest "https://github.com/rustdesk/rustdesk/releases/download/1.2.2/rustdesk-1.2.2-x86_64.exe" -Outfile "rustdesk.exe"
|
||||||
Start-Process .\rustdesk.exe --silent-install -wait
|
Start-Process .\rustdesk.exe --silent-install -wait
|
||||||
@ -98,23 +98,22 @@ set rustdesk_cfg="configstring"
|
|||||||
|
|
||||||
REM ############################### Please Do Not Edit Below This Line #########################################
|
REM ############################### Please Do Not Edit Below This Line #########################################
|
||||||
|
|
||||||
if not exist C:\TEMP\ md C:\TEMP\
|
if not exist C:\Temp\ md C:\Temp\
|
||||||
cd c:\temp\
|
cd C:\Temp\
|
||||||
|
|
||||||
curl -L "https://github.com/rustdesk/rustdesk/releases/download/1.2.2/rustdesk-1.2.2-x86_64.exe" -o rustdesk.exe
|
curl -L "https://github.com/rustdesk/rustdesk/releases/download/1.2.2/rustdesk-1.2.2-x86_64.exe" -o rustdesk.exe
|
||||||
|
|
||||||
rustdesk.exe --silent-install
|
rustdesk.exe --silent-install
|
||||||
|
|
||||||
$ServiceName = 'Rustdesk'
|
$ServiceName = 'RustDesk'
|
||||||
$arrService = Get-Service -Name $ServiceName -ErrorAction SilentlyContinue
|
$arrService = Get-Service -Name $ServiceName -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
cd "c:\Program Files\RustDesk\"
|
cd "C:\Program Files\RustDesk\"
|
||||||
for /f "delims=" %i IN ('rustdesk.exe --get-id ^| more') DO set rustdesk_id=%i
|
for /f "delims=" %i IN ('rustdesk.exe --get-id ^| more') DO set rustdesk_id=%i
|
||||||
|
|
||||||
net stop rustdesk > null
|
net stop rustdesk > null
|
||||||
RustDesk.exe --config %rustdesk_cfg%
|
RustDesk.exe --config %rustdesk_cfg%
|
||||||
|
|
||||||
|
|
||||||
net start rustdesk > null
|
net start rustdesk > null
|
||||||
|
|
||||||
RustDesk.exe --password %rustdesk_pw%
|
RustDesk.exe --password %rustdesk_pw%
|
||||||
|
Loading…
x
Reference in New Issue
Block a user