顯示具有 Altiris 標籤的文章。 顯示所有文章
顯示具有 Altiris 標籤的文章。 顯示所有文章

2013年12月24日 星期二

Symantec Altiris 故障復原

狀況:
安裝 Symantec Altiris 的機器硬碟出現 bad track 錯誤訊息。這一台有裝 SSR 2011 但是只在剛裝好 Altiris 時做過硬碟備份。

復原步驟:

  1. 用 SSR 2011 將有壞軌的硬碟做一次備份,備份檔存在第二個硬碟,必須勾選 "複製時略過損壞的磁區"。因為有壞軌所以備份時間會比較久。(圖一)
  2. 關機。將有壞軌的硬碟取下,更換一顆新的硬碟。
  3. 用 SSR 2011 Recovery Disk 光碟開機,用備份檔復原系統。
  4. 開機後發現 IIS service 無法啟動。
  5. 到新增移除程式,移除 ASP.NET, Internet Information Services (IIS) 再重新安裝。(圖二)
  6. IIS 重裝後,Virtual directory Altiris 遺失。
  7. 再次用 SSR 2011 Recovery Disk 將 "剛裝好 Altiris 時做過硬碟備份" 還原到第三個硬碟。
  8. 用第三個硬碟開機,到 IIS manager 將 Virtual directory Altiris 設定會出成檔案。(圖三)
  9. 用新的硬碟開機,到 IIS manager 新增 Virtual Directory from file。(圖四)
  10. 開啟 Altiris 管理網頁出現錯誤訊息 Unrecognized attribute 'type'
  11. 執行指令 %windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i。改用 ASP .NET 2.0 可解。

2012年11月16日 星期五

Install software with silent mode 用安靜模式安裝軟體

用派送軟體搭配 Windows 內建指令 start,可以用預設值在背景安裝軟體,不會出現需要使用者勾選的視窗。

start /wait "\\MyServer\MyShare\PDFCreator-1_5_1_setup.exe" /VERYSILENT /NORESTART

如果不要用預設值安裝、要調整安裝過程的選項,需改用 AutoIT,請參考這一篇

2012/11/23 update:
紅色的部分是 PDFCreator-1_5_1_setup.exe 提供的安裝參數,不一定適用於其他軟體。

Winrar 解壓縮後自動執行

Reference:
http://www.e-show.tw/cht/news/pageinfo-bid1-2-i4.html


AutoIT 教學

AutoIT 可以將人操作 Windows 軟體的動作做成批次檔,這樣就可以用來自動操作 Windows 軟體。例如 IT / MIS 要遠端幫同仁安裝軟體,可以先做好自動安裝檔派送過去就行了。

Download AutoIT and install

以自動安裝 PDFCreator 1.5.1 為例,預設值有 PDFArchitect,我想把這個打勾拿掉。

2012年11月2日 星期五

Symantec Altiris DS 6.9 PXE add Windows 7 driver

狀況:
Altiris DS 6.9 的 WinPE 2.1 只能載入 Vista driver,但是新的 PC 只提供 Windows 7 driver。

解法:
1. download WAIK 3.0 for Windows 7 (KB3AIK_EN.iso), WAIK 3.0 update for Windows 7 SP1 (waik_supplement_en-us.iso)
2. mount KB3AIK_EN.iso, run Windows AIK setup
3. mount waik_supplement_en-us.iso, xcopy E:\ "C:\Program Files\Windows AIK\Tools\PETools" /ERDY
4. build WinPE 3.1 image file
    a. copy C:\Program Files\Windows AIK\Tools\PETools\amd64\winpe.wim -> D:\Altiris\express\Deployment Server\WAIK\Tool\PETools\amd64\winpe.wim
    b. mkdir D:\package
    c. copy the following cab files (winpe-wmi.cab, winpe-scripting.cab, winpe-hta.cab) from C:\Program Files\Windows AIK\Tools\PETools\amd64\winpe_fps -> D:\package
    d. mkdir d:\mount
    e. cd C:\Program Files\Windows AIK\Tools\Servicing
    f. DISM /mount-wim /wimfile:"D:\Altiris\express\Deployment Server\WAIK\Tool\PETools\amd64\winpe.wim" /index:1 /mountdir:d:\mount
    g. DISM /image:d:\mount /add-package /packagepath:d:\package
    h. DISM /unmount-wim /mountdir:d:\mount /commit
5. import Windows 7 driver for WinPE
6. restart Altiris PXE service (Altiris PXE Config Helper, Altiris PXE Manager, Altiris PXE MTFTP Server, Altiris PXE Server)
7. Add a Image deplyment job to test.

