29 May 2007

08 May 2007

Solution: Vista asks for drivers when inserting an USB drive

I recently had the following problem: When inserting a USB drive (or any other USB hardware), Windows Vista did not find its drivers automatically and asked me to insert the CD that came with the hardware. The temporary solution was to ask Windows to search in "c:\Windows\System32". However, although Windows did find its drivers there, and installed the device correctly, it did not remember that path and it had to be given every time (and often several times) a new pen drive was inserted.

Now, I finally found the solution and just wanted to write it down in case I (or anyone else) should ever need it again. The solution was found on this page and said:

XP asks for drivers or just want to install new hardware

XP comes with drivers for USB mass storage. If it asks for drivers then it has forgotten where they are...
Start the Registry Editor (Run -> Regedit). Check if under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
\Windows\CurrentVersion the item 'DevicePath' points to '%SystemRoot%\inf'. Additional items, separated by semikolons, are ok but '%SystemRoot%\inf' has to be one of them.
Then delete the file C:\WINDOWS\inf\infcache.1 - XP will recreate it.
Another thing to check is if the values 'FactoryPreInstallInProgress' and 'AuditInProgress' are set to '1' under
HKEY_LOCAL_MACHINE\SYSTEM\Setup
and
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Factory
. They should be 0 or non present.


Although this was written for Windows XP, it worked on Vista. Specifically deleting C:\WINDOWS\inf\infcache.1 was what made the trick for me.

04 May 2007

Correo curioso

Recibí hace un par de semanas el siguiente correo electrónico: [El nombre ha sido cambiado para proteger el presunto culpable.]

FROM: Nando C R <[email protected]>
TO: [email protected]
DATE: Apr 25, 2007 12:54 PM
SUBJECT: Consulta

Hola Magnus,

He estado viendo tu web y he visto que eres programador en .NET y me preguntaba si estaría interesado o conoce a alguien para realizar un pequeño proyecto de fin de carrera, por motivos laborales me es imposible el poder realizarlo yo y estoy buscando un programador que quiera ayudarme, evidentemente será pagado adecuadamente. Muchas gracias




Si, "Nando", me encantaría hacerte tu proyecto. Mándame la información de contacto de tu profesor y me pongo en contacto directamente con él para que me explique de que va.