How to disable "There are unused items on your desktop"

Right-click on your desktop background and select [Properties].

From the "Display Properties" window, select the [Desktop] tab.

Select the [Customize Desktop...] button at the bottom.

Uncheck the "Run Desktop Cleanup Wizard every 60 days" box and click the [OK] button, and then click the [OK] button on the display properties window.

That should be it!

Is this really an Explorer issue?

via Windows 7 Fail - F-Secure Weblog : News from the Lab.

Okay, I get annoyed with Windows' design on a regular basis, but I don't know that defaulting to showing file extensions for known file types is the right answer.

I guess the real problem is that Windows 7, like every other Microsoft-designed Operating System, relies on the extension to determine filetype/action, including whether to attempt to execute the code in the file or not.  Until the GUI file managers appeared in the *nix OSes, this was a limitation of *nix--if a file was not explicitly executable for the user, an error would be returned.

Today, Nautilus and Konqueror have mimetypes registered in their file managers, just like web browsers do.  However, they still rely on the "execute" permission bit being set on a file--which is not default behavior on a downloaded file (rusty Linux brain cells showing).  To execute the file, one of two things have to happen:  You either have to set execute permissions on the file or run the file as root/sudo/admin user.  Of course, execute permissions can still be stored in an archive file (.tar, .bz2, .zip), so an executable file can still appear on your system without you knowingly setting it to execute.

Back to Windows...  The default behavior of "Hide extensions for known file types" is user friendly for users who don't want to know the legacy of file extensions and their uses.  However, in the absence of a useful non-administrative mode and explicit execute permissions, this opens the door for some really simple ways to dupe the user.  Fixing this problem goes beyond not hiding extensions or showing annoying "Are you sure you want to do this?" pop-ups.

Emulating Grep in Powershell

Emulating Grep in Powershell. The option presented is to perform a grep on several files.

For a search in one file, with results going to output.txt

select-string -pattern "{pattern}" -caseSensitive c:pathtofile.txt > output.txt

One note: The lines wrapped at the width of the command window, even when redirected to a file.

Cannot hibernate Windows XP machine "Insuffienct Resources Exist to Complete the API"

For me, this was happening on a Lenovo T61 with 2GB of RAM... and for every time that I tried to hibernate.

Microsoft Knowledge Base Article (KB909095) : The computer occasionally does not hibernate and you receive an "Insufficient System Resources Exist to Complete the API" error message in Windows XP with Service Pack 2, in Windows XP Tablet PC Edition 2005, or in Windows XP Media Center Edition 2005.

This problem typically occurs when the computer uses 1 gigabyte (GB) or more of RAM.

Hotfix for KB909095

Update 9:41PM: Hotfix worked great.

Microsoft Windows startup Registry Settings

INFO: Run, RunOnce, RunServices, RunServicesOnce and Startup:

I believe this is pretty much a bulk of the information set by Xteq X-Setup. For those who don't want to make the purchase for a very simple edit, the following is the except from the Microsoft KB article

General order of loading:

  1. HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRunServicesOnce
  2. HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRunServices
  3. <Logon Prompt>
  4. HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRunOnce Not supported in NT 3.51 and ignored by XP and 2000 in safe mode
  5. HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRun
  6. HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun
  7. StartUp Folder
  8. HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRunOnce Not supported in NT 3.51 and ignored by XP and 2000 in safe mode

However,

With the exception of the HKEY_LOCAL_MACHINE...RunOnce key, all keys and their entries are loaded asynchronously. Therefore, all entries in the RunServices and RunServicesOnce keys can potentially run at the same time.

Entries in the HKEY_LOCAL_MACHINE...RunOnce key are loaded synchronously in an undefined order.

Because the HKEY_LOCAL_MACHINE...RunOnce key is loaded synchronously, all of its entries must finish loading before the HKEY_LOCAL_MACHINE...Run, HKEY_CURRENT_USER...Run, HKEY_CURRENT_USER...RunOnce, and Startup Folder entries can be loaded.