Sunday, December 31, 2006

Full Disclosure - GSD and the Microsoft Ferrari laptop giveaway.

In the interest of my few regular blog readers I feel compelled to make the following statement regarding Microsoft's deployment of AMD "Ferrari" laptops to bloggers:

I didn't get one; Damn-it.

If some maintenance worker in the bowels of Microsoft's Redmond facility happens to stumble across my blog...and can add my name to the next shipping list, I'd be glad to accept one for "long-term-testing and evaluation" purposes.

Wink-wink-nudge-nudge. Say no more! Say no more!

So there you go, just in case you were wondering....

--Claus

Sysinternals Tutorial Videos on Fighting Malware

Alex Eckelberry of Sunbelt Software beat me to it, but I found these two wonderful tutorial videos a few weeks ago on how to fight malware.

Both are from Mark Russionovich (Microsoft Sysinternals), creator of the slew of must-have free utilities for sysadmin's including three big-boy sticks: Process Explorer, Process Monitor and Autoruns.

His first video "Advanced Malware Cleaning" reviews a malware infection process, and then illustrates how to use Sysinternal's tools to clean the system of malware.

The second video "Advanced Windows Troubleshooting with Sysinternals Process Monitor" is a great introduction to the latest stallion to join the Sysinternals stables: Process Monitor. He guides the viewers through the basics in using Process Explorer, how Process Monitor compares to the tools Filemon and Regmon. Then he explores file system and registry issues troubleshooting before looking into processes and threads. Mark concludes with data mining and saving and logging events.

These tools and techniques are among the foundations I use when approaching and assessing a hostile machine at work. They give a great window into just what is going on. Armed with that knowledge, I can then make a targeted and effective attack on the malware and begin the recovery and sanitization process.

Having these videos is a great introduction into the power of these tools--from the Master himself!

(System) Locked File Deletion Utilities

Making its debut: Malwarebytes' FileASSASSIN 1.02 (freeware) utility. This is another tool to use in trying to delete locked files from your system.

Other similar tools: Locked Files Wizard (freeware), DelAny (freeware), DelLater (freeware), Unlocker (freeware), WhoLockMe (freeware), Force Delete (freeware), and Killbox (freeware).

I keep all of these tiny apps handy on my sysadmin USB stick...just in case!

Happy Hunting!

--Claus

Making Windows Defender work with Windows 2000

Back when Microsoft's answer to malware was known as Microsoft AntiSpyware (formerly GIANT AntiSpyware) and it was in Beta status, it was quite compatible with Windows 2000 operating systems.

This was a great boon to the corporate/enterprise environments as it carried a certain clout with the Microsoft title behind it. It was pretty rugged and did a decent job of cleaning and protecting malware from workplace systems.

We installed it on many of the systems in our corporate environment--particularly on those where we had to make "repeat" visits due to user behavior. It was a great compliment to our anti-virus software.

Alas...as is often the risk when one comes to lean on Beta software, when Microsoft finalized it's release as Windows Defender, support for Windows 2000 was dropped and only Windows XP and Windows Server 2003 was offered.

This was quite the bummer for many faithful users as it worked quite well on Windows 2000 systems in its previous incarnation.

So what's a poor sysadmin to do?

Well...turns out if you are willing to do some work...you can hack it and get it to install quite nicely on a Windows 2000 system!

