Category: Tech

Microsoft Edge taking over default applications

Posted by on July 3, 2017 | No comments

I’ve seen a lot of blogs and articles on Edge repeatedly taking over some default file associations.

“An app cause a problem with the default app setting for .pdf files, so it was reset to Microsoft Edge”

Yeah, thanks for that.

There are no really good ways to disable this. Most of the blogs note that you need to set a couple of registry values on Windows 10 and that stops the problem from re-occurring. The problems I have on an Enterprise Admin level, is that these solutions are very manual (sure a few of them give you some .reg key file you can import) and they make a basic assumption that some of the application versions and AppIDs will never change.

So I’ve written a little bit of PowerShell to get the AppID from the current version(s) of Edge and remove the association.

» Read the full post

Tags: , , , ,

IIS HTTPS Security

Posted by on December 3, 2015 | No comments

Recently I’ve been looking at the security of the internet facing systems at work. It’s amazing how many bits of software by default still ship with massively insecure settings.

One of my main focusses has been IIS, and as such the related software we use that is built on top of IIS – Forefront UAG and Forefront TMG.

There is a fantastic website from Qualys that will scan an HTTPS server, check the certificate and all the various options around ciphers in use and what capabilities are/aren’t available and then give you a score based on current best practices. This is also updated quickly and takes into account things like the Poodle vulnerability.

You can visit their SSLLabs site to check the current status of this site, or check your own.

There are a number of articles on the web (and on SSLLabs above) dealing with disabling SSLv2 and SSLv3, which is great but isn’t actually sufficient, and remembering to set all of these things is quite tedious.

I was pleasantly surprised to discover a fantastic powershell script that sets all of the required registry entries for Windows servers to allow you to score an A rating.

It’s important to point out that all of the latest and greatest security options for HTTPS will actually break backwards compatability with some earlier Android handsets, and (shock!) Internet Explorer 6… I’m not going to cover off any changes required if this is important to you, because it shouldn’t be.

Anyway, hass.de has a fantastic script to fix your Windows server schannel security settings. A reboot is required to take effect.

You can read about their options and download the scripts to get your Windows servers an A rating from https://www.hass.de/content/setup-your-iis-ssl-perfect-forward-secrecy-and-tls-12. They also cover the option you can change if you want to get an A+!

Tags: , , , , , ,

Upgrading Office from 2010 to 2013 using SCCM

Posted by on January 2, 2015 | 4 comments

New year – new drive to try and keep updating my blog…

I’ve recently been exploring the challenges in our environment around upgrading from Office 2010 to Office 2013 using System Center Configuration Manager and thought it would make a good blog post.

I’m NOT going to cover creating a 2013 package/application for SCCM deployment as this has been done extensively elsewhere.

What I am going to cover is the install script for Office 2013 taking into account some of the specific environmental issues I face.

We have over 100 sites spread all over the global. The majority of these are small (<10 machines), with no onsite servers, connected via VSAT and so suffer from low bandwidth and high latency connectivity. As such, the prospect of re-copying my Office 2010 install package AND my Office 2013 package was not attractive. Especially as once all of the updates, SP1 and language packages had been included in the base install it exceeded 5Gb in size…
» Read the full post

Tags: , , , , ,

SCE2007 Failed to install agent

Posted by on July 6, 2010 | 3 comments

I’ve been doing more and more work with the System Center product suite of late, and suffice to say I have some big loves and some big hates about the whole thing.

My recent hate is System Center Essentials 2007. Thankfully, I actually quite like Essentials 2010.

Anyway, while installing the SCE2007 agent the other day, I encountered an odd error message while trying both a push install and a local install of the agent.

Error 25211.Failed to install performance counters.. Error Code: -2147023886 (The configuration registry key is invalid.).

Sadly, there’s not a lot on the web in relation to this error. The only pointer that might have helped was this technet article: How to manually rebuild Performance Counter Library values.

This starts out pretty nasty, involving copying files from your install media and hacking about in the registry, which Microsoft always massively caveats. The one item of help on the page was the command:

lodctr /R

According to the help, this will rebuild the perf registry strings and info from scratch based on the current registry settings and backup INI files. And accorting to the KB article: “/R is uppercase. You must have administrative rights on the computer to successfully perform this command.”

That did the trick for me and completely avoided all the nasty work of actually finding the install media for this server 🙂

I’ve included below a larger chunk of the installation error log below which will hopefully help people find this page via searches.
» Read the full post

Tags: , , ,

EU Browser choice debacle

Posted by on March 13, 2010 | No comments

Theres been quite a bit of chit chat about this update that Microsoft has now released.

My personal opinion is Microsoft shouldn’t have been forced to release this. If you FORCE a choice for a web browser, you should also force a choice for every single application that comes with Windows.

Additionally, I fail to see why people should be forced to pick from a number of free products. Perhaps a better option would be for Microsoft to allow third parties to produce branded versions of Windows and then users can make their initial choices at the point of purchase.

This, of course, assumes a level of knowledge of the end users so questions like “where have all my favourites gone?” don’t happen…

Anyway, this was supposed to be a vaguely technical post and not a rant.

So, as a systems administrator, how do you block this update?

If you are using an internal update server such as WSUS or SCCM (which I love), then you have the simple option of not approving the update for release.

Otherwise, Microsoft have released a KB article showing a simple registry key that can be set to prevent the Browser Choice screen running – KB2019411.

So, as a sysadmin, how do you implement this?

Well, you can custom roll a Group Policy to set this as a preference on your client machines. I’ve written some GPOs before, but in this case I’ll simply direct you to this blog post by Christoffer Steding where you can download his version.

However, in my opinion, a much more graceful group policy to set is a software restriction policy. This has been documented by The Angry Technician.

Tags: , ,

Powered by Wordpress and Stripes Theme Entries (RSS) | Comments (RSS)