Got it. Had to reboot after turning off UAC. BTW, when I open the .csv in Excel it doesn't separate the items into columns. I've never had that problem with other .csv files. Any ideas?

The code was copied directly from the manual in the Tips & Tricks section, so you may want to correct "AssetName" to "Asset".

Have already looked at the Systems variables, I'm just confused by what goes where "name" is in the code, or does that stay there as it is?