Friday, September 16, 2011

Change Default User Registry


REG LOAD HKU\ZZZ "C:\Documents and Settings\Default User\NTUSER.DAT"
REG ADD HKU\ZZZ\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /v newUserProfile /t REG_EXPAND_SZ /d "D:\setup.cmd" /f
REG UNLOAD HKU\ZZZ

Wednesday, August 10, 2011

Steps for Upgrading Zabbix Minor Version


  1. Download latest source from www.zabbix.com
  2. Installation Manual for 1.8 http://www.zabbix.com/documentation/1.8/manual/installation/installation_from_source
  3. service zabbix-server stop
  4. service zabbix-agentd stop
  5. tar xvf zabbix-1.8.6.tar.gz
  6. cd zabbix-1.8.6
  7. ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl
  8. make install
  9. cp /usr/local/sbin/zabbix* /sbin
  10. cd frontends
  11. cp php /var/www/html/php -R
  12. cd /var/www/html
  13. mv zabbix zabbix185
  14. mv php zabbix
  15. chown apache.apache zabbix -R
  16. http://<servername>/zabbix to run the setup and finish

Monday, July 25, 2011

Vmware HotAdd Memory

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1012764


Download this for auto enable.
http://communities.vmware.com/servlet/JiveServlet/download/10492-7-26611/online_hotplug_memory.sh

Run "sysctl -p" to re-scan large memory

Monday, June 20, 2011

Cisco and Nortel Switch Storm Control

int F0/1
storm-control broadcast level 10.00 05.00
storm-control unicast level 89.00 67.00
int G0/1
storm-control broadcast level 10.00 05.00



/cfg/port 1/brate 26000
/cfg/port 2/brate 26000
/cfg/port 3/brate 26000
/cfg/port 4/brate 26000
/cfg/port 5/brate 26000
/cfg/port 6/brate 26000
/cfg/port 7/brate 26000
/cfg/port 8/brate 26000
/cfg/port 9/brate 26000
/cfg/port 10/brate 26000
/cfg/port 11/brate 26000
/cfg/port 12/brate 26000
/cfg/port 13/brate 26000
/cfg/port 14/brate 26000
/cfg/port 15/brate 26000
/cfg/port 16/brate 26000

Friday, June 3, 2011

Install Lotus Notes on Citrix or Roaming Profile Environment

The help document of IBM syntax is wrong, it is the correct syntax that I have tried many times for it

setup.exe /v"SETMULTIUSER=1 MULTIUSERBASEDIR=!APPDATA! MULTIUSERCOMMONDIR=C:\\ProgramData  CITRIX=1 "

Thursday, June 2, 2011

Copy Admin Profile to Default Profile by Sysprep in Windows 7

Unattend.xml

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CopyProfile>true</CopyProfile>
</component>
</settings>
<cpi:offlineImage cpi:source="wim://<computerName>/g$sources/install.wim#Windows 7 Professional" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>


sysprep /generalize /oobe /unattend:unattend.xml

Windows 7 Delete User Profile

Computer Properties-> Advanced system settings (on the left side) -> Settings for User Profiles (in the middle) -> Select the profile you want to delete and click the delete button.

“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList”