Terminal Server 2003 msiexec high cpu usage, hp upd

Ok, so this has been killing me for a while. I have a terminal server that was unable to add/remove applications in a timely manor; when I say timely, I mean TIMELY! It could take days to install Office, or HOURS to install a security patch.

I still haven't fully isolated what causes the problem to start (possibly bad printer driver). But this solution worked for me this time.

I removed these Registry Keys; which were full of HP garbage.
[HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\RefHive\Hewlett-Packard]
[HKEY_USERS\.DEFAULT\Software\Hewlett-Packard]
[HKEY_CURRENT_USER\Software\Hewlett-Packard]

I then made sure that there were no Universal Print monitors.
[HLKM\SYSTEM\CONTROLSET001\CONTROL\Print\Monitors]
[HLKM\SYSTEM\CURRENTONTROLSET\CONTROL\Print\Monitors]


References:
http://forums11.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1247687
http://forums11.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447626+1264044137399+28353475&threadId=968215

Managing Printers: Kernel Mode Drivers (version 2) are blocked on the target machine

When trying to restore printers using Printer Migrator on a windows 2003 server, you may receive this message: “WARNING: Kernel Mode Drivers (version 2) are blocked on the target machine. Disable Kernel Mode driver blocking and re-run Printer Migrator…”

1. Run Local Group Policy. Open Run and type gpedit.msc
2. Explorer Computer Configuration,
3. Select Administrative Templates,
4. click Printer.
5. On the Right pane, right-click on "Disallow installation of printers using kernel mode drivers"
6. Select Properties and check Disabled.
7. Click OK to close the Local Group Policy.