Regex: The simple approach

Regular Expressions (RegEx) can be quite complex to understand. For a simple start, I have made a "Regex for Dummies" guide, which you will find below: Simplifications In order to make it an easy start, I made 2 assumptions: As an input string, we just look at one line. Multi-line strings are excluded from this tutorial. A result can only be "True" or "False". "True" means the Regex matches the input string at least once. "False" means the Regex does not match the input string at all. Overview In Read more [...]

Windows 10: How to remove items from the Start Menu

The Windows 10 Start Menu is not as customizable as it used to be in Windows 7. While the part on the right (the tiles) can be easily removed and added by right-clicking them, the traditional part on the left (folders and shortcuts) is not customizable any more. In Windows 7, you could right-click on a shortcut and then delete or rename it. Not any more in Windows 10. There are tricks to modify the Windows 10 Start Menu shortcuts anyway. Find the instructions to do so below: Traditional Applications The Read more [...]

Windows 10: How to disable System Apps

Some Windows 10 apps cannot be uninstalled, even not with Power Shell commands. One example is the Edge browser. But you can disable those apps by renaming the folder that they are stored in. The system apps can be found in C:\Windows\SystemApps Find below the list of folders that I have renamed without any problem: ContactSupport_cw5n1h2txyewy = Get Help CortanaListenUIApp_cw5n1h2txyewy DesktopLearning_cw5n1h2txyewy DesktopView_cw5n1h2txyewy EnvironmentsApp_cw5n1h2txyewy holocamera_cw5n1h2txyewy holoitemplayerapp_cw5n1h2txyewy InsiderHub_cw5n1h2txyewy Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy Microsoft.AccountsControl_cw5n1h2txyewy Read more [...]

Windows Server: Sample uses of SETSPN

SPN means "Service Principal Name". In Active Directory you can set an SPN with the command line tool SETSPN. Find below some usage examples which I use often: setspn -Q http/www.mywebsite.com ==> Check if the SPN "http/www.mywebsite.com" exists setspn -L MyServer ==> Show all SPNs for MyServer setspn -X ==> Search for duplicate SPNs in the current domain setspn -S http/www.mywebsite-com MyServer ==> Set the SPN for a specific Server object in AD. This also checks for duplicate Read more [...]

ESXi 6.0: Upgrade vCenter from version 6.0 U2 to U3

If your vCenter has no Internet access, use the following procedure to upgrade it: Go to https://my.vmware.com/en/group/vmware/patch#search Download the VMware-vCenter-Server-Appliance-6.0.0.30000-5112509-patch-FP.iso Copy the .iso to the ESX datastore Connect the .iso file as CD ROM to the vCenter VM Login to the vCenter Appliance via Web Browser https://vcenter:5480/index.html#/update?locale=en Choose "Check updates" > "Check CD ROM" Then choose "Install updates" Once Read more [...]

Microsoft SQL Server: How to compare 2 databases

I recently had the problem that a software upgrade that also involved a database upgrade did not work correctly and the database was "half" upgraded. So I wanted to find out what data has changed in this half upgraded database. If you search the Internet, you will find many people recommending some third-party database comparison tools that cost money. But I was looking to find a legal free alternative. Actually, there is one from Microsoft itself: Go and download: SQL Server Data Tools https://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt I Read more [...]

Windows 10: Disable Picture on Lock Screen

On the Windows 10 Lock Screen, you can have either a picture or a slide show. If you would like to have a solid background, there is no option for this. Here is what you need to do: Click on the Start Menu and then type lock screen Choose "Lock screen settings" Make sure that under "Background" you have chosen "Picture" Under the pictures, choose "Browse" Browse to C: > Windows > Web > Screen Choose the blue solid picture (this is called "img105.jpg" on my machine). Click Read more [...]

Windows 10: Can't type in Search field

After I had done some changes in Windows 10 to make it faster and less "chatty" to Microsoft (switch off Telemetry, switch off error reporting etc.) I could not use search any more. Symptoms were: Can't type into Cortana search field Can't type to search in Start Menu Can't type to search in Win 10 App Store Can't type in taskbar search Can't type in Settings search There are lots people with the same or similar issues as can be seen from a simple Internet search "win 10 taskbar Read more [...]

iOS: How to turn off Voice Control when you press the Home button

A number of iPhone owners found that "Voice Control" kicks in when they try to unlock their phone. The reason for this is they are holding down the home button for too long. This is, for want of a better phrase, a pain in the face. There is a way to stop it from happening, but it's not straight forward. First things first, this is a bit tricky because Voice Control cannot technically be disabled. To get around this you must enable Siri, which overrides Voice Control. Here's a step-by-step guide. Read more [...]

Kerio Connect: Use it with free "Let's Encrypt" Certificates on IIS

"Let's Encrypt" is an organisation that provides SSL certificates for free in an automated way. While the use is simple on IIS or Apache web servers, on Kerio Connect it is a bit more complicated as it comes with its own web server. Here is how I set it up (there might be other ways, of course, please feel free to add your comments at the bottom of the page). First, download "letsencrypt-win-simple" from https://github.com/Lone-Coder/letsencrypt-win-simple This tool simplifies and automates Read more [...]

My experience with servers, networks and gadgets.