Tuesday, June 13, 2006

Windows :: Disable DNS dynamic updates

Disable DNS dynamic updates

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

By default, dynamic updates are configured on Windows Server 2003-based clients. To disable dynamic updates for all network interfaces, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
  3. On the Edit menu, point to New, and then click DWORD value.
  4. Type DisableDynamicUpdate, and then press ENTER two times.
  5. In Edit DWORD Value, type 1 in the Value data box, and then click OK.
  6. Quit Registry Editor.
To disable dynamic updates for a specific interface, follow these steps:

  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\interface - Note interface is the device ID of the network adaptor for the interface that you want to disable dynamic update for.
  3. On the Edit menu, point to New, and then click DWORD value.
  4. Type DisableDynamicUpdate, and then press ENTER two times.
  5. In Edit DWORD Value, type 1 in the Value data box, and then click OK.
  6. Quit Registry Editor.
[ trackback ]

Monday, June 5, 2006

Change Gaim Data folder

Where are my Gaim settings and data (including logs) saved?

As of 0.69, shfolder.dll is used to determine the location for a user's app data.
On Windows ME this will be something like C:\WINDOWS\Profiles\username and on Win 2k/XP C:\Documents and Settings\username\Application Data.

This can be overridden by setting the GAIMHOME environmental variable (as of v1.1.0).
Logs are stored in this directory in a subdirectory called "logs."

[ trackback ]

Friday, June 24, 2005

DOS shell command output to %VAR%

In Linux its quite easy to get the output of a command into a variable for future use. In Windows..., well, no quite so easy.

FOR /F %%B IN ('d:\utils\date +%%Y%%m%%d-%%H%%M') DO SET DATE=%%B

The 'date' command in this examples is the Win32 GNU port of the equivalent Linux command.

For use in CMD or BAT scripts in Windows.

Thursday, February 24, 2005

Windows OpenSSH home directory

Look in your /etc/passwd file.
You should see entries that look something like this:
depriest::43363:513:DePriest, Jason R,U-:/home/depriest:/bin/b
ash

You can edit the file manually and change the '/home/' entry to be whatever you wish. For instance, if I created a directory called C:\MyDirectory and wanted that to be my home directory, the same line would now read:

depriest::43363:513:DePriest, Jason R,U-:/cygdrive/c/MyDirectory:/bin/bash

[ trackback ]

Tuesday, January 11, 2005

Change the Logon Screen Wallpaper (All Windows)

Change the Logon Screen Wallpaper (All Windows) at Registry Guide for Windows
  • [HKEY_USERS\.DEFAULT\Control Panel\Desktop]
[ trackback ]

Tuesday, January 4, 2005

NTLM in Firefox

Integrated NTLM authentication in internal corporate sites with Firefox.

Go to "about:config", edit network.automatic-ntlm-auth.trusted-uris and type all the allowed sites to use integrated authentication, separated by comma.

[ trackback ]

HTTP Pipelining in Firefox

Firefox flies into over drive

All you've got to do is type "about:config" into your address bar, wait for it to load, then alter the following entries:
  • network.http.pipelining : true
  • network.http.proxy.pipelining : true
  • network.http.pipelining.maxrequests : 30 (meaning it will be able to make 30 requests at once.)
[ trackback ]