antonsen.net

antonsen.net

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

JK Wedding Entrance Dance

Posted on September 4th, 2009 by eivind
Posted in Misc | No Comments »

AWSOME !!!!!!!!