May See Some Site Issues

You may notice some issues across the site over the next few days as I attempt to do a major cleanup of some code. You may see some stray code displayed on posts/pages as I change over my methods of inserting code into the post/page.

Please pardon the mess. Thank you.

Kaspersky JavaScript Injection

I have been using Kaspersky Internet Security for years now and have loved it. That was until I discovered something interesting earlier when I was doing some coding on my local web server. I was looking over my code in the browser and noticed a javascript was being injected into my code. It wasn’t written in by me and it was pointing to (## seemed to change a couple times.)

I decided to do a little research and it seems that Kaspersky is injecting this in all web pages over regular HTTP connections (not HTTPS connections.) After doing some testing, it was doing so many requests that it was insane, no wonder the speed of pages loading was slow. After coming across a post on Reddit by cjbnc, which describes how to disable this annoying “feature”, I went and changed the settings and retested. Guess what? No more code injection!

Kaspersky’s response to the issue is:

“In order for Plugin-less technology to work, Kaspersky injects the corresponding main.js script into all webpages that are being browsed, this is set to be changed in an upcoming patch to the program.”

I have yet to see any details or find any information that this has been addressed yet (at the date this was posted.)

I recommend (my opinion only!) if you are using Kaspersky Internet Security 2015 and up, is to disable this “feature”. Or you could use another anti-virus/security solution that doesn’t do this type of behavior (again, my opinion only!).

Rainbow Six Vegas 2 Standalone Dedicated Server Setup

Please note: Replace <gamedir> with the location of where you installed the game to.


SADS = Standalone Dedicated Server.


*** Step I – Set Up Your Server ***


Now configure your SADS by editing the




where the most important setting is to get listed in the Ubi Master Servers






after making all other changes (you can also leave them to default for now), edit




Default values on m_iRestrictedItems for those who want to leave the strange toys out of the multiplayer games are








this includes the Motion Sensor, Tear Gas, Gas Mask, GPS Device and the Radar Jammer.


Additional Maps from the Fan Pack and the Comcast Event Map are included as


;Comcast Event


;CQB Training - Dark


;Calypso Casino


;Murdertown - Dark



After you completed your initial setup you can already run the server by double-clicking the R6VegasServerLaunch.bat we’ve just edited. You should see something like


Log: Loading map.

Log: Starting network.

DevNet: TcpNetDriver local address

DevNet: TcpNetDriver public address

DevNet: TcpNetDriver NAT Type: OPEN




Log: Loading map.

Log: Starting network.

DevNet: TcpNetDriver local address

DevNet: TcpNetDriver public address

DevNet: TcpNetDriver NAT Type: MODERATE


Write down the port number behind the “public address”, in my case 26778.


*** Step II – Configure your router/firewall ***


First of all you need to configure two things:

  1. Firewall Rule
  2. Port Forwarding

Some routers might do both at the same time or configure firewall rules for you, when you configure NAT port forwarding rules, if you chose to do so. Whichever is the case, make sure both is done.

According to the official Ubi Knowledgebase you need the following ports:

Login/Matchmaking services:


Outbound TCP 3074 (generally don’t need any configuration for this)




Outbound UDP 3074-3174 (generally don’t need any configuration for this)

Inbound UDP 3074-3174 (on a firewall, you must allow inbound traffic on these ports, on a home router with NAT, must forward inbound traffic on these ports to your PC)


Custom Head:


Outbound TCP 10130 (generally don’t need any configuration for this)

Inbound TCP 10130 (on a firewall, you must allow inbound traffic on this port, on a home router with NAT, must forward inbound traffic on this port to your PC)

10130 is the default port used by the Custom Head feature. You can change this port in the Extras\Options\Multiplayer menu.


Voice Chat:


Outbound UDP 10140 (generally don’t need any configuration for this)

Inbound UDP 10140 (on a firewall, you must allow inbound traffic on this port, on a home router with NAT, must forward inbound traffic on this ports to your PC)

10140 is the default port used by the Voice Chat feature. You can change this port in the

Extras\Options\Multiplayer menu.

But now IMPORTANT; if you use your server behind a NAT-ed connection (which applies to most likely any home network and all servers which are not assigned public IPs), the server will use a high range UDP port, the one you’ve written down earlier, in my case UDP 26778:


UDP 26778, WAN IP (inbound)


which will have to be forwarded to


UDP 3074, LAN IP


thus you will have to make a NAT rule


UDP, PORT 26778, WAN IP -> UDP, PORT 3074, LAN IP


and a firewall rule which allows


UDP, ANY IP, ANY PORT -> UDP, LAN IP, PORT 3074 (WAN Interface)


All other ports can be forwarded according to the official documentation.

How To Boot Windows 7 UEFI From USB

First you will need a Windows 7 x64 ISO or DVD from which to copy the files.

Make a folder somewhere, like your desktop, and copy all the files from the ISO/DVD to this folder.

I suggest using Rufus and format the USB drive you wish to use as GPT UEFI and make sure to choose FAT32 as the file system.

Once that is done, go into the folder where you copied the files and look for the “efi” folder. Go into that folder and make a new folder named “boot”.

Now go into the “microsoft” folder in “efi” then go to “boot” in there. Copy all the files in that folder to the “boot” folder you made earlier.

On the ISO/DVD look for the folder “Sources” and use 7zip to open “boot.wim”.

Once 7zip opens up and displays the contents, go to the “1” folder. In this folder go to “Windows” then “Boot” then “EFI” and look for a file named “bootmgfw.efi”.

Extract that file to the “boot” folder you created earlier.

Rename “bootmgfw.efi” to “bootx64.efi”.

Once that is done you will now have a USB drive that will boot Windows 7 from UEFI.

Microsoft Windows 10

This post will contain the basic information needed to make Windows 10 better.

You may want to read over this article BEFORE upgrading to Windows 10 as some of these settings can be changed as you are upgrading.


How To Obtain Windows 10

First we will cover how to get Windows 10 if you don’t have the upgrade icon in your system tray or if it has yet to download/notify you of your upgrade.

You can now head over to Microsoft’s website and grab their latest Media Creation Tool (32 bit) (64 bit) from their Windows 10 site to download and create media to upgrade to Windows 10. Note: Your PC must be running genuine and activated Windows 7 or Windows 8.1. This media creation tool also works if you are running some older preview build of Windows 10 Technical Preview upgraded from genuine Windows 7 or 8.1.

windows 10 site

After Installation

Once you have installed or upgraded to Windows 10, you can then begin updating your drivers (if needed) and begin customizing your settings to further protect your privacy and to make sure your defaults are set to what you want. Note: If you have an issue with Windows Update overriding your driver updates, Microsoft has released a tool labeled “How to temporarily prevent a Windows or driver update from reinstalling in Windows 10“.

prevent update

Local Account

If you want to protect your privacy, I recommend using a local account instead of using a Microsoft account. This will disable syncing and possibly the store.

local account

Privacy Settings

The first settings we will change will be the Privacy options. We need to go to Settings then Privacy.


If you see “Some settings are managed by your organization”

some settings

Then you will need to go to Settings, Privacy, Feedback & Diagnostics


And change Diagnostic and usage data to Enhanced, like in this image.


Once that is done you can go back to the top option and continue down the options on the left. Your choices here will come down to what you want to allow and disallow. This will be based on your own personal choices. Just go through each section on the left and make your choices based on what information you would like to share and which you don’t.


Cortana is a big feature in Windows 10 but it also uses a bit of CPU power and does not use your data cautiously. You can disable Cortana and still use search as a local PC search.


Peer-to-peer Update Sharing

The next things you will most likely want to do is disable peer-to-peer sharing of updates over the internet. If you are like me and have a monthly bandwidth limit, this is a must. Go to Settings, Windows Update.


Choose Advanced Options.

update advanced

Then choose “Choose how updates are delivered”

updates local

If you have more than one computer on your network, I recommend choosing the “PCs on my local network” option.

WiFi Sense

For now, I suggest to disable it by going to Settings, Network and Internet, WiFi and then look for Manage WiFi Settings. From there you can disable WiFi Sense.

Sorry no screenshots as I don’t have WiFi in my Virtual Machine.

Keep checking back as this post will be updated over time with all the latest information I can find.