Windows Administration

Free Virus Cleaning Software from Dr. Web

How often have you had someone come up to you and say “Hey, you know computers. I think my PC is infected what do I do?”

Generally, their AV is out of date or non-existent.  Today it was pointed out to me that Dr. Web has a free cleaner called “Dr. Web CureIt!“.  The application runs on all versions of Windows without installation of a full anti-virus application. Just download and run it.

According to their website it cleans:

* Rootkits * Mass-mailing worms * E-mail viruses * Peer-to-peer viruses * Internet worms * File viruses * Trojans * Stealth viruses* Polymorphic viruses * Bodiless viruses * Macro viruses * MS Office viruses * Script viruses * Spyware * Spybots * Password stealers * Keyloggers* Paid Dialers * Adware * Riskware* Hacktools * Backdoors * Joke programs * Malicious scripts * Other malware*

So next time you’re confronted with that, just have them download (if they can) a copy of Dr. Web CureIt!. It won’t replace having a resident (and up to date) anti-virus application running but it should help get them (and you) out of the little jam.

Installing Windows 2008 via USB thumbdrive

Windows 2008 comes only on DVD and today you’d think every computer has a DVD drive by default, unfortunately most servers are ordered without them and that causes a problem obviously. Your choices would be to break the DVD into CD-ROMs (not fun) install over the network (a little more work than I wanted to do) or find another means to get it up. My solution, USB Thumb drive

Since Vista and Windows 2008 share the same code base, I figured someone must have found a way to boot vista off a thumb drive so I looked and found just that.  Kurt Shintaku has a how-to on how to install Windows Vista from a high speed USB 2.0 Flash Drive.

Before you begin though, if your thumbdrive has U3 installed on it, you’ll probably want to remove that (I did just to be certain), here’s instructions on how to do that: http://www.u3.com/uninstall/ 

Using Kurt’s instructions this is all it took:

Format the thumb drive

  1. from a DOS prompt execute: diskpart
  2. list disk
  3. select disk 1    (assuming disk 1 was your thumb drive in the above list disk command)
  4. clean
  5. create partition primary
  6. select partition 1
  7. active
  8. format fs=fat32
  9. assign
  10. exit

 

Copy the Win2008 install files

  1. xcopy d:\*.* /s/e/f e:\   (assumes your dvd is drive D: and your thumb drive is drive E:\, adjust accordingly)

 

That’s all it took other than verifying the server BIOS was set to boot off of the USB device. But hey, don’t stop there! Check out the Windows Cloud Servers at www.appliedi.net and get your own Windows 2008 Server in the cloud in just 30 minutes, no USB device required!

Windows Sharepoint Services (WSS) File Extractor

We recently needed a way to extract files from a sharepoint site’s document libraries. With sharepoint all the files are stored in a SQL database so it would seem connecting to the database and pulling all the files out manually wouldn’t be such a hard thing to do. After a fair amount of time googling for such a solution I finally found it over at Mark Jen’s blog. Mark’s solution it turns out didn’t work for WSS 3.0 but in the comments a fella by the name of eric writes:

I have modified the code to work with SharePoint 07. Since the Content is stored in a new table with 07, the query piece needs to be a little different. Just replace line 24 with the sting below. It worked perfectly for me after that.

Find
com.CommandText =