From 17ff201848dd302648db0f96fa7042c9e66fa022 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Date: Tue, 12 Nov 2024 17:22:12 +0000 Subject: [PATCH] refs #8159 README improved --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2bd3e54..7999ce9 100644 --- a/README.md +++ b/README.md @@ -2,18 +2,20 @@ Script to automate VPN connection creation on Windows. -You need to execute this script as administrator. +Connection can be created globally or for the current user by using the +*allUsers* paramenter, CA certificate must always be installed globally +regardless of who the connection is created for. -To be able to execute it you have to manually run the following commnand in -PowerShell (also as administrator). +To be able to execute the script you have to manually run the following +commnand in PowerShell (as administrator). ``` Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine ``` To avoid DNS issues because of Windows 10 "smart multi-homed name resolution" -you have to manually (it cannot be done via scripting) change the connection -metric under: +VPN connection metric should be set to the lowest one, it is done automatically +by the script but it can be done manually from: - VPN connection > Properties > Networking > TCP/IPv4 > Properties > Advanced... - Disable "Automatic metric" and set "Interface metric" to 1.