2019年1月7日 星期一

解決 2019/01/02 office 2010 更新 KB4461627 後 excel 無法使用問題

微軟自己的官方說明
https://support.microsoft.com/zh-tw/help/4461627/january-2-2019-update-for-excel-2010-kb4461627

簡單來說,就是如果安裝了 KB 4461627 後發生 excel 無法開啟情況,請自行移除此更新檔

然後就教你怎麼移除,但公司多數電腦怎可能一台一台移

網路上找到的批次指令都是失敗的,所以就著手弄了自己弄一個…(如果失敗再留言給我,實測只有兩台電腦,其它的早就手動移掉了)

原理:透過 msiexec 移除 office 的更新檔案,並不是用 wsus 移除 Windows 更新

方式: for /f "tokens=9,11 delims=\\\_" %i in ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ /s /f 4461627') do msiexec.exe /package %i msipatchremove=%j /qb /norestart

管理者權限 cmd 打開,這串指令貼上,送出就自動解除了



以上 

2014年7月4日 星期五

HP Smart Array Raid 卡在 CentOS 中要查詢的方式


HP Smart Array Raid 卡在 CentOS 中要查詢的方式


  1. 到HP網站下載HP Array Configuration Utility CLI for Linux
    網址:http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=US&swItem=MTX-cbafc092601b4aabab8860b40e

    下載點:ftp://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p414707558/v61432/hpacucli-8.60-8.0.noarch.rpm

  2. rpm –ivh hpacucli-*.rpm

  3. 輸入 hpacucli 後再輸入 ctrl all show status 即可顯示型號
  4. 再輸入 ctrl slot=x show config 可以查詢 Raid 卡上所設定的資料 ( X 就是 slot 的代號 )    
  5. 如果改成 ctrl slot=0 show config detail 則會秀出更詳細的資料

2012年5月8日 星期二

遠傳 E1 Trunk 連接方式

遠傳的 E1 因為預設的 CRC 檢查是關閉的, 但又好巧不巧的 Elastix 預設是打開的, 所以就必須關閉這個檢查碼才可以連接...

關閉方式

cp /etc/dahdi/system.conf /etc/dahdi/system.conf.bak

vim /etc/dahdi/system.conf
 
 原始檔如下
==============================================================
# Autogenerated by /usr/sbin/dahdi_genconf on Mon May  7 13:16:24 2012
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=oslec,1-15,17-31

# Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
span=2,2,0,ccs,hdb3,crc4
# termtype: te
bchan=32-46,48-62
dchan=47
echocanceller=oslec,32-46,48-62

# Global data

loadzone        = us
defaultzone     = us
 ==============================================================

修改成
 ==============================================================
 # Autogenerated by /usr/sbin/dahdi_genconf on Mon May  7 13:16:24 2012
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,hdb3
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=oslec,1-15,17-31

# Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
span=2,2,0,ccs,hdb3
# termtype: te
bchan=32-46,48-62
dchan=47
echocanceller=oslec,32-46,48-62

# Global data

loadzone        = us
defaultzone     = us
 ==============================================================