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. Like for IKE and AuthIP IPsec Keying Modules

image

3. ENABLE and START the Service

4. Test the connection again

Now it will work…

Enjoy!

Advertisements

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 !


Windows 10 – How to install Linux Subsystem

January 19, 2018

1. First start activate the Developer mode.

Windows Settings –> Update & Security

image

Activeate –> Developer Mode

image

2. Activate the Windows Feature –> Subsystem for Linux

image

3. Open CMD and run the command BASH

image

As you can see we don’t have the Linux Subsystem available … ?

4. Start the CMD again as Administrator.

And this command : lxrun /install /y

image

5. Start the Linux SubSystem using the command BASH

image

How to install MONO (.NET framework) on Bash – Ubuntu see here :

https://audministrator.wordpress.com/2017/01/14/windows-10-how-to-install-mono-on-bash-unbuntu/


SharePoint – Online ActiveX in Chrome Browser

January 8, 2018

Since I migrated my Hard and Software Inventory Scripts to SharePoint Online.

https://audministrator.wordpress.com/2018/01/08/sharepoint-online-computer-inventory/

I felt the need to check if I could run it in the Chrome Browser as well … ?

Solution :

Step 1. Is to configure Chrome to accept ActiveX Scripts

Open Chrome and go to Settings –> Advanced Options –> Proxy Settings

image

Go to the Security Tab –> Add you SharePoint Online site to the TRUSTED Sites

Next go to Custom Level –> Change the following ActiveX settings

image

Safe and restart Chrome

Step 2. Is to download IETab Extension for Chrome

image

Once installed is will ask you to run a local exe called ietabhelper.exe

And it will show you the Extension Icon here :

image

Step3. Run it and test the Result

Go to the Hardware Inventory Tool in SharePoint Online and click Get Info

image

As you can see it retrieved all the details, to be saved in the SharePoint Online Cloud using the Chrome Browser

How cool is that Smile Smile


Windows 10 – How to reset Local Administrator Pswd

October 7, 2017

Let’s say you need to get access to a PC that has an Administrator password. But you don’t know it… ?

Solution :

This the simple procedure to get in :

1. Get a Boot CD or a Windows installation CD (Boot USB will do as well)

2. Next start up the Boot CD and go to the CMD prompt

image

3. Go to the the WINDOWS\SYSTEM32\

Rename the UTILMAN.EXEto UTILMAN.BAK

image

4. Copy the CMD.EXE to CMD1.EXE and renmame it to UTILMAN.EXE

Normally the Windows KEY + U combination will bring up this screen before you logon.

image

5. Restart the PC… and press Windows Key + U at logon screen

After the modifications the key combination will bring up the CMD

image

6. Now use this command to add a new Administrat User :

NET USER SUPERADMIN TESTUSER P@$$w0rd /Add

NET USER LOCALGROUP administrators SUPERADMIN /ADD

This will add a new user to with admin rights to the PC to login …

7. Use this command to activate the built in Administrator or reset the password.

NET USER Administrator P@$$w0rd /Add

NET USER Administrator activate:yes

image


Windows 10 – Offline Files not Available (Where did the Online Button Go ?)

October 4, 2017

 

In windows 7 using the file Explorer you could use a button to work back online, when you have been working offline.

Example after making a VPN connection to your home base, you could switch to work back “online” for all offline files and folders.

 

In Windows 10, this feature seem to have disappeared ?

But not realy ….

 

Solution :

Once you are offline, first connect back using a VPN connection to your server….

And in the File Explorer go to EASY ACCESS  next click work OFFLINE ?

This is the confusing part… even if you are working offline you need to click  work offline again, to go ONLINE ?  Smile

 

image

You can monitor the status bar of the file eplorer at the bottom it should change to ONLINE.

image

The funny part is that the label of the Button “Work Offline” will never change to Work ONLINE Confused smile

If this does not work in your case you can try to add this Registry Key, reboot and try again….

Add : SilentForcedAutoReconnect : REG_DWORD = 1

image

It did work in my case Smile

 

Enjoy !!