-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the clientdeploy wiki!
RustReady.ps1 is a PowerShell script designed to automate tasks for RustDesk deployment, simplifying the setup and configuration process. The script is customizable to suit the needs of different organizations.
- Operating System: Windows 10/11
- PowerShell Version: PowerShell 5.1 or later is recommended.
- Administrator Privileges: Required to run the script.
- Download
RustReady.ps1to your local machine. - Save it to a preferred directory.
- Right-click on the
RustReady.ps1file. - Select Run with PowerShell from the context menu.
The script includes an automatic unblocking feature to bypass Windows security settings that may block files downloaded from the internet. The following lines are included at the beginning of the script:
$scriptPath = $MyInvocation.MyCommand.Path
Unblock-File -Path $scriptPathThis ensures the script is unblocked automatically upon execution.
You can modify several aspects of the script to match your organization's requirements:
-
Default Paths: Adjust default paths to fit your environment.
$DefaultConfigPath = "C:\YourCustomPath\Config"
-
Proxy Configuration: Set your organization's proxy if necessary.
$ProxyServer = "proxy.yourorganization.com"
-
Service Accounts and Ports: Modify service accounts and ports as needed.
$RustDeskServicePort = 443
-
Client Theme and Settings: Edit the
RustDesk_local.tomlfile for client settings. -
Server Configurations: Modify the
RustDesk2.tomlfile for server-specific configurations.[server] server_address = "yourserver.com" port = 21115
For more information on advanced RustDesk client settings, refer to the RustDesk Client Advanced Settings Documentation.
-
Custom Commands: Insert additional scripts or commands as needed.
& "C:\Scripts\YourCustomScript.ps1"
If the script fails to run due to security settings or other issues:
-
Manual Unblocking: In some cases, manual unblocking may still be required. Right-click the script file, select Properties, and check Unblock under the General tab.

-
Administrator Permissions: Ensure that you are running the script with elevated privileges.
We are actively working on improving the RustReady.ps1 script. Contributions are welcome! If you have suggestions, feel free to join and contribute to the project.