Category Archives: Windows

Disabling Windows 7 Automatic Root CA Update

Windows comes with a small list of trusted CAs installed but automatically imports CAs as necessary from the Microsoft Windows Update service (Windows 7 Home Premium SP1 64bit for a while, I figure I’d imported all of the CAs I really need I figured I could mitigate the risk of forged certificates (e.g. Iraq/Gmail, Diginotar) by ensuring I don’t import any additional CAs. Sure the CAs I already trust could be compromised, but this significantly reduces the attack surface.

For Windows 7 Processional and Ultimate, Microsoft provides instructions for disabling Automatic Root Certificates Update using the Group Policy Editor; however, the Group Policy Editor cannot be installed on Windows 7 Starter and Home editions. If you have Windows 7 Starter or Home, or don’t want to deal with the Group Policy Editor, a simple registry update will turn Automatic Root Certificates Update off or on.

Note: You must be an Administrator to make any of these changes, and if you have a Group Policy set for Automatic Root Certificates Update, it will overwrite your registry changes.

I’ve created three .reg files you can download, and open to automatically update the correct registry keys:

  • Disable.reg (view) – this disables Automatic Root Certificates Update.
  • Enable.reg (view) – this disables Automatic Root Certificates Update.
  • Remove.reg (view) – this removes the registry entry effectively enabling Automatic Root Certificates Update.

Note: You will most likely receive security warnings downloading and opening these files. If you want to be safe, open the files in a text editor and double check the contents.

If you would rather directly edit your registry, do the following:

  1. Start regedit by clicking the Start menu, entering “regedit” in the search field, and pressing <enter>.
  2. Expand HKEY_LOCAL_MACHINE/Software/Policies/Microsoft/SystemCertificates/AuthRoot
  3. Right-click on AuthRoot and select New -> DWORD (32-bit) Value
  4. Enter name: DisableRootAutoUpdate
  5. Double-click on DisableRootAutoUpdate
  6. Set the Value data to 1, click OK, and close regedit.

Deleting DisableRootAutoUpdate or setting it to 0, re-enables downloading new CAs from Microsoft.

Google Chrome Print Selected

Chrome Print SelectedI accidentally stumbled upon this hint, because Marriott’s site as of January 2014 does not print nicely. The menus expand on their print css, so the real content shows up after a page long list.

Anyway, Google Chrome has a built in “Print Selected” function, but the option only appears when you have text selected. Just select the portion of the page you want to print, click on the “Menu” icon (3 horizontal lines), and select “Print…”. Near the bottom of the Chrome Print dialog, a new checkbox has appeared labeled “Selection only”. Check this option, and Chrome will update the preview.

UDF (a FAT32 replacement) Part 3

I tested UDF and exFAT over a fairly wide range of non-computer devices, and none of the devices could read or write to it. If you need something that will work with non-computers, stick to FAT32. If you just need interoperability between computers (but don’t need to boot from the drive), switch over to UDF.

I UDF and exFAT did not work with:

I plan on testing UDF and exFAT with a few phones and will update this post when I do.

UDF (a FAT32 replacement) Part 2

Comparison of cross platform filesystems for flash memory and/or external hard drives.

The Universal Disk Format (UDF) is maintained by Optical Storage Technology Association while FAT32 and exFAT are maintained by Microsoft.

FAT32’s primary limitation is its 4GB file size limit. Microsoft also recommends limiting Volumes formatted in FAT32 to be limited to 32 GB, although many implementations support larger volumes.

Microsoft created exFAT to get around the limitations of FAT32 relating to file and volume size limitations.

Overall, exFAT and UDF appear to be very comparable. They both support Unicode filenames and long filenames.
UDF supports a journaling and ECC (Error Correction Codes). The MacOS format utility provides an option for specifying the number of blocks to use for ECC. I assumed that this option was some type of ratio, but when I changed the number from 1 to 2, my formatted drive had exactly one block less space available. UDF “journaling” features are designed around optical media, so it is unclear if flash and hard drive implementations of UDF use the Logical Volume Integrity Descriptors.

Overall, FAT32 has the best compatibility. It is supported by nearly every device from phones, to cameras, to picture frames.

If you are only concerned with accessing your data from a computer, UDF is probably the file system to pick since Linux’s support for exFAT is not 100%.

Next I’m going to explore the compatibility of UDF and exFAT in other devices.

References

  1. UDF Spec – http://www.osta.org/specs/pdf/udf260.pdf
  2. FAT32 Spec – http://msdn.microsoft.com/en-us/library/windows/hardware/gg463080.aspx
  3. exFAT Spec – unable to find
  4. exFAT description – http://support.microsoft.com/kb/955704
  5. exFAT description – http://en.wikipedia.org/wiki/ExFAT

UDF (a FAT32 Replacement) Part 1

I’m always hearing about how FAT32 is a poor choice for a filesystem, but it’s also the universal filesystem that Mac, Windows, and Linux can all natively read and write. A few quick searches turned up the Universal Disk Format (UDF). It started off life as ISO 9660 (CD File Format), which we know pretty much all operating systems can read. As UDF has gone through a few versions, support for read/write block devices was added. I have verified that MacOS Mountain Lion, Windows 7, and Ubuntu 12.10 can all read and write to a UDF formatted flash drive. For reference I used a Toshiba 8GB Flash Drive.

To format a flash drive as UDF using MacOS:

  1. Plug the drive in
  2. Open Disk Utility
  3. Select the mounted partition of the flash drive, and click “Unmount”
    DiskUtility-Unmount
  4. Select the physical disk and click “Info”. This will tell you which device the disk is currently identified as. In this case, it is disk2.
    DiskUtility-Info
  5. Open Terminal with an Administrator account
  6. Type sudo newfs_udf /dev/<disk_from_step_4> (e.g. sudo newfs_udf /dev/disk2)
  7. You’re done.

The defaults for newfs_udf should be left alone, as the program picks the appropriate values for your drive. The one value you might want to edit is the -ecc-in-blks (Error correction code size). I will follow up on ECC in the comparison of file systems.

Coming next, a comparison of UDF, exFAT, and FAT32.