Thursday, 20 September 2012

Running HMRC Basic PAYE Tools on a network with multiple users

This post will only be of interest to UK readers.

If you run a small business, then you probably know that HMRC provide a free tool to enable you to do your PAYE calculations.  In its basic installation, it installs on a PC and stores it's data locally on that PC as well - and you can't easily move that data onto a central server for multiple user access and easy backup.

However by ringing up HMRC tech support and jumping through numerous pointless hoops, you can find out how to move the data to a location on the network that suits you better.  Here is how to do it.

First take a backup of your existing database (using the backup function inside the PAYE program) - you will need it later towards the end of this process so do not skip this step.

Navigate to the Program Files directory on the computer HMRC PAYE Tools is installed on. Go to the [HMRC] folder then the [payetools] folder. On a 64 bit PC you will probably need to look in 'Program Files (x86)'. Open the file called “bpt-sys.cfg” with Notepad.

Inside the ”bpt-sys.cfg” file, change the “userdatamode=0″ to “userdatamode=2”. Changing the userdatamode value to 2 will enable the HMRC PAYE Tools application to recognise the custom userdatadir location you specify in the same bpt-sys.cfg file (in this case, we want to store the database on the network drive instead).

Change the “userdatadir=” field to the location where you want the Database Location to be stored. In my case, it will be stored to: Z:\HMRC\PAYE where Z:\ is a mapped network drive on the server

Close and save the file.

Open up HMRC PAYE Tools, and go into [Options]
Navigate to the [Application Settings] tab at the top and you’ll now notice the “Database Location” field has now changed to the location you specified in the bpt-sys.cfg file earlier.

You can also modify the “Backup Location” to be stored on the server as well rather than on the local computer.

Now restore you database back and your HMRC PAYE Tools database should now be stored on the network drive instead.

With thanks to whoever posted this guide upon which these instructions are based

Sunday, 12 August 2012

SBS 2008 Slow Shutdown

Let me be clear from the start that I am not claiming credit for this; That goes to a chap called Gordon Carlisle who posted this solution to SBS 2008 slow shutdown in his own blog a while ago.  I'm just repeating it because it is so useful and it has helped me.

Consultants like myself often bemoan the fact that some SBS 2008 installations take an age to reboot. In my experience, taking 10 minutes to shutdown is not unusual.  I knew that it was Exchange causing the problem but had not realised the solution was so simple.  All you need to do is add a script to shutdown in group policy that will shutdown Exchange first.

First create a file named Exchstop.cmd and save it to C:\Windows\Exchstop.cmd. In this file needs to be the following.

net stop msexchangeadtopology /y
net stop msftesql-exchange /y
net stop msexchangeis /y
net stop msexchangesa /y
net stop iisadmin /y


Now in the Default Domain Controller Policy go to

Computer Configuration > Policies > Windows Setting > Scripts > Shutdown

Click Add and browse to c:\windows\Exchstop.cmd

Click OK

Now see how fast your server shuts down.

Internet Explorer opens then immediately closes

This one has been driving me mad for a few days.  I have a customer's PC on the workbench and the one remaining problem is that when you open Internet Explorer, it flashes up for a fraction of a second then immediately closes again.  Because of this, I can't even run Windows Update.

The PC is running XP SP3 and has IE8 installed.  I tried resetting IE8, I tried reinstalling IE8 all to no avail.  None of the suggested Microsoft fixes worked.

Whilst trawling the web for a solution, I came across a fix suggested by Kai Schätzl who has written a simple program that re-registers all the dll's that IE uses.  And it worked a treat!!  The fix apparently works on IE7, 8 and 9 and on XP, Vista and 7.  It supports both 32 bit and 64 bit Windows and IE.

So if you have the same problem, go here and grab the fix.  Thanks Kai.

Tuesday, 19 June 2012

Westen Digital warns of fake hard drives on sale in the UK

Buyers beware.  This text is taken from the PCR news site. It was written by Matt Grainger and was published on 11 June 2012.

UK retailers need to be on the lookout for ‘too good to be true’ deals involving Western Digital hard drives.

