Wednesday, June 26, 2013

Tool to Keep Hard Drives Awake

Requirements

This application uses .Net 3.5.  .Net 3.5 is included in Windows 7.  Windows Vista and XP users will need to make sure .Net 3.5 is installed to use this application.  An easy way to tell is if you open this program and it immediately errors, you probably don't have it :)

Description

I wrote this tool because the tools I found on the net did not exactly meet my needs.  xSleep works well, but it is stubborn config wise.  I changed it to monitor a different second drive, and whenever I reopen it, it goes back to the previous setting.  The other tool I found only let you add one drive.

This tool let's you add as many drives as you want.  You can have it open to the systray.

The last three external USB hard drives I have purchased all seem to have a power saving mode implemented through firmware.  Power settings changes in Windows 7 did not resolve the issue.  I need to keep these drives from going into power saving mode as it interferes with my Media Center processes.

Installation


Download






Extract the KeepAwake.exe to any location your prefer.

Usage

Open KeepAwake.exe.  Add the drives you want to prevent from going into a power saving mode.  When ready, click the Start button.  Once Start is clicked the application is active and will 'ping' the specified drives at the set interval. 

This application works by writing a text file to the root of the specified drive at the set interval.  After the file is written it is deleted.  The contents of the file is a list of the directories on the drive.

Options  - all options are remembered by the application.
  1. Keep awake interval (how often the drive is 'pinged') - set number in minutes
  2. Start on Open - tells the application to go ahead and start monitoring as soon as it is opened (recommended).
  3. Open to Systray - when the application opens there will not be a visible window.  Just a lightbulb icon in the systray area (down by the clock in the lower right).
  4. Automatically run at logon - checking this box will cause the program to automatically run when the current user logs onto the system.
The intentions of options 2,3, and 4 are so once the app is configured it will automatically run when the system is logged on and will be hidden in the systray.  Verification that the app is actually doing something can be seen in the list box on the right.  The wrote file and deleted file, with timestamps are listed.

Note, deselecting the box for Automatically run at logon will delete the startup shortcut.  If you plan to move the location of the .exe, or remove the .exe all together, and have enabled auto run, please uncheck this box first so you do not have messages at logon about a missing file (the shortcut will still be in startup pointing to something that no longer exists).  If you move the .exe, just uncheck, move, and then re-check the box and a new shortcut will be created pointing to the new location.

Right clicking the systray icon allows to choose 'Exit'. Clicking the systray icon opens the KeepAwake window.  Minimizing KeepAwake moves it to systray.  X'ing out closes the application.

Screenshot

 

Troubleshooting

If you have any issues with the program please post them in the comments section.


Friday, December 07, 2012

Adobe Flash install error 2753

We deploy Adobe Flash ActiveX updates with SCCM using the .MSI and some systems fail with the following error:
Error 2753.The File 'InstallAX.exe' is not marked for installation.

I have found the following steps can resolve this installation issue.

  1. Open Regedit.exe
  2. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\FlashPlayer\SafeVersions
  3. Delete all values under this key
  4. Close Regedit
Re-run the install. 

After successful installation, the values under the above mentioned key will automatically be recreated.

Tuesday, November 22, 2011

Outlook does not popup reminders

First try running the command from the Start>Run box (with Outlook closed):
Outlook /resetfolders /cleanreminders
If that does not work try turning on 'Use cached exchange mode'
To do this:
Start>Control Panel>Mail>click Email Accounts button>on the Email tab highlight the Exchange account and click the Change button. Put a checkmark in 'Use Cached Exchange Mode'. Click Next. Click Finish.
Try Outlook and see if reminders popup. I have had success with this.

Friday, August 19, 2011

Internet Explorer 9 does not open .ica links

If IE9 is saving your .ica links instead of opening the connection here is something to try.

1) Run regedit as administrator
2) Browse to HKEY_CLASSES_ROOT\PROTOCOLS\Filter\application/x-ica
3) Rename application/x-ica to application/x-ica.old
4) Close regedit
Try opening the .ica link now. Hopefully it will open the connection this time instead of saving the .ica file.

Friday, August 05, 2011

Outlook 2007 The messaging interface has returned an unknown error. If the problem persists, restart Outlook.

One thing that I've found that may fix this is if the profile is set to use cached exchange mode uncheck that option. Click Next and then Finish. Restart Outlook.

To get to the setting go to Control Panel>Mail>Email Accounts>on the Email tab double click your email profile. Uncheck the 'Use Cached Exchange Mode' box. Next. Finish. Reopen Outlook.

Keep in mind I am guiding you down the road to no more cached exchange mode. If you want to go back to cached exchange mode you will want to rename the .ost file it was using to .old and recheck the box so it will create a new .ost file.

OST file locations:
Windows 7 and Windows Vista
drive:\Users\user\AppData\Local\Microsoft\Outlook

Windows XP
drive:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Outlook

Wednesday, July 27, 2011

Windows Autologon script

Here is a script you can use to set a Windows PC to autologon. Edit the script and set the variables to your desired settings.

Monday, July 25, 2011

VPMSECE.DLL errors in Outlook

These errors usually occur when something has changed, like the Symantec Endpoint Server address or a Symantec reinstall. You may be able to fix this error by deleting the extend.dat file from Outlook.

Close Outlook.

On XP browse to: C:\Documents and Settings\%username%\Local Settings\Application Data\Microsoft\Outlook. Delete the extend.dat file.

Reopen Outlook and see if error goes away.

On Windows 7 or Vista browse to: C:\Users\%username%\AppData\Local\Microsoft\Outlook. Delete the extend.dat.

Reopen Outlook and see if error goes away.

New beginner's guide to PowerShell on my GitHub page

 I created a beginner's guide to PowerShell here: https://github.com/aamjohns/Powershell_Guide/blob/main/README.md I hope it helps someo...