Windows 10 – User Profile Service Event ID 1534 Error

December 27, 2018

You might run into the User Profile Service Event ID 1534 Error.

Spamming your Event Viewer log, like this …


GUID refers to the tileobjserver and probably tiledatasvc.

It seems that tiledatasvc was removed in 1809 Upgrade. The removal of the Reg Keys is manual clean-up going forward.

Solution :

Open the registry and go to :

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileNotification\TDL

Check the GUID in the the CLSID Reg Key


Next go to :

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\ProfileNotification


Export these TLD Keys and next DELETE it.

Reboot the PC and check again.

Success !


Windows 10 – New SSD Disk use MBR or GPT Initialization ?

December 26, 2018

I’ve got hold of a new SamSung 860 EVO 1 TB SSD disk.


This disk is lightning fast up to 6 Gbps internal speed.

While this disk can be used to replace 2.5” internal disks.

You can buy a SATA III to USB connector, so you can use it as an external SSD HDD.


Once connected, you will need to go to the Disk Management

And you will see the unallocated disk of 1 TB SSD in my case.


It will bring up the popup to Initialize the Disk

You will need to choose between MBR or GPT ?

MBR is the old fashed Master Boot Record standard that dates back from the DOS ages.

So best choose the new GPT option that is also compatible with Linux and Apple… Winking smile

Success !

Windows 10 – DotNet Development NO Visual Studio

October 16, 2018

Recently I needed to develop an VPN Builder for Windows 7 for the L2TP protocol.

To automate the VPN entries on the client and to hide the Private Shared Key for the user.


PowerShell can do this…  But does not support the cmdlet Add-VpnConnection onWindows 7

It is only available for Windows 10 Sad smile



1. Download the DotRas Library from the Nuget site


Tip : Winking smile

When you have saved the .nupkg package you can just open this using 7-Zip


Extract the nice documentation file DotRas.chm that is included.


And extract the DotRas.dll (for your appropriate .Net version 2.0 or 4.0)

In my case I used the DotNet 2.0 version


2. VB.Net Source code

On the net you can find relevant source code to build your application for L2TP, if you want to have a head start.

And modify to your own needs ….


3. Compile your application

You can use the commandline compiler VBC.exe that is part of your local DotNet installation on any Windows machine.

Or you can use my Visual Studio Light wrapper  Smile


%systemroot%\Microsoft.NET\Framework\v2.0.50727\vbc.exe /nowarn /nologo /quiet /debug- /t:Winexe VPN_L2TP_Builder.vb /r:DotRas.dll -out:VPN_L2TP_Builder.exe -win32resource:VPN.res


As you can see I needed to reference the DotRas.dll Assembly and I used the custom Resources to assing a custom ICON and File Properties.

See here on how to build a custom Resource file using Resource Hacker


4. Result



As you can see we don’t need 10 ton of software, just to build a simple functional DotNet Application Smile


Some extra tips for L2TP errors here  Winking smile




Resource Hacker – Update File Icon & Resource Data

October 15, 2018

As you might know by know I am not a big fan of installing 10 ton of software to get my simple things done.

One of them is adding file versioning or file Icons to my custom build .Net applications.

For which I use my also my custom build or wrapper for Visual Studio

If you need to add you custom ICON and or VERSIONING

You can use some compiler options, see here for the full list vbc compiler or  csc compiler options.


Download Resource hacker

I still use an old Version 3.4, which still runs fine.


1. Open your compile .exe file


2. Add or Replace Icons

Right click the 0 in the ICON section and Select Replace


3. Add or Replace File Properties

Select 0 in the Version Info section


Modify the File Property Values according to you needs. And click on the COMPILE button.

Next save this as a RESOURCE file.


For Example : My.res

Once this is done you can pick the settings up when compiling your VB or C# application, using this compiler option :


Example : –win32resource:My.res

See here in a real life example


Enjoy !

Windows Server 2016 – Perflib Error Event ID 1008

August 20, 2018

Some servers make notice of regular Perflib Event ID 1008 Error




Run these commands

C:\Windows\system32\lodctr.exe /R

C:\Windows\SysWOW64\lodctr.exe /R

C:\Windows\System32\wbem\winmgmt.exe /RESYNCPERF

C:\Windows\SysWOW64\wbem\winmgmt.exe /RESYNCPERF


After these commands you might see the Warning Event ID 2003



Run this command :

lodctr /T:TermService

And reboot the server to make sure all errors are gone

More info see here :

Success !

Windows 10 – Running ASP.NET Core 2.0 on Mono

August 5, 2018

After installing Mono on Ubuntu using Windows 10 WSL, see here

You can start cross compiling you ASP .NET Core 2.0 Apps to run on Mono

1. Publush for Linux

Use this command : dotnet publish -r linux-x64 -c Release


2. Install DotNet Core on Ubuntu :

First in widows go to the project folder where you find the published project see step 1.


And start the WSL there. Open command prompt in that folder and run BASH


Run these commands to install .Net Core Framework on Mono :

curl | gpg –dearmor > microsoft.gpg

sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

sudo sh -c ‘echo “deb [arch=amd64] xenial main” > /etc/apt/sources.list.d/dotnetdev.list’

sudo apt-get update

sudo apt-get install dotnet-sdk-2.1.3

3. Install and Configure Web Server Nginx

sudo apt-get install nginx

It runs on PORT 80 by default, so stop other windows webservers if needed.


next run this command :

sudo service nginx start

And test it by opening a browser in windows, you should see this webpage.


To stop the webserver run :

sudo service nginx stop

4. Configure nginx as reverse proxy server

Go in Windows to the Linux installation folder …

Open the file in Notepad++ and make the make the following changes in the DEFAULT file:



Change the default port from 80 to whatever you like, example 81

Comment out this line : #try_files $uri $uri/ =404;

Add this line proxy_pass line : proxy_pass http://localhost:5000;


You can also use the VI editor in Linux if you like this :

sudo vi /etc/nginx/sites-available/default

Now test the config changes are working :

sudo nginx -t

If you did not stop the server you can do a reload :

sudo nginx -s reload

6. Test the .Net Core App in WSL using Bash

Open Bash in the Published folder


And TEST the Linux .Net Core application like this :

dotnet FirstMvc.dll


I get an error because the Linux is CASE Sensitive. So try again using the correct command.

And the SQL Database location is not found.

Because I started it not from the default folder location, which should be C:\CoreIoT\ASPnetRazorSQLiteWsAPI\Data


But all runs well, so the .NET Core App is a try cross platfrom framework Smile


Windows 10 – High Harddisk activity on wiatrace.log

March 11, 2018

You  may notice a high HD activity writing to the wiatrace.log file.

WIA stands for Windows Image Acquisition Library.

This is used if you have a Printer scanner installed. Even if you don’t use the Scanner the log file writes debug info to it.


Open the registry and go to :



Change the value to of TRACEFLAGS from 407 to 0

Check the disk activity again, it should be gone now Smile

Alternatively you can stop the Windows Image Acquisition (WIA) Service


Enjoy !