Posts

Unregister Background tasks with powershell - Oneliners

Unregister Background tasks with powershell - One liner     If you want to get all backgroundtasks for UWP apps. You can use this to find the entrypoint: get-appbackgroundtask Now, you can decide to unregister each with the following command:  unregister-appbackgroundtask -taskid However, if you want a oneliner to do it for you: get-appbackgroundtask | where -Property entrypoint -like "INSERTNAMEOFAPP*" |select taskid | foreach {unregister-appbackgroundtask -taskid $_.EntryPoint} 

C# - How to create - WPF Windows 10 Toast

Image
I experiened a lot of touble creating toast for windows 10 while doing a simple desktop application in wpf. After a while i found a viable solution, which is why iam posting it. Heres an working example: https://code.msdn.microsoft.com/windowsdesktop/Sending-toast-notifications-71e230a2 Do it yourself:

Uninstall SQL Management Studio

Image
Microsoft released a new version of Microsoft SQL Management Studio SMSS. it can be downloaded from here: https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms This article, i will show, how to uninstall SQL Management Studio. HOW TO:

[SOLVED] Extend Microsoft SQL Server Trial / Evaluation period

Image
Restart SQL service after trial period - and continue using it The problem usually occurs when you are running an evaluation instance of SQL Server and the evaluation time period has expired. I will show you a workaround, that enables you to continue using SQL even though it has expired.

[SOLVED] Veeam: Failed change tracking (CBT)

Image
Failed to flush change tracking data, using full scan to determine changes. Failed to create change tracking time stamp for virtual disk file I've encountered the above, after i added some new CSV to a cluster. The backup jobs have been running fine for ages before this. As per say, this is not really a critical issue, since the backups just takes longer. Needless to say, i wanted it to function. I tried: Reboot Nodes, Hosts, VMs Fully update Stop VeeamFCT service and Start it again Update hyper-v integration service Delete previous backups Run full backups Read Veeam forums Running Reset-HvVmChangeTracking Din't work. However!

Operation not allowed because the replication state if not initialized

Image
I wanted to move a VM but got the following error: Operation not allowed  because the replication state if not initialized. The solution is really simple:

Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first.

You got error like this or simular: Package Installation Error Could not add all required packages to the project. The following packages failed to install from 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\EXTENSIONS\K4NWZ1KQ.YDX\Packages': EntityFramework.6.0.0 : Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first. Newtonsoft.Json.5.0.8 : Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first. EPiServer.Framework.7.15.0 : Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, open the Package Manager Console to initialize the host first. EPiServer.CMS.Core.7.15.0 : Failed to initialize the PowerShell host. If your PowerShell execution policy setting is set to AllSigned, o...

Fixing Error 25541. Failed to open XML file

Fixing Error 25541. I had to install Compact 4.0 on a client computer today. However, i got the error below: Error 25541. Failed to open XML file C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config, system error: -2147024786 Setup failed. Rolling back  This was a huge pain in the a**, but the solution was very simple.

Disable IPv6 and its Components

Image
How to disable IPv6 and its components in windows Have you ever experienced, that an computer still responds to your ping, even though ipv6 is disabled through network interface properties? It seems, that unchecking the ipv6 interface isnt exacly enough. Here I will show you, how to completly disable IPv6 and its components, so it cant respond on its interface, regardless.

Set DNS Suffix Search List

Image
In this post, i will show you how to set the DNS Suffix search list.

Popular posts from this blog

[SOLVED] Veeam: Failed change tracking (CBT)

Fixing Error 25541. Failed to open XML file