Outlook: Recover deleted items from any folder (not just Deleted Items folder)

Outlook provides a way to recover items after you have permanently deleted them, including after emptying the Deleted Items folder. Your Exchange server administrator specifies the retention time for permanently deleted items on the Exchange server. After this time has elapsed, you cannot recover the deleted items.

By default, to use the Recover Deleted Items command on the Tools menu, you must be viewing the Deleted Items folder. By modifying the registry, this command is available regardless of which Outlook folder that you are viewing. You can view and recover deleted items, including those items that were permanently deleted by using SHIFT+DELETE, for the folder that you are viewing.

To enable this feature follow the steps below.

  1. Exit Outlook.
  2. Open the Windows registry editor.
  3. Browse to My Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\Exchange\Client\Options.
  4. On the Edit menu, point to New, and then click DWORD Value.
  5. Type the name DumpsterAlwaysOn.

Note Do not type any spaces in the name.

  1. Set the DWORD value to 1.
  2. Restart Outlook.

The Tools menu now has the Recover Deleted Items command for every Outlook folder.

Source: http://office.microsoft.com/en-us/outlook-help/recover-deleted-items-from-any-folder-HA001116528.aspx

Advertisements

Windows 7: Disable wireless when you connect to Wired network & Vice Versa

If you are willing to spend few minutes for this solution, continue reading. It involves firing a batch file based on event log entries using Task Scheduler.

1. Create a batch file named “Wireless_Disable.bat” with the following contents. Open Notepad, copy/paste the following text and save it as above file name.

netsh interface set interface “Wireless Network Connection” Disable

2. Create another batch file named “Wireless_Enable.bat”. Open Notepad, copy/paste the following text and save it as the above filename.

netsh interface set interface “Wireless Network Connection” Enable

3. Open Event Viewer. Click Start Orb/button and type Event Viewer and select the “Event Viewer” application from search results.

4. Expand Windows Logs and select System.

image

5. I would suggest unplug your network cable from your laptop and plug back in. Click on Filter current log option in Actions pane. In Event ID text box (in the middle), type 9,4 to filter by event id 9 & event id 4. Click OK.

image

6. Find Event Id 9 from the filtered list and double click to open it. Make sure this event is for your correct wired network card. Note down the Source value. In my case it is b57nd60a. Click Close button to close the event properties window.

image

7. Leave the Event Viewer window as it is. Click Start orb/button again and type Task Scheduler. Select Task Scheduler application from search results.

image

8. Click Task Scheduler Library on your left pane. Click on Create Basic Task.. on the Actions pane to create a new scheduled job.

9. On Create a Basic Task section, Type a name (Dock the Laptop) in Name field and type some description about this task. Click Next.

image

9. On Trigger section select When a specific event is logged options and click Next.

image

10. On When an Event is Logged section Select Log as System, Select Source same as you noted down in step 6, and type event ID as 9.Click Next.

image

11. On Action section Select the option Select a program and click Next.

image

12. On Start a Program section click on Browse… button and select the batch file you created in step 1. Click Next.

image

13. Select the check box for Open the Properties dialog for this task.. Click Finish button on Finish section.

image

14. On the task properties dialog box, select the check box for Run with highest privileges and click OK to close.

image

15. Create another basic task by do the steps 7 through 14 again. On Step 9 type task name as “Undock the laptop”. On step 10, type event id as 4 instead of 9.

16. THAT’S IT. Task will automatically fired when you plug and unplug the network cable on your laptop (or dock and undock it).

Try unplugging the network cable from wired network card and watch your wireless network card is enable and vice versa.

Warning: When you change your password for your domain user account you need to update the new password on these two scheduled tasks.

Windows 7: Xp-Mode apps–Pause, hibernate, reboot

XP Mode is Windows 7 is greatest thing since sliced bread. Damn it was more than useful. Here are the few ways I use the XP Mode.

  • Installed legacy apps (that’s the point of this feature, isn’t?)
  • Install the apps that I want to keep for a long time. E.g., you can reinstall your computer and still keep the same VM intact and continue to use. Time to time I find a great free application at http://www.giveawayoftheday.com and I keep it installed in VM.
  • When I connect to work (VPN), I connect using VPN application in VM using XP Mode. Voila`, my VM is connected to work and my laptop is not. I can continue to watch movies or play games, while I am monitoring an application or logs at a server at work.

You know what was missing. We can’t hibernate or pause the VM in XP Mode.  Think about click a single app opens up all the work related applications where it left off.

Found this great PowerShell script based application that does exactly what is missing in XP Mode. Now you can pause, hibernate, reboot and shutdown the XP mode VM quickly and easily. Head over to http://www.orcsweb.com/blog/james/introducing-the-advanced-virtual-pc-controls-for-windows-7/ and get AVPCC.