2009
03.25

This happens in both Internet Explorer 6 and 7 when a user is printing from a web page that has a Java applet embedded.

The first thing we tried was clearing all temporary files and cleaning the registry. This made no difference, so we then tried uninstalling Sun Java and reinstalling it, but the problem persisted. Next, in case it was and issue just for this user, we had them log out while we renamed the profile so when they logged back in they had a new one created. Same problem. Finally, we found this batch file to completely remove Sun Java from the computer here. We ran that, and then reinstall Java and it was fixed. You can download the batch file here (Right-click -> save file/link). Here’s the actual code in the batch file:


Rem to run this file and log the output use: "uninstall java.bat">>java_remove.log
Rem @echo off &
cls
Rem List all Installation subkeys from uninstall key.
echo Searching Registry for Java Installs
for /f %%I in (’reg query HKLM\SOFTWARE\microsoft\windows\currentversion\uninstall’) do echo %%I | find “{” > nul && call :All-Installations %%I
echo Search Complete..
goto :NoneFound
:All-Installations
Rem Filter out all but the Sun Installations
for /f “tokens=2*” %%T in (’reg query %1 /v Publisher 2^> nul’) do echo %%U | find “Sun” > nul && call :Sun-Installations %1
goto :EOF
:Sun-Installations
Rem Filter out all but the Sun-Java Installations. Note the tilda + n, which drops all the subkeys from the path
echo %1
for /f “tokens=2*” %%T in (’reg query %1 /v DisplayName 2^> nul’) do echo . Uninstalling - %%U: | find “Java” && call :Sun-Java-Installs %~n1
if errorlevel 1 (
echo Doing further conditional checking on variables.
for /f “tokens=2*” %%T in (’reg query %1 /v DisplayName 2^> nul’) do echo . Uninstalling - %%U: | find “J2SE” && call :Sun-Java-Installs %~n1
)
goto :EOF
:Sun-Java-Installs
Rem Run Uninstaller for the installation
MsiExec.exe /x%1 /qb /quiet /passive /promptrestart
echo . Uninstall Complete, Resuming Search..
goto :EOF
:NoneFound
Rem No Java found to remove from this system
echo No Java found or all versions already removed from this system
goto :EOF

2009
03.23

13 Month Xbox Live Subscription CardA subscription to Xbox Live is officially $49.99 for 12 months from Microsoft or any official reseller. With free shipping from Amazon, a Xbox Live subscription card is only is only $38.99 for 13 months.

If they are broken down by cost per month, then an official subscription from Microsoft is $4.17 a month and buying a subscription card from Amazon is $3.00 a month. That’s a savings of 28%, which means if you buy a 13 month subscription card from Amazon every time, as opposed to letting it auto renew, then every fourth year you are subscribed to Xbox Live it will effectively be free! This is definitely how myself and my friends will be renewing for now on.

2009
03.20

I work in the IT department of a bakery, so much of what I write about will be problems I encounter on a day-to-day basis.  I will write a lot about what I discover, as I hope to help others when they come across the same problems.

The problem I am discussing now is one that a user could not open or save a certain PDF that he receives weekly in an email.


Close Outlook if it is open
Start
Run
'Regedit.exe'
Edit
Find...
'OutlookSecureTempFolder'
This will give a url like C:\Documents and Settings\#{username}\Local Settings\Temporary Internet Files\OLK#{random character}\
Copy the name of the folder
Close the Registry Editor
Start
Run..
Paste the url and click enter
Ctrl + A
Delete
Yes

The problem should be solved when you open Outlook 2003 again. The problem occurs because whenever you open a file it saves a temporay version. When there are multiple with the same file name then it names it like “CompanyPolices (22).pdf” and so on. The problem is that onces it gets to 99 it will not save any more files so all of the previous ones need to be removed.