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
As title, It is a memo of my daily work, it won't be very detail but enough to retrieve what I have to.
Friday, September 16, 2011
Change Default User Registry
Wednesday, August 10, 2011
Steps for Upgrading Zabbix Minor Version
- Download latest source from www.zabbix.com
- Installation Manual for 1.8 http://www.zabbix.com/documentation/1.8/manual/installation/installation_from_source
- service zabbix-server stop
- service zabbix-agentd stop
- tar xvf zabbix-1.8.6.tar.gz
- cd zabbix-1.8.6
- ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl
- make install
- cp /usr/local/sbin/zabbix* /sbin
- cd frontends
- cp php /var/www/html/php -R
- cd /var/www/html
- mv zabbix zabbix185
- mv php zabbix
- chown apache.apache zabbix -R
- 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
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
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 "
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
sysprep /generalize /oobe /unattend: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”
“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList”
Subscribe to:
Posts (Atom)