Wednesday, July 30, 2008

I Fix Things: Windows Defender Corrupt - 0x80070006

Windows Vista has actually managed to work pretty well for me thus far. With one or two exceptions, I'd say it's pretty solid, and in my experience with it, I haven't found it deserving of the "buggy mess" label a lot of folks seem to have pinned on it.

One thing I can't figure out, however, is why they decided to integrate Windows Defender into the operating system. Don't get me wrong, Defender is decent software (if a bit unremarkable, I use it more for detection that actual removal, since I haven't seen it remove all that many things that Spybot, Adaware, or HiJackThis weren't able to root out), but streamlining it into the system has the disastrous side effect of making it:

a) Impossible to remove, should you not want to use it
b) Extremely difficult to troubleshoot or repair, should there ever be a problem with it

I recently had to use System Restore, due to a poorly created MSI file I decided to test on my machine. Once the process had completed, Windows Defender has broken itself. Upon system startup, I would receive an error message reading "Application failed to initialize: 0x80070006. The Handle is invalid". Most of the methods of troubleshooting Defender that I've seen on the Internet require the user to be able to open Defender in the first place. The program files are all there, it seems as though Defender should work, but there's no 'Windows Defender' service listed under Windows services, and there's no way to open the program.

Luckily, after doing some research (and calling Microsoft, but that was an exercise in futility), I've found the answer to my problem.

The problem lies in corrupted registry settings for the program. If you have a similar problem to mine (Defender in Vista seemingly installed, but getting a "can't initialize" error), try the following (originally posted here by cdninja)

Step 1: Back up Registry ==================

1. Click Start, type "regedit" (without quotation marks) in the search bar and press Enter.

2. In the Registry Editor, click File menu, and click Export.

3. In the Save In list, select the folder where you want to save the backup. 4. In the File Name box, and type a name for your backup file, such as "Options" or "Backup".

5. Click Save.

Step 2: Create and Run the Registry File ==================

1. Click Start, type "notepad C:\register.reg" (without quotation marks) in the Search bar, and then click OK. Choose Yes when you are prompted to create a new file.

2. Copy the following texts between the star marks and then paste them into the opened Notepad window:

************************BEGIN**************************

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend]
"DisplayName"="@%ProgramFiles%\\Windows Defender\\MsMpRes.dll,-103"
"ErrorControl"=dword:00000001
"Group"="COM Infrastructure"
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
6b,00,20,00,73,00,65,00,63,00,73,00,76,00,63,00,73,00,00,00
"Start"=dword:00000002
"Type"=dword:00000020
"Description"="@%ProgramFiles%\\Windows Defender\\MsMpRes.dll,-3068"
"DependOnService"=hex(7):52,00,70,00,63,00,53,00,73,00,00,00,00,00
"ObjectName"="LocalSystem"
"ServiceSidType"=dword:00000001
"RequiredPrivileges"=hex(7):53,00,65,00,49,00,6d,00,70,00,65,00,72,00,73,00,6f,\
00,6e,00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,\
65,00,00,00,53,00,65,00,42,00,61,00,63,00,6b,00,75,00,70,00,50,00,72,00,69,\
00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,52,00,65,00,73,00,\
74,00,6f,00,72,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,\
00,00,00,53,00,65,00,44,00,65,00,62,00,75,00,67,00,50,00,72,00,69,00,76,00,\
69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,68,00,61,00,6e,00,67,\
00,65,00,4e,00,6f,00,74,00,69,00,66,00,79,00,50,00,72,00,69,00,76,00,69,00,\
6c,00,65,00,67,00,65,00,00,00,53,00,65,00,53,00,65,00,63,00,75,00,72,00,69,\
00,74,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,\
00,00
"FailureActions"=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
00,01,00,00,00,60,ea,00,00,01,00,00,00,60,ea,00,00,00,00,00,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend\Parameters]
"ServiceDllUnloadOnStop"=dword:00000001
"ServiceDll"=hex(2):25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,\
00,6c,00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,\
20,00,44,00,65,00,66,00,65,00,6e,00,64,00,65,00,72,00,5c,00,6d,00,70,00,73,\
00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend\Security]
"Security"=hex:01,00,14,80,04,01,00,00,10,01,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
00,00,02,00,d4,00,07,00,00,00,00,00,28,00,ff,01,0f,00,01,06,00,00,00,00,00,\
05,50,00,00,00,b5,89,fb,38,19,84,c2,cb,5c,6c,23,6d,57,00,77,6e,c0,02,64,87,\
00,0b,28,00,00,00,00,10,01,06,00,00,00,00,00,05,50,00,00,00,b5,89,fb,38,19,\
84,c2,cb,5c,6c,23,6d,57,00,77,6e,c0,02,64,87,00,00,14,00,fd,01,02,00,01,01,\
00,00,00,00,00,05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,\
05,20,00,00,00,20,02,00,00,00,00,14,00,9d,01,02,00,01,01,00,00,00,00,00,05,\
04,00,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,06,00,00,00,00,\
00,28,00,15,00,00,00,01,06,00,00,00,00,00,05,50,00,00,00,49,59,9d,77,91,56,\
e5,55,dc,f4,e2,0e,a7,8b,eb,ca,7b,42,13,56,01,01,00,00,00,00,00,05,12,00,00,\
00,01,01,00,00,00,00,00,05,12,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend\Enum]
"0"="Root\\LEGACY_WINDEFEND\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001

*************************END***************************

3. After you paste the above commands, please close the Notepad window. Choose Yes when you are prompted to save the file.

4. Save the file as a REG file of any type (defenderfix.reg was what I called the file, but any name will do, just make sure the file is a REG file, and not a TXT file)

5. next double click on the new file.

6. When you receive a message box asking "Are you sure you want to add the information in the REG file to the registry", choose "Yes"

7. You will receive another message box saying "Information in the REG file has been successfully entered into the registry", please click "OK" to confirm.

8. Restart the computer.

 

The process worked for me. Let me know if it works for you.

Sunday, July 27, 2008

Old Music Video: Broken Social Scene - Almost Crimes

I find that with YouTube and the vast majority of music videos that have been created at my fingertips, I find myself watching Broken Social Scene's "Almost Crimes" music video a ridiculous number of times.

The song (off their fantastic 2002 release You Forgot It In People) is one of the more straight-forward rock songs that the band has created, and has a fantastic interplay between singers Kevin Drew and Leslie Feist (more recently, of '1234' fame). The video keys in on this, with nothing but silhouettes rocking out for the duration of the video.

Most BSS videos are great to watch (and all of Feist's videos are marves of timing and choreography), but this one just rocks out and is so insanely fun to watch that it merits special note.


Monday, July 21, 2008

Wow... Really?? I Mean, Really??

Twins general manager Bill Smith, on Livan Hernandez, who improved to 10-6 with a 5.29 earned-run average with Saturday's victory over Texas: "I'll take the (10) wins. Who do you want, a guy who's 10-15 with a 2.80 ERA or a guy who's 16-8 with a 7.00 ERA? I'll take the 16-8."

Source

 

Oh no Bill, not cool... I guess the saying goes 'I'd rather be lucky than good', but as a GM wouldn't you rather draft good, seeing as how it's a little bit more repeatable?

Let's put it this way. If I were to pitch in the major leagues, I'd understandably have a complete inability to get anyone out. I'd give up 96 runs in the first inning, and I'd only start people out when their arms were literally too tired to swing the bat. However, for the sake of this hypothesis, let's also say that my younger brother is toeing the rubber against me. He give up his 342 runs and then he starts walking people. The result is a thrilling 956-872 game, and I end up winning.

Now let's say that the very next day this happens. Scott Baker goes out and gives up 2 hits, one of which happens to be an unlucky home run. He loses because of his offense's innate disability to score runs behind him (this is actually the THIRD time he's lost 1-0 in this not-at-all-hypothetical-all-too-real world).

Who pitched a better game??

Exactly. Wins are overrated. A pitcher can pitch the game of his life, but unless the strikes out every single hitter, he's not in complete control of the outcome - and even then he still has to get some hitting behind him. Seeing how no one has ever done that, (not even Ron Necciai, though that one game was one of the greatest feats anyone has ever accomplished in sports), there has not been a single instance where a pitcher has won a game all by himself. A win is supposed to be a nice indicator of which pitcher pitched better on a given day, but it's a horribly flawed stat. I fear for the Twins, who seemingly have a GM who doesn't grasp that concept at all.

 

Coincidentally, Livan earns his own tag with this post. I'm kind of shocked he didn't already have one. His name has also been added to my computer's dictionary. Truly we live in harrowing times.

Friday, July 18, 2008

This 'N That: The Revolution Grows

Fire Joe Buck, Part 2

Jester has joined the cause (look in the second half of his All-Star blog, all of which is a pretty good read). While Buck's calling of the all-star game wasn't quite as insipid as his calling of the Super Bowl, or as flat out nonsensically wrong as the guy sitting next to him (seriously, Mr. McCarver, what are you doing?? Stop now, preferably before the playoffs), it was still worthy of some anger. How this pair continues to get the privilege of calling the big games is absolutely a mystery to me.

Get John Gordon in there, that way every weak popup can be a home run, and every fielding play can be a fantastic one. Or get Dick'n'Bert in there, so that everything can be completely nonsensical and wrong without having to listen to Joe Buck be a douche.

Still Staying Positive

'Stay Positive', the 4th album from The Hold Steady came out on Tuesday, and as I hinted at last week, the result is a very solid CD. Retaining the same energy and wit from 'Boys and Girls in America', and adding a couple of new elements (harpsichord, Cars-style synthesizers, etc). There's not a weak track that I've heard after 5 or 6 listens. Sequestered in Memphis is catchy as song can be, and Slapped Actress might be the best closing song I've heard all year (dare you to not get the chills in the final minute). I'll say it again, it you like rock music, buy 'Stay Positive'.

Because This Post Needed the "Cockflickery" Tag

Congratulations to Justin Morneau for winning the Home Run Derby. Shame on ESPN for the worst coverage of an event in the history of space and time. We get it, Josh Hamilton was a great story, good for him. Plus, what he did in the first round of the derby was unbelievable. I saw a replay of the derby on Wednesday, and it still gave me the same chill. Truly an amazing achievement, but ESPN's coverage of the event was asinine. First Rick "Biggest Ego in Sports Journalism" Reilly was pissing and moaning about Morneau even being in the event. Fine. I suppose most people would've rather seen A-Rod, whatever (it does sort of make him look like an idiot, though).

Flash forward to after Hamilton loses the event. Morneau walks over to congratulate Hamilton, and the reporter walks up and right by the guy who just won the event. That's kind of cold, but Hamilton did just defy the laws of physics repeatedly with his home run shots, I guess he'd be the guy most would want to talk to. Then, the ceremony comes, where they clearly make a mistake and call Justin "Jason" (what, you can't remember the name of the guy who won AL MVP two years ago??) then comes the interview, where Morneau, being a class act, talks about how great Hamilton's night was, which is lucky, because that's all the reporter wanted to talk about, anyway. After about 30 seconds, the interview ends, and it's back up to the booth to whine about how Hamilton got slighted. I agree, the rules should be maneuvered a bit, and Hamilton probably should have won, but this was ridiculous. If you were to embark on a 26 mile marathon, and run the first mile in 4 minutes, no one would be all that sorry for you when you collapsed around the 3 mile mark. Hamilton tried to sprint when he should've paced himself. He was the story of the night, but ESPN made the thing out to be some sort of Greek tragedy.

Congratulations, ESPN staff (Rick Reilly in particular), you have all engaged in cockflickery of the highest caliber.

CD Review: Miles Benjamin Anthony Robinson

A few months ago, Pitchfork had 'Buriedfed' on its venerable Forkcast. It's a great song - one of the best of the year, really - that builds from a simple strummed guitar all the way into a cacaphony of slightly off-kilter voices and crashing drums. It's also depressing as hell, but the lyrics are good to the point where it's not TOO much of a downer. After hearing a similarly good song called 'The Debtor', I was excited for a full-length release from MBAR (as people are seemingly calling him these days).

The full length is here, and I'm really not sure what to think. The two songs I really enjoyed are the first two song on the CD, and they're really the only two that follow the stripped down, folky singer-songwriter vibe. Almost all the other songs run with hazy guitar (think Grizzly Bear) wandering around through them. The atmosphere is a crushing one, and combined with his slightly off-kilter voice, things sort of feel like a druggy nightmare.

Then there's the lyrics. Dark, hopeless, depressing lyrics are not something that any listener of music in general (and indie music in particular) are unfamiliar with, but these are a special batch. Mr. Robinson has gone through a rough stretch, it seems, and he exorcizes a lot of demons here. There's not a lot of light to be had at the end of any of these tunnels. Lest I sound like a Plugged In reviewer, 'Buriedfed' uses some of the most hopeless imagery on the disc, and it's my favorite song of the bunch, it's just that SOMETHING needs to click with the listener. I'm admitedly not a large fan of the hazy soundscapes that Grizzly Bear comes out with, a lot of the lyrics are hard to identify with, and the vocals are hard to get into without the emotion behind them. When it comes to it, that's a large part of the problem, when MBAR sings, it feels like it's over, there's no fight left - there's a shocking number of things one can overlook in music when it feels like there's some fire behind them, as there is in Buriedfed.

I still greatly enjoy Buriedfed and The Debtor, but after multiple listens to the rest of Miles Benjamin Anthony Robinson, there's nothing else for me to grab onto. It's soul-baring is admirable, but not necessarily something I want to listen to.

5/10