The vendor has acknowledged the presence of fake internal and external hard drives in the UK channel and talking to PCR, one WD executive revealed that the vendor had first become aware of the issue when some faulty devices were returned. When the serial numbers were checked, they were found to have been fake and therefore ineligible for warranty – leaving the retailers out of pocket.
Apparently, the process of identifying where the devices were being brought in was a relatively simple process but due to ongoing legal investigations, we are unable to identify the companies involved.

“WD is aware of the situation that some faked drives were discovered in the English distribution channel; we are taking this very seriously and are currently carrying out an investigation. All parties involved have co-operated fully with WD’s investigation of this matter – the numbers we have seen or heard are extremely small in proportion to many millions of drives we ship quarterly,” said Western Digital’s EMEA head of public relations, Daniel Mauerhofer.

“Specific to this case, internal hard drives are at issue, and they were easily determined to be fake due to inaccuracies on the drive labels. We don’t believe this is a completely new problem. WD is making a concerted effort, with the help of law enforcement agencies, to protect consumers from WD hard drive counterfeit activity. The flooding in Thailand last Autumn was not a starting point, and we can’t say for certain whether or not it has increased those illegal activities. WD is recommending to buy through authorised distribution channels.”

Thursday, 29 September 2011

Does Worcestershire need better Broadband


I received an email from the Federation of Small Businesses (FSB) today about broadband in Worcestershire.  It links to a survey being carried out by Worcestershire County Council.  I would encourage local people to fill in the survey and tell WCC about their broadband experience so that we can get the system improved.
The FSB email said:

Broadband is undoubtedly a necessary tool for most businesses today. However, some areas in Worcestershire suffer from slow speeds and in a few cases are still working on dial up!

The Government is well aware of the situation and has appointed BDUK to work with local authorities across the country to find out what the current situation is and evaluate which areas are of priority.

BDUK is quite clear about the measure it will use to identify the areas which need Broadband the most – DEMAND!

Every business and domestic address in Worcestershire should register their demand so that the county becomes a high priority.

To register your demand visit the links below and complete the short survey – if you have a residence and a business premises please complete both surveys as home responses will outnumber business.

Residents' survey

Together, we can make a difference.

Yours sincerly
Judi Brazkiewicz
Chairman, FSB Worcesteshire 

Friday, 15 April 2011

IIS Grabs all IP addresses

I hadn't realised until today that if you install multiple NIC's or add additional IP addresses to an existing NIC on a machines running IIS, that IIS will grab all those IP addresses.

This was causing me a problem with a media server that i wanted to run on my SBS 2008 machine.

The answer is to tell IIS to listen only on a specified address by issuing

netsh http add iplisten ipaddress=required_ip_address

from a command prompt and rebooting.  You can then tell your media server to only run on one of the other addresses and all should be well.

Monday, 14 February 2011

Problems with Visio 2010 and Access 2007

Today I was asked to install Visio 2010 on to a customer's PC that already had Office 2007 Professional installed.  Knowing that there can be problems with having different versions of Office installed on the same PC, I did a custom install and put Visio 2010 in a separate Program Files folder to the rest of the Office suite.  This normally stops the various versions from fighting with each other.

Alas, in this instance it didn't work.  Once Visio 2010 was installed, Access 2007 refused to open any databases that 15 minutes earlier worked just fine.Visio 2010 on the other hand worked fine.

Running the Office 2007 diagnostics fixed the problem in Access but guess what.....

Next time Visio 2010 is opened it reconfigures itself and breaks Access 2007 again.  What joy!!

A bit of Googling led me to this article .  It turns out that installing Visio 2010 installs a newer version (V14) of the Access Database Engine.  Unfortunately Access 2007 needs V12 to work properly.  To cut a long story short, these two programs, it would appear, cannot be made to live together.  It's one or the other.  Way to go Microsoft.

The thing that surprises me is that the boffins at Microsoft don't see this as a problem and quite seriously suggested doing a repair (which can take 15 minutes) everytime you want to use Access.  I don't think so.

Anyway, I sorted it by putting Visio on a machine that had the 2010 Office suite on and all was well.  Luckily I had that option open to me.  Some offices I visit wouldn't.