http://derek858.blogspot.hk/2012/07/slipstream-sql-server-2008-r2-service.html
One of the new features added to Microsoft SQL Server 2008 and R2 is the ability to slipstream a service pack into the installation. This streamlines the installation, and reduces human error. Now that SQL Server 2008 R2 SP2 is officially out, here's how to build a slipstreamed installation. I've updated the instructions from the MSDN SQL 2008 R2 SP1 blog article to reflect SP2 filenames.1. Download SQL Server 2008 R2 SP2 here. Note that you need to download all three architectures (IA64, x64, x86) even if you never plan on using them.m1016c 發表在 痞客邦 留言(0) 人氣(152)
Start Service
DNS Client
Function Discovery Resource Publication
m1016c 發表在 痞客邦 留言(0) 人氣(58)
1) 抄原裝2008 R2原碟去C:\DVDIMAGE
2) MOVE C:\DVDIMAGE\sources\install.wim 去 c:\temp
3) 用IMAGEX 爆走你想要O既SERVER IMAGE 去c:\temp
4) 用IMAGEX 爆走WIN7 碟裡的sources\install.wim 去c:\temp\win7.wim
m1016c 發表在 痞客邦 留言(0) 人氣(332)
http://dice.neko-san.net/2011/05/slipstreaming-windows-2008r2-sp1-into-the-win2k8r2-install-wim/
1.)Start the AIK Deployment Tools Command Prompt and create some directories:
m1016c 發表在 痞客邦 留言(0) 人氣(81)

