Archive for the ‘windows’ Category

Office files won’t open from a shared drive but DO if copied locally

February 1, 2016

Weird would be a good word here…

Anyway long story short (as always) it was caused by corruption in the OFFICE profile – location found below.

Just rename the office folder – of course making sure you don’t have any office apps open at the time.

  • Rename %APPDATA%\Local\Microsoft\Office to something like Office.old.

Open Word (or Excel, etc.) by it’s self (not loading a file) and then close the application.

Then go open that pesky network file and it should fix it.


VPN’s & DNS riddles

December 9, 2015

So you setup a VPN and it works. Well it kinda works. You connect and can ping but you can’t use DNS right? You can’t ping “remoteserver” but you can ping

Simple… just add the VPN’s DNS sever right? Sure that should work… but it doesn’t does it?

Grrr annoyed you add an entry to the hosts file! WTH? Who uses that anymore anyway? But it STILL doesn’t work!

Ahh forget it. They can just remap their drives using an IP address.


Here’s how to fix it! Yay. I finally got tired of this issue and spent some time getting it to work. So before I ramble on any longer here’s the fix;

  • Open properties on your VPN connection.
  • Go to the Networking Tab
  • Bring up TCPIP (v4 – for now)
  • Advanced
  • DNS
  • If you haven’t already, then add your VPN’s LAN DNS server in the first field under “DNS server addresses”
  • In the second field you want to append these DNS suffixes
  • Add in here the FQDN or something like mylocaldomain.local (or what ever your local AD domain is)

Worked for me.

DNS changes in DHCP

December 3, 2015

This is something that might help for future reference. Something I very rarely have to do but would helpful for other people and a good reference.

Specifically changing where your DHCP client points DNS requests to.

  1. Open DHCP Manager
  2. Drill down to the scope
  3. Open Scope Options
  4. double tap DNS Servers
  5. Add your new shiny server and move it to the top of the list
  6. Click OK and you’re done

Microsoft LLDP woes

December 22, 2014

One of the stranger problems I have come across.
When I boot up the PC neither Wifi nor Ethernet work. they connect ok but have no IP address.
I ruled out Hardware issues as well as router/DHCP issues so it comes down to Windows and more narrowly to Microsoft LLDP protocol driver.
When I enabled this and disabled it the NIC came back to life. Weird huh? If I reboot the problem comes back…
Anyway as a short term fix I created a script to fix this issue;

Echo off
cd \it\nvspbind
nvspbind “Ethernet” /e ms_lldp
Echo Recalibrating…
ping -n 5 -w 1000 > nul
nvspbind “Ethernet” /d ms_lldp

Now you will need to download NVSPBIND from Microsoft to do this but it’s worth it and I can confirm it does work.

Download it here;

When you download it, it will give you all the arguments you can add.

My example above is on a network device called Ethernet and I put a little “wait” command in there (which is the ping!) then disabled it again. Also I downloaded NVSPBIND to a folder called c:\IT\NVSPBIND.
This worked like a charm for me.

Print spooler /service keeps stopping?

August 15, 2014

Probably due to some funky files sticking around when they have out lasted their welcome…

  • Stop the service (if it’s not already)
  • Start > Run > %WINDIR%\system32\spool\printers
  • Delete all the files there
  • Start the Print service
  • Problem Solved


Windows Error Reporting (aka Space hog)

June 24, 2014

I had a server with critically low space on the OS partition. During my investigation into what was taking it all I can across Windows Error Reporting, or WER for short.
Located here;
I found I had gigabytes of data there, and this is in essence for Microsoft’s benefit. They sign you up by default.
So not only can you delete anything under that folder but you can also turn it off;
Open Server Manager and scroll right to the bottom under Resources and Support. Right there, is an entry “Report issues to Microsoft and get solutions… blah blah”. Well turn that puppy off and it will no longer build up tons of data on your OS partition.

Roaming profiles work on some PC’s and not others…

December 10, 2013

Yeah that’s what I thought. I went through all sorts of hell trying as many things as I could think of and when I hit the answer, I just figured I’d throw it in here before I delve too deep into why on some and not on others.

The fix;

  • It’s basically a DNS problem.
  • I pointed the problem computers (and eventually all the computers) to the Domain Controller that held the roaming profile data and boom, it worked.

More rambling stuff;
So I tried adding the server address with the roaming profile data to the host file of those machine and even the domain to the hosts file but neither of those made any difference.
I cleared the cache, I renamed the old profile and recreated it, I compared all the settings on one machine to the other as well as the Active Directory Account details and all seemed fine…

Windows Firewall won’t start

November 16, 2013

Specifically with an Access Denied response in the Event Log.
Strange as this sounds, the “service user” doesn’t have access to start the firewall.
To fix do this;

  1. In Registry Editor, browse to the key HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess
  2. Right click SharedAccess, and click Permissions.
  3. Click Add.
  4. In the “Enter the object names to select” field, type “NT SERVICE\mpssvc”. Then click Check Names. The name should change to MpsSvc
  5. Click OK.
  6. Select Full Control in the Allow column.
  7. Click OK.

Full props go to this website where I found the solution –

Seize Active Directory Roles

November 1, 2013

Sometimes, things go wrong faster than you expected or planned for.
To that end, on with the seizing roles from other Active Directory roles!

On the server you want to move the roles to do this;
Run the command prompt as admin
type the following;

  1. ntdsutil
  2. roles
  3. connections
  4. connect to server <your new server name>
  5. q
  6. ? (this will give you the commands you can run and let you know which roles you can seize) example; seize schema master

It will try to do all this in a nicey-nice way but if the current DC is offline it will fail and the seize the role.
I have probably now done this, I would guess, about 3 times in my current 20 years of IT experience.
It’s not likely you will need this very often… hence the blog post!