參考:
http://www.symantec.com/connect/ideas/ds-69-and-ds-71-should-integrate-support-winpe-30#comment-5586451

2012年3月13日 星期二

Altiris Remote Deploy Error and Solution

Error message: RDeploy the operation was cancelled.

Solution:
http://www.symantec.com/business/support/index?page=content&id=TECH27931

這次的問題是 HD partition 過多。我之前用這一個 HD 測試四個 partition,但是我在 PXE Configuration Utility 的 Edit Boot Image Step6 設定 Deployment share 要對應到 F:。

在 Deploy 過程中就出現 device already in use,把 HD partition 全部刪除後就正常了。

2011年9月1日 星期四

Symantec Altiris deploy software to another domain

狀況:
Altiris server 安裝在 domain-A,要將 software deploy 到 domain-B 的 PC

步驟:

  1. 在 PC 上安裝 Altiris agent,Deployment Server 設定為 Altiris server
  2. 在 domain A 新增一個 domain admin 帳號 altirisadmin
  3. 修改 PC 的 Altiris Client Service 登入帳號為 domain-A\altirisadmin
  4. 將 domain-A\altirisadmin 加入 PC local administrators group, Remote Desktop Users group
  5. 從 Altiris server deploy software to PC

Symantec Altiris client Boot image problem

狀況:
使用Altiris 12.5 boot image讓Notebook開機安裝Windows,Notebook開機後停在
Restarting DHCP Client service: retry 1

原因:
Notebook太新,Boot image裡面缺少它的網路卡driver。

解法:

  1. 使用WinPE執行boot image,並將Notebook driver加入WinPE裡面,請注意WinPE開機時顯示的版本,如果是 x64 就必須用Notebook x64 driver。
  2. Driver安裝後必須將Altiris PXE service restart
選到可用的driver會出現driver information,要確認和網路卡型號是否相同。

Driver如果正確import,會出現在 \\server\eXpress\DriversDB,如果上一步驟確定有適合的driver,但是import不成功,可以自己手動將driver放到DriversDB相對應的路徑,EX: \\server\eXpress\DriversDB\Intel.Pro100+1000\PRO1000\Winx64

Symantec Deployment Solution 6.9一定要勾 Compress WIM file,沒勾的話PXE boot會停在X:\Windows\system32>wpeinit。
參考 http://www.symantec.com/connect/forums/imaging-issues-winpe-21-and-ds-69-sp1

2011年7月27日 星期三

Symantec Altiris Multiple NICs 多張網路卡

原文 http://www.symantec.com/business/support/index?page=content&id=HOWTO2774

Error Message: (開機 BIOS 畫面)
TFTP open timeout.

原因:
Altiris 6.9安裝在多張網路卡的server,TFTP只會起在其中一張網路卡,改設定可讓TFTP起在多張網卡上。

解法:

  1. From the PXE Configuration utilty File pull-down menu, click on Choose PXE Serverand specify your PXE server (not "Shared Configuration"). Close PXE Configuration.
  2. Make some change to the local PXE server configuration and then change it back, such as change the default timeout from 3 seconds to 4 and then back to 3 seconds. Then clickSave and then OK.
  3. Stop the PXE Manager and PXE Config Helper services.
  4. Navigate to the PXE folder and open PXEManager.ini with a text editor. Find the entry similar to “[PXEServer\3164593f-f64b-4d8e-92d1-a58a4890e47a\ListeningNICs]”. At this point there should be only one of these entries. This will be the last entry in the PXEManager.ini.
                Change the INI entry to:
                [PXEServer\3164593f-f64b-4d8e-92d1-a58a4890e47a\ListeningNICs]
                NICs="192.168.0.1","10.0.0.1","172.0.0.1"
                HasCustom=True
                Note: The GUID entry will be different for each PXE server. The PXE  Server GUID is located in the PXE.ini file at the PXE Server install location.

    NICs are variables that contain the IP addresses you want PXE server to listen. Change the IP addresses to fit your environment.

    Save the changes and close the text editor.
  5. Restart the PXE Manager and PXE Config Helper services.
  6. Send a simple job to a single client in all subnets. PXE will be listening in all IP addresses set in the above step. 
  7. You might want to verify that the PXE Server service is listening on all IP addresses specificed by using either a "netstat -an" command or by using a utility such as TCPView.exe from Microsoft.com.

2011年6月29日 星期三

免錢的資產管理軟體

免錢的資產管理軟體
http://newsletter.ascc.sinica.edu.tw/news/read_news.php?nid=1819

newsletter.ascc.sinica.edu.tw
 當MIS人員在面對單位內個人電腦或網路型印表機的數量增加時,總是面臨管理上的挑戰。下列提出四點我們最常遇到的困擾: