antonsen.net

antonsen.net

Firefox web page error: Content Encoding Error

Posted on April 9th, 2010 by eivind
Posted in Technical | No Comments »

Webpages viewed with Firefox may give you this error:
“The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.”

This seems to be a bug in Firefox. It may or may not be resolved in a fix in future.

Temporary solution:
Hit Ctrl+F5

E;>

Outlook 2007 and Vista problems

Posted on October 15th, 2009 by eivind
Posted in Technical | No Comments »

A friend recently asked me to help with a problem with importing a outlook 2003 pst file to his new PC with Vista and Outlook 2007.
He kept getting “File access is denied. You do not have the permission required to access the file Outlook.pst.”

What you need to do is set full control file security rights to current user explicitly. Group membership (for example: local admins) is not enough.
If you do not do this outlook and scanpst.exe sees the file as read only (will not show as read only in file properties).

Outlook then prompted that the file was corrupt.
Used scanpst.exe (an util bundled with office) from office folder to try to repair file.

Scanpst.exe took about 30+ minutes to run, the file was then ok.

Hope this info is helpful, let me now :)

HP LaserJet 6P Windows 7 Driver

Posted on September 23rd, 2009 by eivind
Posted in Technical | No Comments »

If you have a HP LaserJet 6P and you want to use it with Windows 7, try the printer driver for “HP LaserJet 5200 Series PCL 5″ which is bundled with the OS.

cannot set IE security zone sites via GPO

Posted on September 15th, 2009 by eivind
Posted in Technical | No Comments »

WARNING:

The solution to this problem requires you to edit the registry,
always make backup before implementing,
and if you do not know what you’re doing, don’t do it !

If you’re having problems setting IE security zone sites via GPO, this registry key may be the cause:
“HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains”

I’ve found that if anything is registered under this key, whatever you set in GPO will not be applied.

Solution: Delete the “Domains” key and all subkeys with the following vb script

On Error Resume Next

Const HKEY_CURRENT_USER = &H80000001

strComputer = “.”
strKeyPath = “Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains”

Set objRegistry = GetObject(“winmgmts:\\” & _
strComputer & “\root\default:StdRegProv”)

DeleteSubkeys HKEY_CURRENT_USER, strKeypath

Sub DeleteSubkeys(HKEY_CURRENT_USER, strKeyPath)
objRegistry.EnumKey HKEY_CURRENT_USER, strKeyPath, arrSubkeys

If IsArray(arrSubkeys) Then
For Each strSubkey In arrSubkeys
DeleteSubkeys HKEY_CURRENT_USER, strKeyPath & “\” & strSubkey
Next
End If

objRegistry.DeleteKey HKEY_CURRENT_USER, strKeyPath
End Sub

Thanks to The Microsoft Scripting Guys for example script

Clear Clipboard in Windows 7

Posted on September 8th, 2009 by eivind
Posted in Technical | No Comments »

If you want an easy way to clear the clipboard in Windows 7 do as follows:

Create a new shortcut on desktop.
Set target to: C:\Windows\System32\cmd.exe /c echo off | clip

Set it to run minimized

To specify an icon you can use: %SystemRoot%\system32\shell32.dll

Pin it to the taskbar for easy access

Enabling the Clock in the Taskbar for Terminal Services Sessions

Posted on October 28th, 2008 by eivind
Posted in Technical | 2 Comments »

Enabling the Clock in the Taskbar for Terminal Services Sessions

Easiest way to do this is as follows:

Turn on system clock your computer,
check this key in registry, (HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2\Settings),
the ninth pair of hexadecimal values should be “02″

Export this key to a reg file
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2

then call this regfile in a logonscript “regedt32 /s “\\path_to_regfile\regfile.reg”

windows installer error 2203

Posted on February 27th, 2008 by eivind
Posted in Technical | 4 Comments »

I recently encountered Windows installer error 2203 whenever I tried to install a .msi file.

The problem was that whenever the machine was restarted the %TMP% and %TEMP% variables where set to C:\Temp. I could not figure out why (searched registry etc..)

My Resolution:
Open cmd, type echo %TEMP%
Compare the result with the setting under My Computer
Right click My Computer -> Properties -> Advanced -> Environment variables -> User variables
Change the latter to match the first.

or

create a batch to run these commands on login…
(where Path is the same on each command and may be c:\temp (example))

reg add “HKEY_CURRENT_USER\Environment” /v “Temp” /t REG_SZ /d “Path” /f
reg add “HKEY_CURRENT_USER\Environment” /v “Tmp” /t REG_SZ /d “Path” /f
set TMP=Path
set TEMP=Path

PS! If you don’t know what you’re doing,, Don’t do it!

WSUS 3.0 SP1 installation failure

Posted on February 13th, 2008 by eivind
Posted in Technical | No Comments »

I tried to install WSUS 3.0 w/SP1

It failed with the errror :  0×80070643

My problem was that the drive I tried to install it on was compressed

I decompressed the drive and  it worked perfectly..

E;>

Disable system Beep in Windows XP

Posted on January 17th, 2008 by eivind
Posted in Technical | 2 Comments »

 

Disable system Beep in Windows XP

- Right-Click My Computer
- Click Properties
- Click Hardware
- Click Device Manager
- Go to View –> Show hidden devices
- Under Non-Plug and Play Drivers right-click on Beep and select Properties
- Under Driver tab in Startup select Disabled
- Restart