http://www.urtech.ca/2011/05/solved-how-to-slipstream-inject-service-pack-1-for-windows-7-into-an-existing-rtm-build-dvd-wim/
Wow, there is a lot of misinformation out there. Here is how I did slipstreamed Service Pack 1 into Windows 7 (and this should be the same process for Server 2008 R2).
These instructions require you to have WAIK – Windows Automated Install Kit, which you can get HERE.
m1016c 發表在 痞客邦 留言(0) 人氣(161)
http://www.0xy.cn/read-htm-tid-143078.html
應用到: Windows Vista
Windows 安裝程序可以使用交互式或無人參與式安裝方法來執行Windows 安裝。
交互式 Windows 安裝程序
使用此方法,用戶必須選擇Windows 的安裝位置,閱讀並接受Microsoft 軟件許可條款,並提供產品密鑰。
此方法適用於小規模首次推出或者單個安裝。使用Microsoft 提供的默認映像,交互式Windows 安裝程序無須進行任何準備工作,例如創建應答文件或捕獲Windows 映像。可以將交互式Windows 安裝程序與創建和捕獲自定義Windows 映像相結合使用。
可以使用Windows 產品介質交互式安裝或升級Windows,也可以在存儲和共享來自Windows 產品介質中的安裝文件之後從網絡位置交互式安裝或升級Windows。交互式安裝需要用戶進行輸入,包括目標驅動器、用戶名和時區。
無人參與 Windows 安裝程序
Windows 安裝程序使用無人參與安裝應答文件自動聯機安裝和自定義Windows。此方法適用於大規模首次推出以及保證每台計算機的配置的一致性和準確性。
無人參與安裝需要創建一個或多個包含用於安裝的自定義設置的應答文件。例如,可以更改Internet Explorer 配置或對硬盤進行分區和格式化。有關使用Windows 系統映像管理器(Windows SIM) 創建應答文件的詳細信息,請參閱Windows 系統映像管理器技術參考。
Windows 安裝程序應用應答文件的方法有兩種:明確指定應答文件或模糊搜索應答文件。
明確指定應答文件
可以使用setup.exe /unattend:filename 命令明確指定應答文件。
在此示例中,filename 是應答文件的本地路徑或UNC 路徑。有關詳細信息,請參閱Windows 安裝程序命令行選項。
此應答文件用於配置 Windows 安裝。由於在安裝期間需要重新啟動計算機,因此會在計算機上緩存此應答文件的副本。
模糊搜索應答文件
如果未指定應答文件,則Windows 安裝程序會在若干不同位置模糊搜索應答文件。這些位置包括之前緩存的應答文件、驅動器根目錄下的應答文件以及其他位置。有效搜索路徑的完整列表列在“隱式應答文件搜索順序”部分下。
每當一個配置階段開始時Windows 安裝程序都會模糊搜索應答文件。
Windows 安裝程序搜索應答文件時是按優先級順序進行的。如果在其中一個有效位置找到應答文件,它必須包含有效的配置階段。如果找到一個應答文件,但其中不包含正在運行的給定配置階段的設置,則將忽略該文件。
注意
通常僅會使用名為Unattend.xml 的應答文件。但是,由於某些應答文件中包含破壞性操作(如磁盤分區),因此必須在windowsPE 和offlineServicing 階段中將Unattend.xml 重命名為Autounattend.xml。這些階段會在您首次運行Windows PE 或Setup.exe 時運行。如果使用Windows Setup DVD 啟動方法並通過USB 閃存驅動器(UFD) 或軟盤提供應答文件,則通常會使用Autounattend.xml 文件。
模糊應答文件搜索順序
Windows 安裝程序根據搜索順序識別並記錄所有可用的應答文件。會使用優先級最高的應答文件。將會對應答文件進行驗證,然後將其緩存到計算機中。在windowsPE 和offlineServicing 階段中會將有效的應答文件緩存到$Windows.~BT\Sources\Panther 目錄下。在將Windows 安裝解壓縮到硬盤之後,應答文件會緩存到%WINDIR%\panther。
下表顯示了模糊應答文件搜索順序。
搜索順序 位置 描述
1
註冊表
HKLM\System\Setup!UnattendFile
在註冊表中指定指向應答文件的指針。應答文件並非必須名為 Unattend.xml。
2
%WINDIR%\Panther\Unattend
應答文件的名稱必須為Unattend.xml 或Autounattend.xml。
注意Windows 安裝程序僅在下層安裝中搜索此目錄。如果Windows 安裝程序從Windows PE 啟動,則不會搜索%WINDIR%\Panther\Unattend 目錄。
3
%WINDIR%\Panther
Windows 安裝程序會將應答文件緩存到此位置。
要點
不覆蓋這些目錄中的應答文件。
4
按照驅動器號順序排列的可移動讀/寫介質,位於驅動器根目錄下。
按照驅動器號順序排列的可移動讀/寫介質,位於驅動器根目錄下。
應答文件的名稱必須為Unattend.xml 或Autounattend.xml,且應答文件必須位於驅動器根目錄下。
5
按照驅動器號順序排列的可移動只讀介質,位於驅動器根目錄下。
按照驅動器號順序排列的可移動只讀介質,位於驅動器根目錄下。
應答文件的名稱必須為Unattend.xml 或Autounattend.xml,且應答文件必須位於驅動器根目錄下。
6
windowsPE 和 offlineServicing 階段:
Windows 分發中的 \Sources 目錄
所有其他階段:
%WINDIR%\System32\Sysprep
在windowsPE 和offlineServicing 階段中,應答文件的名稱必須為Autounattend.xml。
對於所有其他配置階段,文件名必須為Unattend.xml。
7
%SYSTEMDRIVE%
應答文件名必須是Unattend.xml 或Autounattend.xml
注意
由於在Windows 安裝過程中會將應答文件緩存到計算機中,因此在數次重新啟動之間應答文件將保留在計算機中。在將計算機交付給客戶之前,必須先刪除%WINDIR%\panther 目錄中緩存的應答文件。但是,如果計劃在最終用戶啟動計算機時運行的oobeSystem 配置階段中存在未處理的設置,則不要刪除緩存的應答文件。
應答文件中的敏感數據
安裝程序將在當前配置階段結束時刪除緩存的應答文件中的敏感數據。
但是,如果應答文件所嵌入位置的優先級高於緩存的應答文件,並且該嵌入的應答文件與模糊搜索條件相匹配,則其將在每個後續配置階段開始時覆蓋緩存的應答文件。例如,如果應答文件嵌在%WINDIR%\Panther\Unattend\Unattend.xml 中,則嵌入的應答文件將在每個配置階段開始時替換緩存的應答文件。例如,如果嵌入的應答文件指定了specialize 和oobeSystem 兩個階段,則在specialize 階段中將發現該嵌入的應答文件,並將清除緩存的數據、已處理的數據以及敏感數據。在oobeSystem 階段中,將再次發現該嵌入的應答文件並再次將其緩存。因此,將無法清除specialize 階段的敏感數據。將不再清除以前處理過的階段的敏感數據。除非必須替代緩存的應答文件,否則建議將應答文件嵌入優先級較低的位置。
Microsoft 建議您在將計算機交付給客戶之前,刪除Windows 安裝上的所有應答文件。這包括所有嵌入的應答文件以及緩存的應答文件。但是,如果計劃在最終用戶啟動計算機時運行的oobeSystem 配置階段中存在未處理的設置,則不要刪除緩存的應答文件。
可以將命令添加到Setupcomplete.cmd 命令腳本,該腳本可刪除計算機上所有緩存的或嵌入的應答文件。有關詳細信息,請參閱將自定義腳本添加到Windows 安裝程序。
Windows 安裝程序為應答文件中的配置階段添加註釋
處理完某個配置階段後,Windows 安裝程序將對緩存的應答文件添加註釋,以表明該階段已處理。如果再次進入該配置階段,而在階段過渡期間並未替換或更新緩存的應答文件,則不會再次處理該應答文件設置。相反,Windows 安裝程序將搜索優先級較低(優先級低於緩存的Unattend.xml 文件)位置的模糊Unattend.xml 文件。
例如,可以使用specialize 階段中包含RunSynchronous 命令的應答文件安裝Windows。在安裝過程中,將運行specialize 階段並執行RunSynchronous 命令。安裝完成後,請運行sysprep /generalize 命令。如果優先級高於緩存的應答文件的位置中不存在應答文件,或者未將應答文件明確傳遞到Sysprep,則安裝程序將在下次啟動計算機時運行specialize。由於緩存的應答文件包含一個註釋(表明已應用該階段的設置),因此將不執行RunSynchronous 命令。
模糊應答文件搜索示例
以下示例幫助描述模糊應答文件搜索的行為。
Windows 安裝程序自動發現名為Autounattend.xml 的應答文件。
創建包含windowsPE 階段中的設置的名為Autounattend.xml 的應答文件。
將Autounattend.xml 複製到可移動媒體設備。
如果要從CD 或DVD 啟動,請配置計算機的BIOS。
啟動 Window Vista 產品 DVD。
在 Windows 正在啟動時插入軟盤。
Windows 安裝程序將會啟動並自動將Autounattend.xml 識別為有效的應答文件。由於使用有效文件名(Autounattend.xml) 的應答文件位於有效搜索路徑之一(A 的根目錄),且包括當前配置階段(windowsPE) 的有效設置,因此將使用該應答文件。
會將應答文件緩存到計算機中。如果在之後的階段中未發現其他應答文件,則整個Windows 安裝程序過程中都將使用該緩存的文件。
應答文件是在預定義的搜索路徑中按照優先級順序發現的
使用前面方案中的步驟通過應答文件安裝Windows。用於安裝Windows 的應答文件被緩存到系統的%WINDIR%\Panther 目錄中。
將Unattend.xml 文件複製到%WINDIR%\System32\Sysprep 目錄。
此應答文件包含generalize 階段中的設置。
運行sysprep /generalize 命令創建一個參考映像。
由於%WINDIR%\System32\Sysprep 目錄位於隱式搜索路徑中,因此可以找到復製到此目錄的應答文件。但是,用於安裝Windows 的應答文件仍緩存在計算機中並包含generalize 階段的設置。此緩存的應答文件的優先級要高於復製到Sysprep 目錄中的文件的優先級。會使用緩存的應答文件。
注意
Sysprep 可以作為命令行工具或GUI 工具運行。如果將Sysprep 作為GUI 工具運行,則必須選中“通用”複選框。
若要使用新的應答文件,請將其複製到優先級高於緩存的應答文件的目錄中,或使用/unattend 選項指定應答文件。例如:
複製代碼
sysprep /generalize /unattend:C:\MyAnswerFile.xml
應答文件必須包含有效的配置階段
將 Unattend.xml 文件複製到軟盤中。
Unattend.xml 文件僅包含auditSystem 和auditUser 配置階段的設置。
在已安裝的Windows 操作系統上,運行sysprep /generalize /oobe 命令。
儘管應答文件在其中一個模糊搜索路徑中可用,但是由於Unattend.xml 文件中不包含generalize 配置階段的有效階段,該文件仍會被忽略。
m1016c 發表在 痞客邦 留言(0) 人氣(1,011)
http://hi.baidu.com/858823086/blog/item/3afb075655a3ae07377abea6.html
【前言】
參閱文章:Deploying Vista - Part 8: Unattended Install from DVD Method
Here are the details: when Setup begins a configuration pass, it automatically looks for an answer file in the locations indicated in the following order:
1. In the registry in the location HKLM\System\Setup!UnattendFile
2. In the %WINDIR%\Panther\Unattend folder (but only if Setup is being launched from a previous version of Windows)
3. In the %WINDIR%\Panther folder, which is the location where Setup caches answer files. When Setup finds an answer file at the beginning of a configuration pass, it caches it in this directory so it can use this cached answer file for the remaining configuration passes provided no other answer files are found in a location of higher precedence in this search procedure.
4. In the root directory of removable media that are writable. Setup searches the root directory of each writable flash drive or floppy, in order of drive letter, until it finds an answer file.
5. In the root directory of removable media that are read-only. Setup searches the root directory of each read-only removable media, in order of drive letter, until it finds an answer file.
6. In the \Sources folder where your Vista installation files are found (windowsPE and offlineServicing passes only) and in the %WINDIR%\System32\Sysprep folder (all other passes). For the windowsPE and offlineServicing passes, your answer file must benamed autounattend.xml. For all other passes, it must be named unattend.xml.
7. In %SYSTEMDRIVE% (the root of your system drive)
從第6點可看出autounattend.xml 和unattend.xml 如果是放在特殊的位置,對應的是不同的配置階段。有了這個思路後面就是一些冒險。
【流程】
1.將autounattend.xml 放置在光盤根目錄,完成PE 配置階段的自動化應答部分,這部分相當於各個子鏡像共用了此應答文件。
2.將unattend.xml 更換Key值(簡易、家庭基礎、高級、專業、旗艦版之間的Key是不一樣的,這就是為什麼不同版本系統不能共用一個應答文件進行安裝的原因),利用WAIK 中的DISM 或者Imagex 工具封入install.wim 中各個子鏡像的Windows\System32\Sysprep 目錄下,這樣各個子鏡像將在oobe (啟用Administrator帳戶,導入軟件優化等)和specialize (網絡、時間的設置)配置階段使用各自不同的應答文件完成系統重啟後的自動化安裝。
m1016c 發表在 痞客邦 留言(0) 人氣(2,495)
http://biohazard2k.blog.51cto.com/68212/526099
這個實驗在虛擬機下完成,用WAIK製作的Winpe是沒有桌面的,只有一個命令行窗口。WAIK可以在微軟的官網下載,1.7G,WAIK for Win7 sp1只是一個補充包,不是安裝文件。
下面是簡單的製作步驟:
m1016c 發表在 痞客邦 留言(0) 人氣(1,412)
Updating the DMI/SMBIOS data
The Desktop Management Interface (DMI) must be updated when the system board is replaced.
The Desktop Management Interface (DMI) must be updated when the system board is replaced. Use the Advanced Settings Utility to update the DMI in the UEFI-based server. The ASU is an online tool that supports several operating systems. Make sure that you download the version for your operating system. You can download the ASU from the IBM Web site. To download the ASU and update the DMI, complete the following steps.
Note: Changes are made periodically to the IBM Web site. The actual procedure might vary slightly from what is described in this document.
Download the Advanced Settings Utility (ASU):
- Go to http://www.ibm.com/systems/support/.
- Under Product support, select System x.
- Under Popular links, select Tools and utilities.
- Scroll down to Configuration; then, select Advanced Settings Utility (ASU).
- In the next window under Download, click the Advanced Settings Utility link and download the ASU version for your blade server.To view more information about using the Advanced Settings Utility, scroll down to Online Help; then, click User's Guide for the IBM Advanced Settings Utility.
Note: To view more information about using the Advanced Settings Utility, scroll down to Online Help; then, click User's Guide for the IBM Advanced Settings Utility.
- In the next window under File link, click the Advanced Settings Utility link for your operating system to begin downloading the utility.
ASU sets the DMI in the Integrated Management Module (IMM). Select one of the following methods to access the Integrated Management Module (IMM) to set the DMI:
- Online from the target system (LAN or keyboard console style (KCS) access)
- Remote access to the target system (LAN based)
- Bootable media containing ASU (LAN or KCS, depending upon the bootable media)
Note: IBM provides a method for building a bootable media. You can create a bootable media using the Bootable Media Creator (BoMC) application from the Tools Center Web site. In addition, the Windows and Linux based tool kits are also available to build a bootable media. These tool kits provide an alternate method to creating a Windows Professional Edition or Master Control Program (MCP) based bootable media, which will include the ASU application.
Copy and unpack the ASU package, which also includes other required files, to the server. Make sure that you unpack the ASU and the required files to the same directory. In addition to the application executable (asu or asu64), the following files are required:
- For Windows based operating systems:
- ibm_rndis_server_os.inf
- device.cat
- For Linux based operating systems:
After you install ASU, Type the following commands to set the DMI:
asu set SYSTEM_PROD_DATA.SysInfoProdName <m/t_model> [access_method]
asu set SYSTEM_PROD_DATA.SysInfoSerialNum <s/n> [access_method]
asu set SYSTEM_PROD_DATA.SysEncloseAssetTag <asset_tag> [access_method]
Where:
- <m/t_model>
- The server machine type and model number. Type mtm xxxxyyy, where xxxx is the machine type and yyy is the server model number.
- <s/n>
- The serial number on the server. Type sn zzzzzzz, where zzzzzzz is the serial number.
- <asset_method>
- The server asset tag number. Type asset aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, where aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaais the asset tag number.
- [access_method]
- The access method that you select to use from the following methods:
- Online authenticated LAN access, type the command:
[host <imm_internal_ip>] [user <imm_user_id>][password <imm_password>]
Where:
- imm_internal_ip
- The IMM internal LAN/USB IP address. The default value is 169.254.95.118.
- imm_user_id
- The IMM account (1 of 12 accounts). The default value is USERID.
- imm_password
- The IMM account password (1 of 12 accounts). The default value is PASSW0RD (with a zero 0 not an O).
Note: If you do not specify any of these parameters, ASU will use the default values. When the default values are used and ASU is unable to access the IMM using the online authenticated LAN access method, ASU will automatically use the following unauthenticated KCS access method.
The following commands are examples of using the userid and password default values and not using the default values:
Examples that do not use the userid and password default values:
asu set SYSTEM_PROD_DATA.SYsInfoProdName <m/t_model> --user <imm_user_id> --password <imm_password>
asu set SYSTEM_PROD_DATA.SYsInfoSerialNum <s/n> --user <imm_user_id> --password <imm_password>
asu set SYSTEM_PROD_DATA.SYsEncloseAssetTag <asset_tag> --user <imm_user_id> --password <imm_password>
Examples that do use the userid and password default values:
asu set SYSTEM_PROD_DATA.SysInfoProdName <m/t_model> asu set SYSTEM_PROD_DATA.SysInfoSerialNum <s/n> asu set SYSTEM_PROD_DATA.SysEncloseAssetTag <asset_tag>
- Online KCS access (unauthenticated and user restricted):
You do not need to specify a value for access_method when you use this access method.
The KCS access method uses the IPMI/KCS interface. This method requires that the IPMI driver be installed. Some operating systems have the IPMI driver installed by default. ASU provides the corresponding mapping layer. See the Advanced Settings Utility Users Guide at http://www-947.ibm.com/systems/support/supportsite.wss/docdisplay?brandind=5000008&lndocid=MIGR-55021 for more details.
The following commands are examples of using the userid and password default values and not using the default values:
Examples that do not use the userid and password default values:
asu set SYSTEM_PROD_DATA.SYsInfoProdName <m/t_model>
asu set SYSTEM_PROD_DATA.SYsInfoSerialNum <s/n>
asu set SYSTEM_PROD_DATA.SYsEncloseAssetTag <asset_tag>
- Remote LAN access, type the command:
Note: When using the remote LAN access method to access IMM using the LAN from a client, the host and the imm_external_ipaddress are required parameters.
host <imm_external_ip> [user <imm_user_id>][password <imm_password>]
Where:
- imm_external_ip
- The external IMM LAN IP address. There is no default value. This parameter is required.
- imm_user_id
- The IMM account (1 of 12 accounts). The default value is USERID.
- imm_password
- The IMM account password (1 of 12 accounts). The default value is PASSW0RD (with a zero 0 not an O).
The following commands are examples of using the userid and password default values and not using the default values:
Examples that do not use the userid and password default values:
asu set SYSTEM_PROD_DATA.SYsInfoProdName <m/t_model> --host <imm_ip> --user <imm_user_id> --password <imm_password>
asu set SYSTEM_PROD_DATA.SYsInfoSerialNum <s/n> --host <imm_ip> --user <imm_user_id> --password <imm_password>
asu set SYSTEM_PROD_DATA.SYsEncloseAssetTag <asset_tag> --host <imm_ip> --user <imm_user_id> --password <imm_password>
Examples that do use the userid and password default values:
asu set SYSTEM_PROD_DATA.SysInfoProdName <m/t_model> --host <imm_ip>
asu set SYSTEM_PROD_DATA.SysInfoSerialNum <s/n> --host <imm_ip>
asu set SYSTEM_PROD_DATA.SysEncloseAssetTag <asset_tag> --host <imm_ip>
- Bootable media:
You can also build a bootable media using the applications available through the Tools Center Web site athttp://publib.boulder.ibm.com/infocenter/toolsctr/v1r0/index.jsp. From Deployment Tools, click Bootable Media Creator.
Restart the server.
m1016c 發表在 痞客邦 留言(0) 人氣(476)
1)ServerManagerCmd -i Desktop-Experience
2)Set Themes Service to Automatic and Start
3)Download & Install Theme package
m1016c 發表在 痞客邦 留言(0) 人氣(103)