I’ve been having a strange issue with a PCMCIA card on my wife’s computer. Every time the machine is rebooted, you are required to “Scan for Hardware Changes” in device manager. It does not automatically detect that the PCMCIA card is still plugged in. After searching google high and low for a solution, I thought about seeing if I could write a script that would automatically run a hardware scan at logon. Here is what I came up with:
- Download DevCon.exe from Microsoft: DevCon.exe
- Extract either the 32-bit or 64-bit executable to C:\Windows\System32\
- Create a file called: “devcon_rescan.cmd”
- Put the following text in it:
@echo off
devcon.exe /rescan - Copy the file to C:\Windows\System32\
- Open the registry editor: Start –> Run –> regedit
- Go To: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- Create a new string value called: DevCon
- Right click the new value and select Modify. Type in the path to the batch file you made (i.e. “C:\WINDOWS\SYSTEM32\devcon_scan.cmd”)
Hope this helps somebody.
So, I am posting this everywhere and I now realize why new parents are so annoying. Last night, at 11:52pm, nearly 15 hours into labor, Rose gave birth to our first baby. She is the most beautiful thing I have ever seen. Rose had a pretty hard labor. Everything was progressing pretty quickly until baby decided she couldn’t make it down the birth canal. I am being blamed for her big head but I don’t really care now.
The doctors had to do an emergency cesarean section because of mom’s fever and baby’s heart rate. We were all scared but everything went smooth and she came out crying and breathing on her own.
I don’t know how I am going to leave her or her mom in six days. It will probably be the hardest thing I’ve ever done.