Updates from October, 2009 Toggle Comment Threads | Keyboard Shortcuts

  • levin 11:18 am on October 29, 2009 Permalink | Reply
    Tags:   

    maximizing windows 2003 server network throughput 

    I was using that setting on a heavy stressed RAC database.

    TcpWindowSize, set to 64k if your have Gb network

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip
\Parameters\TcpWindowSize 65535

    Tcp1323Opts, allow scaling on high speed network

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters
\Tcp1323Opts 1

    MaxHashTableSize, maximize tcp control blocks

     HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip
\Parameters\MaxHashTableSize 65536

    MaxUserPort, maximizes open port if you have plenty of memory

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip
\Parameters\MaxUserPort   65534
     
  • levin 1:14 pm on October 13, 2009 Permalink | Reply
    Tags:   

    how to do file house-keeping on windows 2003 

    Without “Forfiles” command, you maybe write a script with few hundred line, finally windows come with this handy command.

    This will delete .ARC files in d:\oraarch directory older than 10 days.

    Forfiles -p d:\oraarch -s -m *.arc -d -10 -c "cmd /c del /q @path"
     
  • levin 4:38 pm on September 20, 2009 Permalink | Reply
    Tags:   

    howto: create a windows PE CD 

    1. First of all, download windows AIK from Microsoft

    2. Mount it or burn it to a DVD

    3. Install AIK on your windows XP/Vista

    4. Open windows PE command prompt from start menu

    C:\Program Files\Windows AIK\Tools\PETools>copype.cmd x86 z:\pe
     
    C:\Program Files\Windows AIK\Tools\PETools>oscdimg.exe -bz:\pe\etfsboot.com -n -o z:\pe\iso\ z:\pe\pe.iso

    Useful link:

    http://apcmag.com/windows_pe_20_a_tiny_version_of_windows_for_system_maintenance.htm

     
  • levin 1:53 am on January 2, 2009 Permalink | Reply
    Tags:   

    enable 4gb memory for vista 32bit 

    To force this new addressing method, you have to tell Vista to boot using this new parameter.  Vista no longer uses a BOOT.INI file as previous versions of Windows did, so you must modify the boot file using a built-in Vista tool called BCDedit.

    1. Open a command prompt (Press Window key + R to open the Run dialog, and then type cmd).
    2. Press Ctrl + Shift + Enter to execute (this allows you to run cmd in administrative mode if you haven’t already setup up a permanent admin mode).
    3. Type BCDedit /set PAE forceenable.

    This PAE flag (Physical Address Extension) tells the Vista core to use an additional 4 bits of addressing, which in theory allows the OS to see all of the RAM you have available.  We’re not out of the woods yet, because once you reboot you may find that Vista still doesn’t see all of your RAM.  You can turn PAE off again by typing BCDedit /set PAE forcedisable or BCDedit /set PAE default.

    http://www.ocmodshop.com/ocmodshop.aspx?a=989

     
  • levin 1:05 am on May 18, 2008 Permalink | Reply
    Tags:   

    How to change the listening port for Remote Desktop 

    This article was previously published under Q306759

    INTRODUCTION

    This article describes how to change the port that Remote Desktop listens on.

    Note The Remote Desktop Connection Client for the Mac supports only port 3389. 3389 is the default port.

    MORE INFORMATION


    You can use the Remote Desktop feature in Microsoft Windows XP Professional to connect to your computer from another remote computer.

    Warning The Remote Assistance feature in Microsoft Windows XP may not work correctly if you change the listening port.

    For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

    307711 (http://support.microsoft.com/kb/307711/) Remote Assistance invitation file does not contain correct port number

    To change the port that Remote Desktop listens on, follow these steps.

    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/) How to back up and restore the registry in Windows
    1. Start Registry Editor.
    2. Locate and then click the following registry subkey:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
    3. On the Edit menu, click Modify, and then click Decimal.
    4. Type the new port number, and then click OK.
    5. Quit Registry Editor.
     
  • levin 11:32 pm on January 9, 2007 Permalink | Reply
    Tags:   

    Enable WindowsXP content search in unknown filetype 

    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet\Control\ContentIndex\

    FilterFilesWithUnknownExtensions

    DWord = 1

     
  • levin 11:50 am on November 15, 2006 Permalink | Reply
    Tags: ,   

    MS Indexing Web query 

    Setup a file index query web interface.
    define query repos in query.htm

    and both files results-asp into IIS webroot.

    Reference:

    http://www.windowsnetworking.com/articles_tutorials/Making-Windows-Server-2003-Indexing-Service-Useful.html

     
  • levin 12:20 pm on June 9, 2006 Permalink  

    Enable MySQL support in PHP5/Win32/Apache2 

    There have one stupid thing where is nobody know. After you set the ext path and un-comment the modules in c:\windows\php.ini , you should also copy libmysql into windows directory. Otherwise you will get this message in apache log.

    PHP Warning:  PHP Startup: Unable to load dynamic library ‘c:\\php\\ext\\php_mysqli.dll’ – The specified module could not be found.\r\n in Unknown on line 0

    http://www.phpfreaks.com/forums/lofiversion/index.php/t87276.html

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel