Windows 10 – Quickly connect to a VPN

October 12, 2018

In Windows 10 it is a pain to quickly select a VPN connection. Espacially when you have a long list of entries in there.

On top of the sort order does not always stay the same Sad smile

SOLUTION :

Windows 7 and Up has a build in little tool called RASPHONE.exe

It is located in the System32 directory :

image

When you run it, it will quickly list all the entries to select from and connect to your relevant VPN server.

image

Once selected you can connect or change the properties …

image

All Windows VPN entries are automatically stored in your rasphone.pbk file located in the %Appdata\Microsoft\Network\Connections\Pbk folder

TIP :

1. Pin this Tool to your taskbar and you are ready to go ! Smile

Enjoy!

Advertisements

Windows 10 – SkypeForBusiness no micro sound

October 5, 2018

After Updating to the latest Windows 10 build, I did not have any sound going out using the built in Microphone of the laptop ?

First I thought I had to update the audio driver to the latest version…

So I did but no success Sad smile

SOLUTION :

I decided to use the Voice Recorder to test the sound

image

But there was a message saying that I had a Mic issue and needed to allow this audio first.

Go to Microphone Settings :

image

This will open the Microphone settings panel

image

Now make sure Skype is selected as allowed Microphone sound.

clip_image002

Solved Smile


Windows – WBADMIN RESTORE using the correct version IDENTIFIER

August 23, 2018

When you are going to do a restore using the WBADMIN command line.  It might be hard to find the correct backup set and location ?

These are steps that will help you to get what you need.

1. Run the command wbadmin get versions

image

Check you backup time and VERSION IDENTIFIER.

As you can see the backup time is NOT equal to the identifier date and time …

Backup ran at 7 PM and the identifier says 11:00

image

You can also see the date & time in the folder name

image

So in order to getting the correct backup data to restore you need to take the WBADMIN IDENTIFIER details.


Windows 10 – CredSSP encryption oracle remediation Error using RPP

August 23, 2018

You may get an error like this when connecting to a remote server using RDP on a Windows 10.

Especially after W10 has received the latest updates ?

image

Solution :

Update the servers with the latest Windows updates …

See KB4103712

But if this is not feasible, you can apply this workaround temporarily…

See here

Open the Local Group Policy Editor gpedit.msc

Go to Computer Configuration –> Administrative Templates –> System –> Credential Delegation

Enable the Encryption Oracle Remediation Policy

image

Set to Vulnerable

image

If you cannot use gpedit.msc (Ex. Windows Home Edition), you can make the same change by using the registry, as follows:

Open a Command Prompt window as Administrator.

Run the following command to add a registry value:

REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters\ /v AllowEncryptionOracle /t REG_DWORD /d 2

Success !


Windows – L2TP VPN Error 789

July 27, 2018

If you encounter this Error 789 when making a new VPN connection on a Windows client.

image

9 out 10 this is the reason…

SOLUTION :

1. Go to SERVICES


2. Look for IKE and AuthIP IPsec Keying Modules

image

3. ENABLE and START the Service

4. Test the connection again

Now it will work…

Tip : Winking smile

If you want to Automate the L2TP VPN client config check this out

If you need to find a quick way to connect to multiple VPN connections, see here

Enjoy!


Windows – How to delete Device Drivers

March 28, 2018

 

At some point I had big issues removing drivers from a Windows system.

As you can see all the flagged drivers I needed to remove.

image

But after uninstalling they always came back automatically. Even if I did this in SAFE MODE … ?

Solution :

I used this PowerShell Script to find the incorrect drivers and remove them.

The cmdline utility used was PnPUtil.exe

image

image

CLS

$x = get-wmiobject Win32_PnpsignedDriver | where {$_.DeviceName -like "*Ncp*" -and $_.InfName -like "*oem*"}

foreach ($InfName in $x){
#$InfName

 pnputil -f -d $InfName.InfName

write-host "Deleted - " $InfName.InfName " "$InfName.Friendlyname

}

image

If this does not work you can used the this alternative

image

Make sure you check the DELETE driver software for this device option.

Next do a SCAN Hardware changes and it will install again properly.

More information on how to remove drivers you can find here : https://www.online-tech-tips.com/computer-tips/unable-delete-network-adapter-windows-10/

Enjoy !


Windows 10 – Disable Automatic Updates

January 26, 2018

How to disable Windows 10 Automatic Updates …

Solution :

1. Open the Registry

Go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows

2. Add 2 Keys

Add Key WindowsUpdate and Sub Key AU

3. Add DWORD Value

Value Options are :

2 =  “Notify for download and notify for install.”
3 = “Auto download and notify for install.”
4 = “Auto download and schedule the install.”
5 = “Allow local admin to choose settings.”

Take 2 = “Notify for download and notify for install.”

Result looks like this.

image

Reboot and this will be applied.

Enjoy !