Avviare OpenVPN come administrator su Windows

From RVM Wiki
Jump to navigation Jump to search

Create a "RunAs" short-cut in Windows XP that saves the administrator password

WARNING: When using this method the user will be able to start ANY application as administrator with the right knowledge.

  • Create a normal Short-Cut to openvpn-gui.exe (c:\program files\openvpn\bin\openvpn-gui.exe) on the desktop.
  • Right-click the short-cut and select Properties.
  • In the Target box, insert the following before the path to openvpn-gui.exe: "runas /savecred /user:administrator ".
  • Double-click the new short-cut, and enter the administrator password.

Next time you run this short-cut, it will start OpenVPN GUI as administrator automatically without prompting you for any credentials.

If you want OpenVPN-GUI to auto-start when you logon, move this short-cut to your "Startup" folder on the Start->Programs menu.

Riferimenti