19 09, 2018

Juniper VPN client keeps disconnecting

By |September 19th, 2018|Windows|0 Comments

Are you using Juniper VPN Network Connect client but having issues staying connected? Maybe you are getting disconnected every 5-10 mins? I had this issue and it took me sometime to figure out this issue. I decided to write this blog post for anyone else experiencing this issue.

The error is: “The Network Connect session terminated. Do you want to re-connect?” “”

There is a common reason for this, when you’re on the VPN software running on your computer is trying to re-write the routing table. There are some known software packages that cause this, disable or remove the following to see if it fixes your problem:

Software Package Solution
Bonjour Service (it runs as MDNSResponder.exe), this is located in C:\Program Files\Bonjour\mDNSResponder.exe. Remove it from Add/Remove Programs
HP Software  If you’re hooked up to an HP printer remotely. This software always attempts to re-write the routing table, remove anything related to HP networking, you can keep your HP drivers but the miscellaneous software should be removed.  The only software I have left is “HP Smart”


Hope this helps you out, if you’re still having issues, please reach out to me on twitter.

20 09, 2017

Searching Azure blob storage by file extension

By |September 20th, 2017|Azure|0 Comments

Here is a powershell script to search azure’s blob storage by file extension:

28 06, 2017

Best Domain Registrar 2017

By |June 28th, 2017|General Web Development|0 Comments

Working as a web developer you encounter domains that are registered on various domain registrars. Some clients are on Google Domains, GoDaddy, Namecheap, etc. In my opinion the best registrar to use in 2017 is NameCheap.

They are a well known domain registrar founded in 2000. They made a name for them early on by allowing you to register second class TLD (.club, .info), etc.  I personally use NameCheap on a daily basis, their DNS servers are fast, support is great, friendly user interface for managing your domain names. To me it’s important that a registrar provides top class security as well. I’ve turned on 2 Factor authentication (more commonly known as “2FA”) to keep my account secure. Whenever I login there is a prompt for me to enter in the 2FA code, this is sent via an SMS text message.

As I mentioned earlier the support services are great, you can contact them via live chat, support ticket or phone.

So how much does a .com domain cost? As of June 28th 2017 it costs $10.88 for a .com domain registration for one year (this also includes the free whois guard protection for 1 year).

Visit Namecheap



27 06, 2017

Visual Studio 2017 Preview 3 is out

By |June 27th, 2017|Coding|0 Comments

Preview 3 of Visual Studio 2017 is out, learn more about this update at:

6 06, 2017

Azure Automated Login via Service Principal

By |June 6th, 2017|Azure|0 Comments

In order for this setup to work you must be an administrator for your azure subscription:

  • Create a new application registration under Azure Active Directory.
  • Generate a key for the application.
  • Assign the application to your azure subscription(s).

The community has put together an excellent how to document which will walk you though the 3 steps mentioned above, this can be found at

After performing all 3 steps, you should gather the following information:

  • Tenant ID/Directory ID: This is found under the Properties blade of the Azure Active Directory
  • Application ID:  This is found under the Properties blade of the Register application
  • Secure Key: This is found and generated under the Keys blade of the Register application

After you’ve gather all the information, plug it into this script and execute it. I’ve tested this on Azure Powershell version 4.0.2. To get your version of Azure Powershell execute the following:

Here is the script to authenticate your service principal:


12 04, 2017

Windows Subsystem for Linux (WSL) – Copy ssh key from windows

By |April 12th, 2017|Windows|0 Comments

I found myself needing to connect to github via bash on windows. But I didn’t want to have to register a new public key with github. I decided to use my existing key from Windows. To do this I simply copy the file from windows to wsl.

Here is the command I used, you might find it useful:


Make sure to use the full path to your ssh folder on windows.

30 03, 2017

Appending to your PATH variable

By |March 30th, 2017|Windows|0 Comments

If you ever need to append to your PATH variable on your system follow these instructions (Windows 10).

  • In your windows 10 search, type “system variables”, then click “Edit the system environment variables”
  • Click on “Environment Variables…”:
  • In the second list, search for a variable called “Path”:
  • Double click it and then click the “New” button and enter your new path entry and click Ok.
13 03, 2017

What’s new in Microsoft Visual Studio 2017

By |March 13th, 2017|Coding|0 Comments

Here is an excellent poster to find out what’s new in Visual Studio 2017:



10 09, 2016

Setting up Redis on a windows server and testing connectivity

By |September 10th, 2016|Coding|0 Comments

In this post I will show you how to install redis on windows and test for connectivity.



Download the latest release at

Perform the installation, leave everything as default. By default, redis should already configure your windows firewall to allow communication with the redis-server.exe file, redis server runs on port 6379 so make sure that port is opened on hardware firewalls, etc.


After the installation is complete, a window service called “Redis” is created, this is your redis server.

Browse to the installation path, on my setup this was C:\Program Files\Redis

Open the file NOT

We want to make a couple changes to secure the server with a password and set the ip address binding:

  • Setting Password: Search for the word “requirepass”, this was on line 445 in my configuration file, uncomment and set a proper password, something strong.
  • Setting IP Address binding: By default it seems the redis server is configured to only work locally, because of the one binding to the loopback interface address, you should see a line “bind”, make sure to comment this, by doing so your redis server will be bound to all ip addresses on the server.

After making these changes, restart your Redis service and check the log file server_log.txt for error, you should see something like:

“[5676] 10 Sep 09:38:35.358 * The server is now ready to accept connections on port 6379”

Testing Remote Connectivity

After installing you may want to test your remote connectivity to the redis server.

Grab a copy of redis-cli.exe in the installation folder and place on another computer to test.

I then opened a command prompt and went to that folder where redis-cli.exe was placed and issued the command:


I hope this helps! If you have any questions feel free to contact me on twitter: @tekguy

10 08, 2016

Exposing Artifacts during project build in Team City

By |August 10th, 2016|Uncategorized|0 Comments

I recently found myself in a situation where I needed to publish my artifacts to the team city’s internal nuget feed server DURING the build (not after). In order to accomplish this I had to let Team City know about my artifacts folder (or files) during the build. I simply needed to output a message. I used Team City’s Service message syntax to do this. In my build project I create another target step: