User Tools

Site Tools


en:games:radmin_vpn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:games:radmin_vpn [2020-01-17-11-42]
7saturn [Script for Setting the Network Card Metric automatically]
en:games:radmin_vpn [2020-01-17-11-43] (current)
7saturn [Script for Setting the Network Card Metric automatically]
Line 15: Line 15:
   - Create a new powershell script with a name like ''​set_vpn_metric.ps1''​.   - Create a new powershell script with a name like ''​set_vpn_metric.ps1''​.
   - Edit it and enter the following command into it: ''​Get-NetAdapter | Where-Object -FilterScript {$_.InterfaceAlias -Eq <​nowiki>"​Radmin VPN"</​nowiki>​} | Set-NetIPInterface -InterfaceMetric 20''​.   - Edit it and enter the following command into it: ''​Get-NetAdapter | Where-Object -FilterScript {$_.InterfaceAlias -Eq <​nowiki>"​Radmin VPN"</​nowiki>​} | Set-NetIPInterface -InterfaceMetric 20''​.
-  - Create a link to that script with the path ''​C:​\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -f <​nowiki>"​drive:​\path\to\set_vpn_metric.ps1"<​\nowiki>'',​ with ''​drive:​\path\to\set_vpn_metric.ps1''​ being the actual full file path to the newly created script. Adapt it to your own file's location.+  - Create a link to that script with the path ''​C:​\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -f <​nowiki>"​drive:​\path\to\set_vpn_metric.ps1"<​/nowiki>'',​ with ''​drive:​\path\to\set_vpn_metric.ps1''​ being the actual full file path to the newly created script. Adapt it to your own file's location.
   - Open properties of the newly created link and click on **Advanced** and select **Run as Administrator** (this is not available if you set the link to point directly to the script only).   - Open properties of the newly created link and click on **Advanced** and select **Run as Administrator** (this is not available if you set the link to point directly to the script only).
   - Enter ''​powershell''​ into the start menu and run it with administrator privileges(!).   - Enter ''​powershell''​ into the start menu and run it with administrator privileges(!).
en/games/radmin_vpn.txt ยท Last modified: 2020-01-17-11-43 by 7saturn