Wednesday 14 January 2009

REG to add the entry "Run As" for an MSI file

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Msi.Package\shell\runas\command]
@="\"%SystemRoot%\\System32\\msiexec.exe\" /i \"%1\" %*"

REG to append DNS suffixes in the TCP/IP properties

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"SearchList"="mydns.net,yourdns.net,test.com"