VPN configuration - Software compression

I'm looking to create a new VPN connection.  I have a lot of it but can't find how to enable software compression.  Anyone know how?

Here's what I have:

Add-VPNConnection -Name 'Test VPN' -ServerAddress 'vpn.test.net' -AllUserConnection -TunnelType 'Sstp' -UseWinlogonCredential $true -AuthenticationMethod 'MsChapv2' -SplitTunneling $true -EncryptionLevel Required 

August 10th, 2015 2:04pm

Hello,

Did you check https://technet.microsoft.com/en-us/library/jj554824%28v=wps.630%29.aspx?f=255&MSPPError=-2147217396 ?

With GUI, you can do :

To enable or disable software compression in PPP

  1. If you want to modify the connection you are currently using, disconnect from the server.

  2. Open the Network Connections folder and view available connections.

  3. Right-click the connection you want to modify, and then click Properties.

  4. On the Options tab, click PPP Settings.

  5. Select or clear the Enable software compression check box.

Free Windows Admin Tool Kit Click here and download it now
August 12th, 2015 1:26pm

Thanks Sebastien, but I need to automate it.  So I need how to do it in PowerShell.
August 12th, 2015 1:49pm

Maybe you can try to run after the Add-VPNConnection to change a value in the registry

I have try to find the corresponding settings in the registry with no success. I will look again tomorrow. 

But maybe you can read this https://technet.microsoft.com/en-us/library/ee431701(v=ws.10).aspx or maybe you can deploy the VPN profile with GPO ?

Free Windows Admin Tool Kit Click here and download it now
August 12th, 2015 2:21pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics