Sunday, November 29, 2009

Trouble installing Java - Unable to verify the security integrity

Let's say you get this error:

---------------------------
Error - Java(TM) Update
---------------------------
Unable to validate security integrity on the file. File is either corrupted or unsigned.
---------------------------
OK
---------------------------

And you go to www.java.com and do the "Free Java Download" ... installing it gets this:
---------------------------
Error - Java(TM) Installer
---------------------------
Downloaded File C:\Documents and Settings\username\Application Data\Sun\Java\jre1.6.0_17\jre1.6.0_17-pfrom15.msi is corrupt.
---------------------------
OK
---------------------------

What to do?
Go to the Manual Download section and download the Offline install (second link) (It should look similar to jre-6u17-windows-i586-s.exe)

If that doesn't work, drill down and find the jre .msi file and install that.

Wednesday, November 25, 2009

Another reason to use the Private Browsing mode

I'm sure there's a good reason (ahem, shopping? really?) to use the Private browsing mode in Firefox and IE (note: you're not completely private in these modes. Proxies and other man-in-the-middle snooping are still possible) ... but if you use a shared/public/library computer, it might be worth it to go "Private" while checking your mail or going on facebook. When you return from "Private", it forgets all of your logged in status while in Private mode, so it's less likely that the next someone can hit (back) and see you still logged in. Just don't start bookmarking while in private mode...

Background images not showing up in IE or Firefox

If you turn on High Contrast Mode in Windows, it will disable loading background images in both IE and Firefox. You won't be able to see ANY background images, either CSS or <body> tagged. This is incredibly difficult to troubleshoot if you don't know about it. It's not a virus, it's not a BHO (Browser Helper Object), it's simply just a "feature" of the Accessibility option.

Read more here.

Wednesday, November 18, 2009

AVG Not running this week? Try upgrading

The weirdest thing. I installed a noisy firewall and suddenly I notice my antivirus wasn't running. Coincidence? Yes, actually, it was. AVG silently (in my case) stopped working, but opening the interface told me why: it's time to upgrade to version 9. I did and now I'm happy again. Perhaps this might help someone else.

Phantom Recipient in Outlook Meeting Request

A user emailed me that she was sending a meeting request to another user via Outlook but it bounced because it was also being sent to a user who was no longer in our system.

It turned out that the recipient's Outlook client Tools, Options, Delegates still had that old user listed, which was then removed.

Remove a dll attached to WinLogon

From this thread, the best answer given was essentially to remove inheritance and all permissions to the file, then reboot, then delete the file. (Mitigating factor: if it self-heals permissions).

The next best answer was to boot from an XP CD in System Recovery mode.

The third best answer (from *MY* point of view, because it *is* that simple) is to boot from a LiveCD, mount the file system as writeable and delete the file. The down side is a *possibility* of messing up NTFS file systems, but IMO that is not a huge risk.

I had to do this to fix an m.exe autorun.inf USB dropper that had a dll that stuck to winlogon notify.

Sunday, November 8, 2009

32 bit? 64bit? Maximum RAM?

The question is posed: Why is a 32bit system limited to 4GB and what is the limit of RAM in 64bit systems?

The answer is based upon binary, the ones and zeros:
32 bits can be represented by ones and zeros up to
1111 1111 1111 1111 1111 1111 1111 1111
The value represented by this is 2^32-1 or 4,294,967,295 (4 gigabytes)

64 bits represented by ones and zeroes is obviously twice as long:
1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111 1111
(Spaces don't mean anything. They're simply used as a separator inasmuch as a comma is a separator in decimal notation.)
but the value in decimal notation is 2^64-1 or 17,179,869,184 gigabytes

Read more here

Wednesday, November 4, 2009

OTRS My FAQ.

Q: How to do LDAP/Active Directory integration?
A: LDAP Integration is adequate.

Q: How to change the Notification Master email address?
A: Admin, SysConfig, Framework, Show, click Core, Find and change NotificationSenderEmail.

Q: How to use OTRS like Spiceworks Tickets Anywhere?
A: First, take a look at Spiceworks' command list
Then, for each thing you'd like to implement, in Admin, Postmaster Filter, type in a filter name, then use the top half of the right window to provide the search (Body, #close) and use the bottom half of the right window to set the field (eg, X-OTRS-State, closed successful).

Vista Start menu forgets to open with keystroke

This isn't an issue with start menu never opening. It's just an issue with Start Menu not opening with either Windows key or Ctrl-Esc. Apparently, the "fix" is to open task manager, end task on Explorer.exe, and run Explorer.exe again.

Tuesday, November 3, 2009

MapPoint and Perl. Basic code to get driving directions.

I'm not a perl guru. I dabble. However, this is the code I've been working around to provide automated queries versus a MapPoint install so as not to bother the online web-based map providers with large amounts of queries:

First, you can get a demo of MapPoint 2013 Here ... It's a 14 day fully functional trial except it bugs you to activate every time you start it. Not good for automation, but decent enough if you want to test this.

use Win32::OLE qw(in with);
use Win32::OLE::Const;
use Win32::OLE::Const 'Microsoft MapPoint';
$Win32::OLE::Warn = 3; # die on errors...

my $MapPoint = Win32::OLE->new('MapPoint.Application', 'Quit');
my $Map = $MapPoint->NewMap();
my $Route = $Map->ActiveRoute();
my $Results1 = $Map->FindResults("Start Address");
$Route->Waypoints->Add($Results1->Item(1));
my $Results2 = $Map->FindResults("End Address");
$Route->Waypoints->Add($Results2->Item(1));
$Route->Calculate;
my $distance;
for ($count=1; $count<$Route->Directions->Count; $count++)
{
print $Route->Directions->Item($count)->Instruction . " ";
$distance=$Route->Directions->Item($count)->Distance;
if ($distance < 0.1) {
printf "%6.2f yds\n", ($distance*1760)
} else {
printf "%6.2f mi\n", $distance;
}
}
print $Route->Directions->Item($Route->Directions->Count)->Instruction



$Map->{Saved} = -1;

Blog Archive