- FolderICO
- FastStone Image Viewer
- ToolTipFixer
- Tweak UI
Amazon.com
Disclaimer
All the tips/hints/fixes/other information posted here are at your own risk. Some of the steps here could result in damage to your computer. For example, using a Windows registry editor like RegEdit could result in unintended serious changes that may be difficult or impossible to reverse. Backups are always encouraged.
25 May 2008
New Software Picks
Since moving to Vista, I have switched around my favorite programs. More are forthcoming, but I'm no longer featuring the following since they're better for XP:
Beware If Taking the AHCI Plunge
With a recent BIOS update, I noticed a new option for AHCI vs. IDE mode. Even though Vista has support for this new supposedly feature-rich disk technology, those drivers are disabled after installation. Vista won't even boot after making the change in BIOS to AHCI unless you first do the following:
To resolve this issue, enable the AHCI driver in the registry before you change the SATA mode of the boot drive. To do this, follow these steps:From KB 922976
1. Exit all Windows-based programs. 2. Click Start, type regedit in the Start Search box, and then press ENTER. 3. If you receive the User Account Control dialog box, click Continue. 4. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci5. In the right pane, right-click Start in the Name column, and then click Modify. 6. In the Value data box, type 0, and then click OK. 7. On the File menu, click Exit to close Registry Editor.
24 May 2008
Restore Default NTFS, Etc. Permissions for Vista (and XP)
This was difficult to find online, so I thought I'd write a post about it. Here's the bottom line:
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
More info and instructions for XP: KB 313222
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
More info and instructions for XP: KB 313222
10 May 2008
Quickly Insert Unicode (Greek, Symbols, etc.) into Any Application
Perhaps someday I'll write one killer article all about AutoHotkey and how it can accelerate your productivity, but for now I'll just discuss one problem it can (help) solve: inputting special characters such as α or → with ease. I put "help" in quotation marks, because AHK does not have an easy, built-in way of inputting Unicode characters (yet), but it can do effective text auto-replace (a.k.a. hotstrings). There are several clever solutions on the AHK forums for the Unicode deficit (SendU, etc.), and here's mine:
Add the following string entry to the Registry for the Alt-Plus method of entering characters:
With this kind of script running, "/alpha" immediately becomes "α"
Bonus tip: you can use a "raw" hotstring for faster entries:
BTW, I should mention that AHK has a {ASC nnnnn} function for the alt-numpad method of entering special characters, but it has 2 main problems: it can enter only the decimal and not the hexadecimal code for a character (which is fine for ASCII and ANSI but less convenient for Unicode), and only certain applications using the RichText framework can interpret Unicode characters entered this way (decimal).
Add the following string entry to the Registry for the Alt-Plus method of entering characters:
Key: HKCU\Control Panel\Input MethodAfter a restart, you can enter Unicode characters by their hexadecimal value. [That's the alphanumeric number U+03c3 in the left part of the status bar in Character Map.] Hold down Alt and press the + key on the numeric pad and then the hex code for the character you want, without the leading zeroes if you like and then release the Alt key. Convoluted, huh? Here's a script that show's how to make light work of it with AHK: specialchar.ahk
String name: EnableHexNumpad
Value: 1
With this kind of script running, "/alpha" immediately becomes "α"
Bonus tip: you can use a "raw" hotstring for faster entries:
#IfWinActive HiEditor ; or whatever editor you use for editing AHK scripts
#Hotstring R
::<<::{alt down}{numpadadd}
::>>::{alt up}
#Hotstring R0
#IfWinActive
BTW, I should mention that AHK has a {ASC nnnnn} function for the alt-numpad method of entering special characters, but it has 2 main problems: it can enter only the decimal and not the hexadecimal code for a character (which is fine for ASCII and ANSI but less convenient for Unicode), and only certain applications using the RichText framework can interpret Unicode characters entered this way (decimal).
08 May 2008
Uninstall a Service
If you want to delete/uninstall/remove a Windows service, perhaps left from an incomplete installer, you can use the sc command from an Administrator control prompt: sc delete [servicename]
04 May 2008
30 April 2008
[SOLVED] Adobe Reader 8.1.2 Freezes Entire Computer
Under Vista, opening some PDF's can crash Adobe Reader 8.1 so badly that the entire computer can freeze up and only a hard reboot is possible. The conflict is threefold: Reader's GPU acceleration, Vista's UAC, and temp folder security.
I fixed it by adjusting the following in Reader's preferences (not all steps may be necessary):
Cross-posted from http://forum.notebookreview.com/showthread.php?p=3302386#post3302386
I fixed it by adjusting the following in Reader's preferences (not all steps may be necessary):
- Automatic Default Page Layout
- Automatic Default Zoom
- Hardware rendering for legacy video cards
- PDF browser plugin, fast web view (irrelevant to this, though)
- Acrobat JavaScript
- Preferred Media Player (.i.e., set to Windows Media Player)
- Multimedia operations
- Verify signatures when opened
- Check spelling when typing
- External content (off by default, I think)
Cross-posted from http://forum.notebookreview.com/showthread.php?p=3302386#post3302386
27 April 2008
Traditional Antivirus is Wasteful
A response to this LifeHacker post:
Traditional real-time antivirus scanning is wasteful, IMO. Viruses can come through in what you download, or if your networking settings are weirdly insecure-- but it's not like you can just "catch" a virus. To warn people that their computers might be unknowingly infected is unnecessarily alarmist; a virus or trojan would have to come from a downloaded or copied file. I scan every file I download by having Free Download Manager call ClamWin (and A-Squared Command Line), which I update hourly (I even made an AutoHotkey script so that the scan happens in the background). This precaution makes more sense than scanning every file whenever it is read or written, and it is hugely better for your I/O performance.
All in all, though, blacklist-paradigm antivirus does not make a lot of sense nowadays for on-access scanning, because viruses (and more relevantly, other kinds of malware) spread before virus definitions are created. Furthermore, on-access scanning of files involves a huge performance cost. If you scan all incoming files, extra file scanning doesn't make any sense unless the virus definitions have been updated in the interim. I'm perplexed, for instance, by Avast!, which can scan all files + emails + IMs... if all files are being scanned, why the extra scanning repetition due to its route of entry?
However, blacklist-oriented antivirus seems wise for periodic on-demand scanning. For this, Norton Security Scan available free through Google Pack is a nice choice.
A better choice for so-called real-time antivirus, though, is behavior-based scanning such as Threatfire, but I prefer Mamutu ($30 for 1 year). Threatfire would interfere with several programs (especially the kind that export files to other formats: PDF Creator, AutoHotkey EXE compiler) even when "suspended," so I can't recommend it unless you're allergic to spending money on security software (as I tend to be). Comodo Firewall is another free alternative in this vein, but it is quite confusing.
Additionally, you can take some preventive measures by using SpywareBlaster. I paid for the privilege of auto-updating and to support its development, but you don't have to.
The one thing that irritates me most about many anti-malware products: the false positives. Since trying out Comodo BOClean and having it shut down a program I wrote myself as a trojan, I've been very suspicious of claims that BOClean has caught malware other antivirus missed. When I see claims like that, I wonder about the likelihood that it is a false positive. (To be clear, I do NOT recommend Comodo BOClean.)
A final note is that I think infrequently-updated real-time antivirus like AVG, which allows only daily updates in its free version, is the worst (if used by itself), because you're exposed to the newest threats while suffering an I/O performance hit.
Traditional real-time antivirus scanning is wasteful, IMO. Viruses can come through in what you download, or if your networking settings are weirdly insecure-- but it's not like you can just "catch" a virus. To warn people that their computers might be unknowingly infected is unnecessarily alarmist; a virus or trojan would have to come from a downloaded or copied file. I scan every file I download by having Free Download Manager call ClamWin (and A-Squared Command Line), which I update hourly (I even made an AutoHotkey script so that the scan happens in the background). This precaution makes more sense than scanning every file whenever it is read or written, and it is hugely better for your I/O performance.
All in all, though, blacklist-paradigm antivirus does not make a lot of sense nowadays for on-access scanning, because viruses (and more relevantly, other kinds of malware) spread before virus definitions are created. Furthermore, on-access scanning of files involves a huge performance cost. If you scan all incoming files, extra file scanning doesn't make any sense unless the virus definitions have been updated in the interim. I'm perplexed, for instance, by Avast!, which can scan all files + emails + IMs... if all files are being scanned, why the extra scanning repetition due to its route of entry?
However, blacklist-oriented antivirus seems wise for periodic on-demand scanning. For this, Norton Security Scan available free through Google Pack is a nice choice.
A better choice for so-called real-time antivirus, though, is behavior-based scanning such as Threatfire, but I prefer Mamutu ($30 for 1 year). Threatfire would interfere with several programs (especially the kind that export files to other formats: PDF Creator, AutoHotkey EXE compiler) even when "suspended," so I can't recommend it unless you're allergic to spending money on security software (as I tend to be). Comodo Firewall is another free alternative in this vein, but it is quite confusing.
Additionally, you can take some preventive measures by using SpywareBlaster. I paid for the privilege of auto-updating and to support its development, but you don't have to.
The one thing that irritates me most about many anti-malware products: the false positives. Since trying out Comodo BOClean and having it shut down a program I wrote myself as a trojan, I've been very suspicious of claims that BOClean has caught malware other antivirus missed. When I see claims like that, I wonder about the likelihood that it is a false positive. (To be clear, I do NOT recommend Comodo BOClean.)
A final note is that I think infrequently-updated real-time antivirus like AVG, which allows only daily updates in its free version, is the worst (if used by itself), because you're exposed to the newest threats while suffering an I/O performance hit.
26 April 2008
Easily Select a Web Page without the Menus, Etc at the Top & Bottom
I was trying to make an AHK script for making it easier to select the text I wanted on a web page without the material at the top and bottom (menus, links, and so forth).
Apparently, it's already easy, even though it wasn't obvious to me:
That's it!
Apparently, it's already easy, even though it wasn't obvious to me:
- Click once where you want the selection to begin
- Press Ctrl-End to move to the end of the window
- Shift-Click at the end of your desired selection
That's it!
05 April 2008
Extending the Usefulness of TrueCrypt on Vista with Folder2Junction

As you may know, TrueCrypt is a great, free utility for encryption. It's especially welcome to me, because on Windows Vista Home Premium, there is no EFS. TrueCrypt mounts a virtual disk that is encrypted for the storage of sensitive files and folders, and the encryption/decryption happens on-the-fly (like EFS). Unlike EFS, however, the files have to be in the encrypted area to be encrypted. You can't have, for example, the Mozilla folder in AppData encrypted and keep it in its default location on C:\. Unless, that is...
NTFS offers a neat but difficult-to-utilize feature known as directory junction points. These are like wormholes in the file system that look like folders but point to other directories, even on other disks/volumes. Junctions are a way to store sensitive data on an encrypted disk while maintaining application compatibility and ease-of-access.
To make that easier, I developed a utility (I'm really proud; my first programming triumph!) called Folder2Junction. Folder2Junction adds a command to the contextual menu of folders: Move Folder Then Create Junction Here. Selecting it will prompt you to select where you want the folder and its contents to be stored. It will then move the folder to that location (say, the encrypted disk) and then make a NTFS junction point in the original location pointing to its new location. To the OS and apps, the folder will appear to be in the same place, but it is really a wormhole to the real folder now somewhere else.
Luckily, Windows Vista has some built-in support for junctions, and they will appear in Explorer in Vista with an arrow icon overlay. Also, deleting junctions in Vista's Explorer will delete just the junction and not the original (unlike Explorer in XP). Partially for this reason (but more for the mklink command Folder2Junction uses that is new to Vista), Folder2Junction is compatible with Windows Vista or higher only and is totally freeware. Please see this thread for the download link and more information.
Subscribe to:
Posts (Atom)


