Tuesday, August 30, 2011

How to Clear Windows 7 Temporary Files in the Temp Folder

How to Clear Windows 7 Temporary Files in the Temp Folder - where .tmp, .docx, .xlsx, .pptx and .pdf are shadowed

Update - Sept 2017 - Do not use CCleaner its been hacked
Read my post on CCleaner containing malware and an alternative.


The Temp folder is where Windows 7 and programs sometimes store temporary files. Sometimes these files are not deleted after Windows 7 or the program is finished with them. This can cause the temp folder to fill up with junk temp files which may cause Vista to take longer to access the Temp folder and create a slight delay.

This will show you how to clear the Windows 7 temporary files through Disk Cleanup or manually in the Temp folder.   

The Windows 7 Temp folder is located at:

cd %HOMEDRIVE%%HOMEPATH%\AppData\Local\Temp

You can obtain you current logged on UserName,
if you are not sure by 
Start->Run->Cmd and type 


will return domainname\UserName

If you are browsing to this folder, you may need to show AppData and other hidden files, folders and drives. See image below.

click for larger

While it is safe to delete these files, it is best not to do this while installing or uninstalling anything.
BleachBit is a free program that is great at keeping the temporary files cleaned up and more.

Example: Windows 7  User Account Temp Folder Location
click for larger


Thorough Disk Cleanup (PREFERRED METHOD)


Disk Cleanup will only delete Temporary files that have not been modified in 7 days. To clear everything, see METHOD TWO below.
1. Open Disk Cleanup.
2. Check Temporary files. (See image below) 

4. After, Click on Delete Files to confirm the action.

click for larger image


Manually Clear the Temp Folder

The Temp folder is located at the hidden system folder:

C:\Users\(Your Username)\AppData\Local\Temp

If you are browsing to this folder, you may need to show Appdata and other hidden files, folders and drives.

click for larger

1. Open the Start Menu.
2. Search for Run and click.
Type %temp% and press Enter  and then do  
Type %windir%\Temp and press Enter. 

Select all files and click Shift + Del key.
NOTE: This is a shortcut and opens the Temp folder.  

3. Delete anything you want in this folder. (See image below) 
click for larger
If you delete the Low folder, it can prevent you from printing from Internet Explorer. To fix this, close all Internet Explorer windows and reopen Internet Explorer to recreate the Low folder.

You can also manually fix this by recreating the Low folder in the Temp folder below, open a elevated command prompt (Start->Search for "CMD.exe", right-click and run as Administrator.                                                                                
click for larger
Then Copy and Paste the command below in the command prompt and press enter.

If you receive a File In Use pop-up error message while the files are being deleted, then this just means that one of the temp files is in use by a program right now.

Monday, August 1, 2011

PGP for Outlook Open Source with Source Code

Prerequisites for Outlook 2007 (see 2010, 2013 below)

First of all, get a working copy of GPG is required, so visit the GnuPG download page, scroll down and download the Windows installer version or windows version. 

Windows installer version is located here https://www.gpg4win.org/download.html, you can install PA (personal Assistant), but it never worked on my computer. But this is a GUI to your user keys.
If everything has gone correctly, you can now open a command prompt and type gpg --version and gpg --list-keys to see the version and your keys (which would be empty if you're using it for the first time).
Visit the Getting Started section of the GnuPG handbook to generate your own key if this is your first encounter for instructions. You need a private public key for latter in the install.
gpg --gen-key

To install this quickly, 

choose 4) RSA and key size of 2048 default will do, or 4096 for better security, and continue, it's pretty logical.


There are two main areas in the plugin, functionality for sending a mail (sign/encrypt) and for retrieving a mail (verify/decrypt).
At the moment only plain text emails are supported. No HTML mail or attachments, that's for a future version :)

See Cumps Consulting blog for the remainder of the install article ...

GnuPG addin for Outlook 2007

Here is the Github project :


NOTE: To get this to work in Vista/7 you have to run the installer as administrator. Find your command shell in the run menu, right click and select run as administrator. Then do msiexec -i "path\and\filename.msi". That should get you past the impersonation difficulties.

PGP for Outlook 2010, 2013

A simple OpenPGP encryption plugin for Outlook 2010 and 2013.