From d10342f36bf9104f4a8802d38fe7460ddbe81d9b Mon Sep 17 00:00:00 2001 From: dinger1986 Date: Wed, 6 Sep 2023 20:32:12 +0100 Subject: [PATCH 1/2] Update _index.en.md --- content/self-host/client-deployment/_index.en.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/self-host/client-deployment/_index.en.md b/content/self-host/client-deployment/_index.en.md index 006ce71..9110b3f 100644 --- a/content/self-host/client-deployment/_index.en.md +++ b/content/self-host/client-deployment/_index.en.md @@ -91,7 +91,14 @@ Write-Output "..............................................." ```bat REM Assign the value random password to the password variable +setlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION +set alfanum=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 + set rustdesk_pw= +FOR /L %%b IN (0, 1, 16) DO ( +SET /A rnd_num=!RANDOM! * 62 / 32768 + 1 +for /F %%c in ('echo %%alfanum:~!rnd_num!^,1%%') do set pwd=!pwd!%%c +) REM Get your config string from your Web portal and Fill Below set rustdesk_cfg="configstring" From 05ee7595d338b63ad1846e94bf8a98d9a7da8061 Mon Sep 17 00:00:00 2001 From: dinger1986 Date: Wed, 6 Sep 2023 20:32:46 +0100 Subject: [PATCH 2/2] Update _index.de.md --- content/self-host/client-deployment/_index.de.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/self-host/client-deployment/_index.de.md b/content/self-host/client-deployment/_index.de.md index c7ad20f..d115977 100644 --- a/content/self-host/client-deployment/_index.de.md +++ b/content/self-host/client-deployment/_index.de.md @@ -91,7 +91,14 @@ Write-Output "..............................................." ```bat REM Assign the value random password to the password variable +setlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION +set alfanum=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 + set rustdesk_pw= +FOR /L %%b IN (0, 1, 16) DO ( +SET /A rnd_num=!RANDOM! * 62 / 32768 + 1 +for /F %%c in ('echo %%alfanum:~!rnd_num!^,1%%') do set pwd=!pwd!%%c +) REM Get your config string from your Web portal and Fill Below set rustdesk_cfg="configstring"