Finding device drivers with the PCIDatabase

Imagine you have a “No name brand” Ethernet card, without a driver disk or CD.

You plug it into your computer, and Device Manager can’t find the drivers for it.  If you get the Vendor ID and the Device ID from the Hardware ID Property Field in Device Manager:
Device Manager

And then you take those ID’s; and do a search with the Device ID on

After you press Search, you get results like these:

You can see multiple devices were returned for Device ID 1681.  But if we check the Vendor ID, we can see we have a Broadcom 57xx Gigabit Integrated Controller.  So we can now go to the Broadcom site and grab the correct Ethernet driver.

VS2010 & .Net 2 Framework Selection

.Net 2 is not the default framework option …  No, you get .Net 4.  To change it, you select Project / <your project name> Properties / Compile / Advanced Compile Options, and select the Target Framework you want.
WinXP SP3 WS2010-2012-03-07-12-50-14

I prefer to use the .Net 2 Framework as it’s the lowest common denominator on the systems I write code for.  And yes, I documented this, as I can’t remember where the option is, and Google Search wasn’t my friend at the time.

Files to delete when imaging a system.

Such as when you use the GHOST disk imaging product.  This is a revision of a post I wrote back in November 2009, and it’s about time to update it.

So here is the revised list I files I delete when I GHOST/image a system:

Directories to clean up:

%PROGRAM FILES%\CA\SharedComponents\PPPPRealtime\Logs
%PROGRAM FILES%\CA\SharedComponents\PPPPRealtime\Logs
%PROGRAM FILES%\CA\SharedComponents\ScanEngine\Logs


Files to delete
Dos data.sf

System Restore Points.
The best, and safest way I have found to clear the System Restore cache is to
a) Turn it off, click ok on the “System Restore is going to delete it’s restore points” and then
b) Turn it back on.

If your replace your iPhone device, you can say goodbye to Google Sync.

My iPhone had a dying battery, so the iPhone was replaced under warranty.

Then I restored the iPhone setting from backup, and all seemed to work ok.

Except for email, wasn’t getting any.

I checked the email settings, and the iPhone verified they were correct, and I could connect to the Google Mail servers:
Google Sync Broken

After much Googling, I worked out what was going wrong.

  • The “Exchange” email account setting uses Google Sync.
  • Google Sync was discontinued as a “free” feature on 30th January 2013.
    ”Starting January 30, 2013, consumers won’t be able to set up new devices using Google Sync.”
  • “new devices”, includes my replacement iPhone.

There are alternatives; what I did was on my iPhone was:

  • Created new Gmail accounts to replace the Exchange account on my iPhone.
          Gmail account setting
  • Setup CardDAV.

It works.  But I wasn’t happy with having to do it Google.

What happens if my Windows Domain time clock is fast …

… and I want to change it back?

It depends on the operating system.

The latest documentation from Microsoft states


Registry path

Windows XP, Windows Vista, Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, and Windows Server 2008 R2

This entry specifies the maximum offset (in seconds) for which W32Time attempts to adjust the computer clock by using the clock rate. When the offset exceeds this rate, W32Time sets the computer clock directly. The default value for domain members is 300. The default value for stand-alone clients and servers is 1. …

The article goes on to show you, with a formula, how to calculate what will happen if you change your time clock.

How Windows 2000 did it


How to hide a disabled device from Device Manager.

Under Windows XP at least, you use the Windows Driver Kit utility, Device Console Utility (Devcon.exe)

C:\>C:\WDK\devcon remove *SMS_DISPLAY
ROOT\*SMS_DISPLAY\0000                                      : Removed on reboot
Not all of 1 device(s) removed, at least one requires reboot to complete the operation.


(in the above example, I’m removing a Disabled SMS Mirror Device)

The DevCon remove command:

Remove devices that match the specific hardware or instance ID.
This command will only work for local machine.
Specify -r to reboot automatically if needed.
Examples of <id> are:
*                  – All devices (not recommended)
ISAPNP\PNP0501     – Hardware ID
*PNP*              – Hardware ID with wildcards (* matches anything)
@ISAPNP\*\*        – Instance ID with wildcards (@ prefixes instance ID)
<class> is a setup class name as obtained from the classes command.

You can download a copy of DevCon via here:
Microsoft Technet Wiki: How to Obtain the Current Version of Device Console Utility (DevCon.exe)

Changing the remote key battery on a Hyundai Getz 2006-2009 model

You’ll need:

  • a Panasonic CR1220 battery, or equivalent.
  • a Pozidriv PZ00, or similarly sized, phillips screw driver.
  • a bowl

Key in bowlTaking the key apart is self-explanatory, just undo the screws.

This is where the bowl comes in.  You want to unscrew the screws in a dish, or a tray.  This is because they are about the same size as a pencil lead tip.

And if you drop them on carpet, you’ll waste time trying to find them.  Drop the screws onto a tiled floor, and they’ll bounce and bounce and bounce away.

Gently lever the battery out, and place the new battery in.

Put the screws back in, and you’re done.

iPhone call diversion

iPhone Call Forward PropertiesFor some strange reason, the call diversion features on the Apple iPhone are a bit lacking.

On Android, you’re able to easily set diversions based on “No answer”, “Busy” & “Not contactable”.

On the iPhone, the options aren’t there.  So you need to set the diversions the old fashioned way.  Using the GSM Feature Codes.

Function Dial
Divert all  
Activate divert all **21*<voicemail>#
Deactivate divert all ##21#
Query divert all *#21#
Divert on no answer  
Activate divert when no answer **61*<voicemail>#
Activate divert when no answer after X seconds **61*<voicemail>**<xx>#
Deactivate divert when no answer ##61#
Query divert when no answer *#61#
Divert when not reachable  
Activate divert when not reachable **62*<voicemail>#
Deactivate divert when not reachable ##62#
Query divert when not reachable *#62#
Divert when busy  
Activate divert when busy **67*<voicemail>#
Deactivate divert when busy ##67#
Query divert when busy *#67#


And for completeness, some other GSM Feature codes.

Function Dial
Own number *#100*
(Telstra network: a menu is displayed)
HLR number *#101#
(Telstra network: Messagebank calls you)
Switch number *#102# or *#105#
Network time *#103#
Voice mailbox number *#104#
Last call *#147#