Where is the Hosts file location in Windows 8?

The Hosts files is a file that allows you to override the DNS lookups for specific domains.

Say you want to test your application that has brianseekford.com hardcoded but you actually want to run it against your local computer IP

You edit the hosts file and simply add the entry:      brianseekford.com

ALL dns lookups will now return when looking for that domain, so your browsers etc will now all redirect. It was also the old school way to do ad blocking, put in a domain you never want to resolve. i.e. ads.joe.com

Anyway, now that you know what it does, this is where to find it:


Remember, open notepad as Administrator FIRST, otherwise you wont be able to save.


Temporary fix for internet for Frontier FIOS after Verizon takeover

Did you lose internet access after Fronter screwed the pooch on the Verizon take over? Personally, I am pissed at both Verizon and Frontier. Verizon was doing a fine job but got money hungry for quick capital and sold us to these clowns.

Businesses all over lost internet, phone, etc because they screwed up big time.

Well, it’s possible you might be able to get your internet working again with a little self-help.

I found that two things got me working again, but these are somewhat temporary fixes depending on how bad Frontier messes things up.

  1. You should change your DNS to googles public DNS. This means changing the way your computer/device looks up website names.

i.e. when you type in google.com it has to look up google.com in the DNS system to get the IP address of the website. Then you go to the IP. Frontiers DNS seems to suck a  big nut and not work, so you get a “domain not found” etc error. If you are getting that error, this may resolve your problem.

If you are a somewhat tech: The DNS IP’s are simple. and

If you need more help setting it, Here is a link so I don’t have to type it all out:

How to Switch to OpenDNS or Google DNS to Speed Up Web Browsing


Now the second thing you will need to do is log in to your router. I hope you remember the credentials. If not, reset the bad boy and use the defaults for your router model. You should be able to look those up.

I use a Verizon ActionTec router.

What you need to do is release and renew the lease on the IP address in your router on the WAN. Sounds complicated right? It isn’t. It’s more complicated getting to the screen.

Here is a link that may help:



Realistically, just type in your Router model on the back of the router and google How to Release IP Address on X.


I wish I could help more, but I am pretty slammed and just wanted to point out there may be a fix. It worked for me. At least my stuff works now, but only the devices I can change the DNS on. I still have to release and renew every few days as well.


So, in summary:

Change your DNS to and

Release and Renew your IP on your Router.

Ideally, also set the DNS on the router on the WAN and LAN to the IP addresses above as well for devices that automatically use the DHCP supplied IP.


-Happy Networking


Oh yeah, Frontier SUCKS and they haven’t changed my mind on that.






LogMeIn Can’t install DPMS enabled monitor driver – Fix

I was using LogMeIn and I disconnected one of my monitors when we moved to a new office. Just haven’t hooked it up yet. I also installed the new NVIDIA drivers, so haven’t figured out the root cause of the DPMS error yet.

Anyway, I  couldn’t blank my screen when I logged in and the LogMeIn DPMS driver installation failed every time.

It turns out the fix was pretty simple. LogMeIn by the way is no help, which is why I am posting this here.

Right click My Computer -> Manage.

Go to Device Manager.

Go to Monitors.

Uninstall each monitor. Right click, hit uninstall.

After you removed EVERY monitor.

Click the computer name at top, Right click and hit Scan for Changes.

Now. Log out and back in. Honestly, you can hit the Blank Screen toolbar button in LogMeIn and it "should" prompt to install the DPMS drivers. If not, log out and remote back in.



Are you tired of changing your password at your company?

Some company’s require you to change your password all the time. This is probably a good idea from a security perspective, but can also be really annoying. I wrote a proof of concept application that you can use that will change your password for you and revert it back to your original. Basically, a way to keep your existing password but make the domain computer think you just changed it.

NOTE: If this violates your company policy, don’t do this. I accept no liability for your actions. This program is simply showing you that it can be done, and quite easily.

Just run it, type in your current password and it will reset the timer on your password.


How does it work? It will keep changing your password by appending a new letter of the alphabet to your original password over and over. a,b,c. etc. This is to purge the history of your original password. The program then sets it back to your original. It takes about 10 seconds to run.

Note, it uses windows APIs and your credentials aren’t sent anywhere. Disassemble the app if you want to verify it.

 Download Keep My Password Here

Happy coding!

Windows 7, Cassini and Firefox run slow as molasses together…..

I have been developing on Windows 7 64-bit for a couple of weeks now and really like the Windows 7, but wow have my web applications run slow. I figured I would debug the issue later as maybe it was my data layer running slow. Each time I would execute a page refresh, load, navigate, whatever, it would take 2 seconds. Doesn’t seem like much, but when you click a button on a page 2 seconds is a very long time to watch it hang.

So, after getting sufficiently annoyed and impatient I was able to find that it was my app but was Firefox. Apparently Firefox has some sort of issue with IPv6.

The fix is amazingly simple.

  • In the address bar type ‘about:config’
  • Filter by ‘v6’
  • Disable ipv6 support.
Screenshot of option to disable/enable
Screenshot of option to disable/enable

Thanks to Peter Gregory for the help.

WCF Service failing with “The server has rejected the client credentials”. Why doesn’t the server like me?

I spent the past couple of days dealing with faultexceptions being thrown by our WCF service that was being consumed by our Indian team. It worked for all the US teams, but for some reason the Indian team kept getting faultexceptions on the service. The proxy seemed to disguise the error and was throwing an error about the channel being in a faulted state.

So down the rabbit hole I go. I created all sorts of test rigs; to no avail. I finally get a developer to build a debug version so we can drop right into the code. He is able to find an inner exception saying, hey, I don’t like your credentials. The service didn’t have any authentication on, so I thought.

Well, lesson to be learned is the TCP services seem to default to windows security mode. Yes, surprising as it is, if you don’t set the security configuration you get windows authentication. What does this mean? As soon as a person outside of your domain tries to invoke the service, they get their butts handed to them. No service for you!

So, how  do you fix this? Easy, simple config change. Not one piece of source code needs to change.
Remember, you must change the binding on the SERVER and the CLIENT.



      <endpoint address               = "net.tcp://localhost/MyService"

                binding               = "netTcpBinding"

                name                  = "MyService"

                bindingConfiguration  = "myBinding"

                contract              = "IMyContract" />




        <binding name="tcp_ myBinding ">

          <security mode="None"></security>





So if you look at the config above, the key is the Security Mode tag. You need to go to your client and server bindings and set this to None.

<security mode="None"></security>

Once you have that set, ON BOTH SIDES, your non-domain users can actually start calling your WCF service. Remember to restart the service after you make the configuration file changes!

Joining to a domain and getting error code 1355

So…I was trying to add a computer to the domain today, a VM image, and continually got the error code 1355. What was seemingly a confounding issue turned out to be just a can’t find domain controller issue.

I changed the VM image to use bridged (direct connect) and reset the connection in the machine to reconnect and voila! The computer successfully connected.