Entries in the ‘other’ Category:

WSH script to remove system and user DSN

‘Gregor Stefka
Const HKEY_LOCAL_MACHINE = &H80000002
Const HKEY_CURRENT_USER  = &H80000001
strComputer  = “.”
strDSN  = “YourDSN”
Set objReg=GetObject(“winmgmts:{impersonationLevel=impersonate}!\\” & _
    strComputer & “\root\default:StdRegProv”)
 
strKeyPath = “SOFTWARE\ODBC\ODBC.INI\” & strDSN
objReg.DeleteKey HKEY_LOCAL_MACHINE, strKeyPath
objReg.DeleteKey HKEY_CURRENT_USER, strKeyPath
strKeyPath = “SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources”
objReg.DeleteValue HKEY_LOCAL_MACHINE,strKeyPath,strDSN
objReg.DeleteValue HKEY_CURRENT_USER ,strKeyPath,strDSN

Leave a Comment

WSH Script to add or replace system path variable

strNewPath  =”d:\newpath;”
strPathToReplace =”f:\pathToReplace;”
‘********************************* SET YOUR PATH ABOVE************************
‘Gregor Stefka
Const HKEY_LOCAL_MACHINE  = &H80000002
strComputer    = “.”
strKeyPath    = “SYSTEM\CurrentControlSet\Control\Session Manager\Environment”
strValueName    = “Path”
Set oReg=GetObject(“winmgmts:{impersonationLevel=impersonate}!\\” & strComputer & “\root\default:StdRegProv”)
oReg.GetExpandedStringValue HKEY_LOCAL_MACHINE,strKeyPath, strValueName,strValue
bAllreadySet    = InStr(1, strValue, strNewPath, 1)
‘Wscript.Echo  “The OldPath is: ” & strValue
‘Only add if its not set:
If bAllreadySet = 0 then
 If strPathToReplace =”” or InStr(1, strValue,strPathToReplace, 1) = 0 then
  strNewPath = strNewPath & [...]

Leave a Comment

Cool Photo Tool: Photosynth

Ever  tried to do panorama pictures with your digicam? Its not that easy to use, and hard to do real big panoramas. A tool that makes the shooting and generating of  complete 3D Views easy: Photosynth. Photosynth builds a 3D Point cloud of a photographed object. Take a look at http://photosynth.net/ . An explanation of [...]

Leave a Comment

my wish list for the living room

a digital picture frame with the following features:

WiFi 802.11b/g/n  Support
Any UNC/FTP path as a picture source. Maybe online (flickr or Picasa WebAlbum support)
google / outlook Calendar support
RSS feeds support.
a remote control
a timer (show calendar / RSS news 6:00 – 8:00 show pics from 15:00 – 22:00)

a “Media Player Device” to stream digital content to [...]

Leave a Comment

Intel S5000PSL shows only 2.5GB in Windows 2003 x86

The only way i know of is to enable PAE in the boot.ini (/PAE)
See http://downloadmirror.intel.com/12820/ENG/SL_74release.txt
and http://support.intel.com/support/motherboards/server/s5000psl/sb/CS-022924.htm.
After reboot you’ll see the hole 4GB in Windows.

Leave a Comment

Microsoft ISA Server 2004: Using SQL based Logging

ISA Server 2004 Supports 3 Types of Logging. File based, Integrated MSDE or ODBC/SQL Server. The downsite of the Filebased and MSDE based solution is its limited capacity, the additional load to the ISA Server and the possible security risk. (You should store the logs of your ISA on a different and additionally secured machine…)
So, [...]

Comments (4)

Key features for a small business (dsl) router

Nowadays you can buy (DSL) Routers from Netgear, D-Link, Linksys and others at the supermarket. But what features do really count in a business environment? Here are my top list of features, which you can not read on the fancy cool looking packing at the supermarket.
Note: This list of features is nothing special for [...]

Comments (6)

Internet / VPN access from China to european serversystems

You can read alot about Chinas “Great Firewall” and how it restricts access to evil sites like BBC or newsweek and that chinese bloggers might get arested for political opinons but you can not read very much about the rules of the game:
When i go to china,

what is allowed to do on the net and [...]

Comments (2)

Monad (now: Windows PowerShell) RC1 available

MS is developing a new shell for some time now. Microsoft changed the Name from MSH into Monad into the so incredible cool and unique buzzword “PowerShell”. Good work marketing guys! Especially the acronym “ps” is a really good idea…
Ok, despite that stupid name, the PoSh is now available as RC1 for download.
Its not just [...]

Leave a Comment

Backup Firebird Databases

Firebird, the FREE relational SQL database previously known as Interbase, is a solid and robust but not very commonly known database. That means its a bit more difficult to get things working. There is no huge community with hunderts of HowTos, Wikis, etc you can reefer to.
I ve tried to get into Firebird Databases a [...]

Comments (1)