Bulk EFS decryption & encryption

Short story version: use the CIPHER command.

I had a 3-2-1 backup fail on me recently."

“21,684 files could not be copied”.

The original files were EFS encrypted.  Here’s a picture of what was going wrong:

In technical terms, the second computer did not have the EFS decryption key.  The easy fix was [...]

One way to see if there is an outbound hole in your firewall.

A request from one of our support technicians said

"Please exclude www.acompany.com:6969 from the proxy server.".

Note that it’s the :6969 which is important here.  It tells the web browser to speak with the web site over port 6969 (normally this would be port 80).

"It’ll be blocked by our firewall", was [...]

Re-using Bread Clips to make USB keys easy to identify.

I have lots of USB memory sticks.  I have plenty of lanyards as well.  Who doesn’t?  Go to a conference, get a lanyard, get a USB memory stick.  Identifying what’s on these USB memory sticks has become a chore.

I tried different coloured lanyards, but that didn’t work.  Too many lanyards/colour combinations

So I [...]

Finding solutions for Microsoft problems v2 – The TechNet Wiki

Google, by itself, only gets you so far when you’re hunting down a Microsoft problem.  Sometimes you need to do some advance searching to find your answer.  Here are some of the things I try when a plain Google search doesn’t give me the solution.

Microsoft Help and Support (aka the Knowledge Base) This [...]

How to open an InstallShield Data .cab file.

InstallShield logo Some program installations use InstallShield, and the program files are compressed into Data .cab files.  But InstallShield decided to be cute, and use their  own propriety format with older versions of the Data .cab file.  They could have used a standard compression algorithm like .ZIP,  but did not.

My guess is that they didn’t want people fiddling with the raw files.

That’s a bummer for those of us who need to get at the files, such as Application Packagers.  I discussed this a little in the InstallShield Temp Directory Trick.

So it’s a good thing that CDMediaWorld has utilities, such as i6Comp to extract the files.  Just download it (I picked i6comp02.zip) and then run i6comp.  This is what i6Comp looks like when listing files from the data.cab file:

C:\temp\InstallShield>i6comp l -v -r data1.cab
InstallShield 6.x Cabinet Util
Version 0.2 -] fOSSiL & Morlac - 2000 [-

Date       Time   OrigSize  Attr  CompSize   Ind FileName
========== ===== ========== ==== ========== ==== =================
12-16-1999 10:24      28529 ____       5841    0 corecomp.ini
09-05-2001 04:18      77824 A___      29916    1 ctor.dll
09-05-2001 04:13      32768 A___       4483    2 objectps.dll
...
08-22-2003 17:27     278190 A___     264385  180 PowerDVD.CHM
09-05-2003 16:16      65536 A___      30014  342 AudioFilter\clds.dll
09-05-2003 16:16      45056 A___       8203  343 AudioFilter\clwo.dll
09-05-2003 16:16     245760 A___      81241  344 AudioFilter\CLADR.ax
09-05-2003 16:16     126976 A___      43046  347 AudioFilter\CLAuTS.ax
09-05-2003 16:25      73728 A___      27800  348 AudioFilter\CLAudioCD.ax
09-05-2003 16:25     503808 A___     239856  349 NavFilter\CLNAVX.ax
09-12-2003 18:38     520192 A___     205346  350 VideoFilter\CLVSD.ax
09-05-2003 16:16      45568 A___      23075  351 VideoFilter\CLLine21.ax
                 ----------      ---------- -------------------
                   49878589        19880422  311 file(s) total

C:\temp\InstallShield>

The list output is more interesting than the extract output. which is why I’ve showed list.  Other options are:

(Click here to continue reading How to open an InstallShield Data .cab file.)

Detecting broken or not installed SMS/SCCM clients.

You take all your computer accounts in Active Directory, filter out the old records (I use a cut-off of 30 days), and then compare it to your SMS or SCCM database. (I showed you how to export the LastLogin date from Active Directory here).

An aside: I love Active Directory, as you can use [...]

Detecting inactive computers in your AD domain.

Use the LastLogonTimeStamp or the LastLogin Active Directory attribute.

If you are on a Windows 2003 Functional Domain or later, use LastLogonTimeStamp.  If you are on a Windows 2000 Functional Domain, you’re stuck with LastLogon (and a bit more work).

LastLogonTimeStamp. This is how I got the LastLogonTimeStamp for all the computers in my [...]

Making your blog load faster.

Use the WP Super Cache plugin.  In the case of Wisefaq.com, pages load three times quicker with it.  JErm asked in the comments for the “Make it go faster – Enabling GZip Compression”

How does this relate to WP-Super-Cache usage? Can they work hand-in-hand to make your site load even faster?

Yes they [...]

Shipping “stuff” from the USA.

Want to get around “we only ship to USA addresses” problem with some online vendors?

Well there are a couple of vendors who can help you for a price.

Disclaimer: I’ve used none of these, but know people who have.

Bongo International As written up by LifeHacker.  Only ships via DHL or FedEX, [...]

Saving space in a VM with MaxPatchCacheSize

I first read about MacPatchCacheSize, and how to use it to save space in Virtual Machines, over at Jeremy Jameson’s blog.

From the Microsoft MSDN Library entry for MaxPatchCacheSize:

"The value of the MaxPatchCacheSize policy is the maximum percentage of disk space that the installer can use for the cache of old files. For [...]