How To (with credits to DosFreak):

  1. Download Orca (Microsoft's MSI editor) and install it.
  2. Download Windows Defender.
  3. Use Orca to open the Windows Defender msi setup file.
  4. Find the "Launch Condition" item.
  5. Find the "VersionNT > 500" value and cut it out.
  6. Save the modified file.
  7. Run the installer.

As before, you must have the GDI+ file from Microsoft installed on your Windows 2000 system for Windows Defender to work.

More basic information on Orca from Macrovision on how to modify MSI packages.

KB255905 - More detailed information on Orca from Microsoft on how to edit Windows Installer files.

The Orca tool is a really neat utility for understanding and exploring MSI packages. Even if you don't need to do the Windows Defender to Windows 2000 compatibility "fix" noted above...it may end up being a tool you'll be glad to have in the future.

Ahh...you ask...Might running a "hacked" anti-malware application on a non-supported operating system cause potential Bad Things (tm) to happen. Well...Yep! But then again, if you are fighting malware on a system, it might be the next best thing before doing a system reinstall anyway!

Nor could I advise an enterprise-wide deployment of such a modified tool; but it might be good for targeted Windows 2000 systems.

You've been warned.

--Claus

Saturday, December 30, 2006

"New" Blogger Template Resources

Making the move from my "classic" Blogger template to the new template has not been as easy a process as I hoped.

Although the "classic" template code worked just fine, it would not allow me to post directly to it from my (now mandatory) blogging tool, Windows Live Writer.

Additionally, the new Blogger system seems to prefer XHTML code and CSS sheets over the standard HTML code. Just as I was getting a handle on HTML and basic CSS, wammo.

Luckily, I like a good puzzle and Google is a great resource to turn to. In hacking out my new template, I came across the following items that might be good for any "beta" Blogger out there to spend some time at, before making the jump.

Basic Blogger Resources to Know

First it would be a good idea to acquaint yourself with the newer elements under the "New" Blogger system.

Blogger Layout Guide - This page reviews the basic "elements" that make up the new Blogger template system. If you are a "drag-n-drop" blogger, then you really will like the new Blogger. Adding design elements are pretty intuitive as are rearranging them very simply.

Widget Tags for Layouts - Once you graduate past this, you will be wanting to add do some more "hands-on" management of the "widgets" that make Blogger tick. These are the items you are dragging and dropping. This page goes into good detail on how they are structured. I'm still re-reading it but the trick is understanding them in terms of nesting levels. These forum posts by Stavanger at Blogcrowds are also good reads on the subject: Blogger Beta Widgetry and Save your Beta Widgets.

When you switch over from a "classic" template to a new one, you begin by picking one of the "updated" two-column Blogger layouts. If you have certain side-bar items, it will attempt to convert them into appropriate widgets. This sometimes works better for some elements than others. Some are just rendered useless.

Under the new Blogger Template tab, you have four new selection items: Page Elements, Fonts and Colors, Edit HTML, and Pick New Template. The first "Page Elements" is where you have a GUI drag-n-drop builder to manage your template. "Fonts and Colors" gives you some nice GUI tools to change your template element (texts, headings, links, etc.) colors and formatting. What is really nice is that if your template is standardized, it will pick up your color scheme and offer complementary colors for you to use. My template is just "non-standard" enough to not allow that feature to work. Edit HTML tab allows you to download a copy of your template, upload a template file from your local hard drive, as well as hand-code the template. Widgets are collapsed, but may be "expanded" in the template code for additional tweaking. Finally, you can always revert to your original "classic" template if you get things too out of whack. The final tab lets you select new templates.

Third Party Template Sources

As I have mentioned, Blogger does not (currently) offer any three-column layouts. I really prefer this format as it helps us bloggers with lots of "extra" content able to compress it instead of leaving a never-ending column of elements.

I came across a number of web pages and blogs that have free three-column templates that are compatible with the new Blogger system.

Gecko&Fly - This site has a number of beautifully crafted Classic and Beta Blogger Template Designs for you to select from. There are still more classics than betas but it is great place to begin.

Hoctro's Place - This blog site has a number of wonderful elements going for it. Hoctro has a good number of clever "hacks", code helps, and custom widgets to check out. He also has 8 "ready-to-use" three-column templates that require almost no effort to get up and going on your blog. This guy is good!

Blogcrowds - This is mainly a forum for blog templates and helps. There is other stuff here as well. But one of the real gems is the three-column templates for the new Blogger that Stavanger has spun together. You must register first (free) to access them, but Stavanger's work is well worth looking into if you need a three-column Blogger template. That's where I found the new Blogger three-column code for Andreas04 template.

Going your own: How to build your own three-column Blogger template

If Stavanger's work hadn't been spot-on for my needs, I would have been faced with the real possibility of having to hand-code my own three-column Blogger template out of the closest two-column Blogger default template I could find. If you decide to go that route anyway, there are some helpful tutorials on the web to walk you through this.

BeautifulBeta: Adding a second sidebar to your Blog - part 2 - This is actually a "standalone" post to walk you through manually adding a second sidebar to an existing Blogger template. It is very clear and the comments section has a great deal of additional discussion on the subject.

Blog U: Fluid 3 Column Blogger Template - Here is another great post that discusses how to change a "fixed" 3-column layout to a "fluid" one that changes according to each viewer's screen size settings. It gets into some of the mechanics on how to pull it off and does a great job showing how all the element items work together. A good supplemental read on the subject is George Mikos's post documenting his Blogger template in great detail.

Blogger Tips, Tricks, and Hacks

OK, so you decided on a new template. You plucked up the courage to get ready to migrate you "classic" Blogger pages to the "new" Blogger. Just a few more suggestions.

The Real Blogger Status blog - Take a while looking over some of the more recent posts on this page. There is a wealth of useful information you should be familiar with before you begin migration. This is especially true if you have multiple blogs!

Blogger Tips and Tricks blog - Right now the top post is a tip on how to jump the line and begin migration (if you haven't already been offered the chance). Another choice tip: How to get rid of the border in images uploaded via Blogger Dashboard.

Hackosphere blog - Ramani's blog has a number of nice tips and good content and his sidebar has some useful linkage to chase around for more material.

BeautifulBeta blog - Previously mentioned. Dig around on Hans' site. He offers some clever Widget installers and hacks.

Blog U - The posts are great, and for added resources explore the sidebar offerings for cross links regarding Blog Tweaking, CSS/HTML, and Blog Templates. Good stuff awaits those who look.

Final Thoughts

Once you get your template converted, the new GUI'ish "page elements" can be easily used as you transition from your old "classic" Blogger code to the new code format. Some good tips: Use the Picture element to add a picture. If you place it in a sidebar, be sure to select the option to "size to fit". The List element is great for making simple static lists of items--likewise use the Link List element to quickly add and organize important links. Want to just add some static text--maybe for a custom bio element? Use the Text element. Use the Labels element to display the newly added feature of labels. In the new Blogger, you can add labels (aka categories or tags) to each post. Then the Label element will list them for easy access! It was about time for that one.

But the kitchen-sink element that will greatly aid your transition must be the "HTML/JavaScript" element. With this element you can add standard HTML script to your new Blog. It allows you to do the editing in HTML or Rich Text format views. It saved me a bunch of time getting my sidebar items worked out (for now). As time goes on and I get more proficient in the new Widgets I'll gradually convert them over. This one alone is great to use.

If you are very sharp, you might also notice that Blogger is now using Picasa Web Albums as their image host--if you are uploading images to your blog from the post editor.

And if you use Google's Analytics...don't fall into the trap of adding your JavaScript code in there. You want to place it in the body of your blog...near the bottom, right before the </body> tag.

Hopefully with a bit of research and a good measure of patience you can make a smooth transition to the new Blogger system.

It really can be your friend.

--Claus

Making progress...feedback needed!

I think I have my "New Blogger" template almost completed.

I was up until almost 3am this morning working on it.

Then I got up again at 9am and continued on.

At around 9:30am I gave up and briefly reverted back to my original template as I couldn't get the three-columns to behave nicely (either in Firefox or IE7).

So I started from scratch and just started playing with the CSS margin settings, body sizes, and alignments.

Somehow I stumbled upon the trick!

Next was getting the embedded images in the thinner side-columns to not whack those column elements out. That took more work, but now I think I have it down.

I have a bit of fine-tuning still to do, but am amazed that it actually looks better (to me) in IE7 than in Firefox! That was a surprise.

Windows Live Writer is posting fine to it again.

I also will probably get around soon to changing/activating the links to the right in the header body. Just haven't made any final decisions yet.

I can't decide if I should set the text alignment in the main post body to "justify" or "align-left."

Also, I've got to figure out how to get the images (like in the Fan Service Bonus section) to hot-link again. The XHTML code for the images is a bit different in those widgets that HTML. I upload a cropped/downsized image to Blogger, then code it with a direct HTML href link to the page. That way I don't steal bandwidth, but visitors can still click directly to the artist's source page. But that's not working right now the way I have the image reference coded. (sighs). I have to manually set the image size values of them so they don't blow out the side-columns again...and all my hard work!

Hope you enjoy the new look. I am really excited now and think it looks much more polished and easily read.

Please leave me your feedback! I'm really interested in knowing what you think!

--Claus

P.S. I promise to post those "how-to" links I've found. Right now, Alvis is begging for a round of PS2: Lego Star Wars II. It's a really fun game! Even Lavie is itching to get into the action!

Yes...it's a mess now

OK. I never should have gone and just "rashly" converted my Blogger blog to the new Blogger without understanding all the issues I would be getting into.

The new Blogger uses "widgets" for page elements. That is messing with the little bit of HTML coding I had mastered.

New things to learn....

I've got a number of good links down related to all this new Blogger stuff. Will post them soon.

So for tonight, I'm leaving it like this.

My plan is to finish backing up my template elements and "converted widgets".

Then I will work on migrating to the new three-column layout tomorrow.

It should look something like this template (I hope) when I am done: Andreas04 by Andreas Viklund as converted by Stavanger over at Blogcrowds.com.

(Sighs....)

At least I've got Windows Live Writer able to post directly to my blog again....

--Hang in there gang! I promise when I get done with all this, I will have a ton of useful links for all you Bloggers considering jumping into the New Blogger conversion waters.

Claus

Friday, December 29, 2006

Ah...that's it....

So I've been blowing off a few more quality hours with my family trying to figure out the issue with why Windows Live Writer (WLW) won't post to my newly converted Blogger page.

Seems it doesn't like my blog template code for some reason under the new Blogger.

I'm not sure exactly why as WLW (seemingly) worked great under the old BloggerBeta system and I haven't really made any changes to the original template. Posting within Blogger itself to the old template works great, just not via WLW.

So I loaded Alvis's blog into WLW. She converted her blog to the new Blogger system a few weeks ago and recently did some nice GUI based template changes. Guess what. WLW posted just fine.

That told me that the issue was indeed not with (directly) WLW, but how WLW is interacting with the new Blogger and the old template code .

Unfortunately, none of the default new Blogger templates are three-column layouts. I tested a two-column layout but it didn't look very nice at all.

So I'm leaving the old template in place for now...I have a number of fresh Google search results on this issue to look over and play with in the morning.

Looks like some more template changes are coming for this blog....(sigh).

So, word of advice: Any of you faithful readers who haven't yet converted your (old) Blogger template to the New Blogger system....don't be too frightened to make the jump...but beware...there be some small monsters in those hills you might have to fight if you have a customized Blogger template.

--Claus