顯示包含「Windows7」標籤的文章。顯示所有文章
顯示包含「Windows7」標籤的文章。顯示所有文章

2010年3月20日星期六

讓不支援HAV (Hardware-Assisted Virtualization) 電腦都可以行XP Mode





XP Mode 是Windows 7 新特色, 可以解決軟件相容性問題, 但唯一是只可以在CPU 支援HAV (Hardware-Assisted Virtualization)電腦上運行, 一些比較舊電腦就無福享受這個新功能.
但近日Micosoft 發佈了更新檔KB977206 , 可以令一些電腦沒有HAV 支援下都可以成功執行.
如大家有舊電腦可以一試.
這個更新僅支援 Windows XP Service Pack 3 虛擬機器
建議您僅在處理器不支援 HAV 功能時安裝這個更新

已知問題

安裝這個更新之後,您可能無法在 Windows 7 和 Windows XP 模式 (或任何其他虛擬機器) 之間複製並貼上檔案。如果要解決這個問題,可透過從虛擬機器存取的共用 Windows 7 磁碟機來複製並貼上。如果要執行這項操作,請依照下列步驟執行:
請確認您已啟用虛擬機器中的「整合功能」。如需有關如何啟用這些功能的詳細資訊,請造訪下列 Microsoft 網站:
http://technet.microsoft.com/zh-tw/library/ee449412(WS.10).aspx (http://technet.microsoft.com/zh-tw/library/ee449412(WS.10).aspx)
在虛擬機器中,開啟 [Windows 檔案總管],然後在虛擬機器的磁碟機和共用的 Windows 7 磁碟機之間複製或貼上檔案。


Windows Virtual PC and Windows XP Mode no longer require HAV processors
The Virtual PC team is thrilled to announce the availability of KB977206 which allows our customers to use Windows Virtual PC and Windows XP Mode on non-HAV (Hardware-Assisted Virtualization) machines. Windows XP Mode continues to use hardware virtualization such as Intel Virtualization Technology (Intel® VT) or the AMD-V™ chipset when available but it no longer requires them. A number of our customers and partners have been asking us to support a wider range of PC’s including those without HAV capability and we have delivered this software patch to address their needs. We believe that this change simplifies the customer experience and makes this benefit accessible to many more PCs.

Download the software update for 32-bit host operating systems from here and for 64-bit host operating systems from here.

The KB article describes the various scenarios under which the software update must be installed. Ensure that Windows Virtual PC is installed before applying this fix.


下載位置: http://support.microsoft.com/kb/977206
XP MODE 下載:http://www.microsoft.com/windows/virtual-pc/download.aspx

2010年2月4日星期四

Windows 7 RC 版將於 2010 年 6 月 1 日到期

自 2010 年 2 月 15 日起,還在使用Windows 7 RC的電腦會開始收到系統通知,告知您RC版即將到期的訊息,並請您盡速備份您的電腦資料。而 2010 年 3 月 1 日起,電腦會每兩小時會自動關機,直到 2010 年 6 月 1 日 RC 版到期為止。因此,為了降低您的不便,請盡速重新安裝 Windows 7 正式版或其他有效的 Windows 版本,若您仍需要更多時間評估 Windows 7,可下載Windows 7 企業版90天試用版。

From Microsoft Taiwan Blog

2010年2月3日星期三

一個指令實現Windows 備份和還原

在Windows XP 或更前的年代, 很多IT PRO 都會利用Ghost 來做Backup and Restore 方案, 亦有很多公司, 學校會利用Network Ghost 版本來部署大量Client Computers,但這些都是收費軟件,不穩定和慢,來到了Windows Vista/7 年代, 提供了一套自己的系統備份工具,只需幾個指令便可實現.

1. 建立WinPE USB 手指開機
A. 安裝Windows Automated Installation, 之後用管理員身份打開"Deployment Tools Command Prompt", 輸入"copype.cmd x86 c:\winpe_x86" 如是x64, 請把"x86" 轉成"amd64"


B. 把winpe.wim mount 到c:\winpe_x86\mount 資料夾內, 在command Prompt 輸入"Dism /Mount-Wim /WimFile:C:\winpe_x86\winpe.wim /index:1 /MountDir:c:\winpe_x86\mount"


C.複制需要的工具到winpe_x86\tools 下, 輸入"mkdir c:\winpe_x86\mount\tools" 建立Tools 資料夾, 然後輸入"xcopy "c:\programs files\windows aik\x86" /e c:\winpe_x86\mount\tools"


D. 把已準備好的winpe.wim 封存, 輸入"Dism /unmount-wim /mountdir:c:\winpe_x86\mount /commit"


E. 複制winpe.wim 到c:\winpe_x86\ISO\sources 並改名boot.wim 用來開機,輸入"copy c:\winpe_x86\winpe.wim c:\winpe_x86\ISO\sources\boot.wim



F. 準備一隻手指, 格式化並建立一個active primary partition, 用管理員身份打開打開"Command Prompt", 輸入以下指令
Diskpart
List Disk
Select Disk 3 <--3 是指手指. clean create partition primary active format quick fs=ntfs assign letter=u exit G. 把Windows PE 檔案複制至手指 "xcopy c:\winpe_x86\iso\*.* /e u:\"

2. 用winpe 手指開機, 並用imagex /capture指令建立Image (備份)

A. 連接USB Harddisk 或用net use 指令連接network drive, 如已連線的network drive Letter "F:", 輸入"imagex /capture c: f:\backup.wim "Backup" /compress none"

imagex /capture image_path image_file "name" {"description"} {/boot /check /compress [type] /config /flags "EditionID" /norpfix /scroll /verify}

B. 如想看wim 檔案資料
" imagex /info f:/backup.wim"

imagex /info img_file[img_number img_name] [new_name] [new_desc] {/boot /check}

3. 利用imagex /apply 指令還原
A. 建立primary partition
diskpart
select disk 0
clean
create partition primary
assign letter=c:
active
exit
format c: /q /y

B. 還原影象檔
imagex /apply f:\backup.wim 1 c:\

C. 設定開機
bcdboot C:\windows /s

2010年1月10日星期日

如何製作Windows 7的USB隨身安裝碟

當電腦沒有光碟機或光碟機罷工時候, 這時要安裝windows 7, 怎算好?
把windows 7 安裝碟變成USB隨身安裝碟便可, 過程很簡單, 不過不是只是把碟內檔案抄進手指便算.

在把安裝碟內檔案抄進手指之有事前功夫準備
在Windows 7 內
1. 連接上手指, 以系統管理員身份開啟"Command Prompt"
2. 執行以下指令
diskpart
list disk
select disk 3 <--3 是指你的手指
clean
create partition primary
active
format fs=fat32 quick
assign letter=u
exit
3. 把Windows 7安裝光碟的內容全部複製到USB隨身碟。完成後,這支USB隨身碟就可以開機,安裝Windows 7

在Windows XP 內
1. 連接上手指, 以系統管理員身份開啟"Command Prompt"
2. 執行以下指令
diskpart
list disk
format {drive letter} /fs:fat32 /q
convert {drive letter} /fs=ntfs
3. 執行Windows 7安裝光碟boot資料夾裡的bootsect,才能讓隨身碟開機
cd\
d:\boot
bootsect /nt60 {drive letter}

2010年1月7日星期四

Windows 7 "God Mode" 上帝模式

何為上帝模式? 其實只是一堆系統的設定與更完整、更詳細的控制台設定調整清單.而每個設定都可以獨自放在桌面上,這是比較方便, 不用左按右按來找出調整位置.
使用方法:
在桌面按右鍵新增一個新資料夾,然後把資料夾名稱改為以下內容:
GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
圖示會自動變成「GodMode」




在指定設定上面按右鍵再點"Create shortcut"



2009年11月14日星期六

Windows 7 一個不可忽略的新功能: 令Windows Vista 支援 Boot From VHD (2)

上一篇提了可以不進入Windows 7 下而直接由VHD boot Windows 7, 還可以支援USB Device, Hardware Virtualization Technology,這種新技術並不只是Windows 7 獨享, 今次便教大家只需4個步驟便可令Windows Vista 支援Boot From VHD.

一個已安裝的Windows 7
一個有Windows 7 VHD


1. 把Windows 7 Bootloader 抽出


因為Windows Vista Bootloader 是不能明白何為VHD, 所以要把支援VHD Bootloader 取代Vista 本身. 而只要從Win 7 取出兩個檔案. BCDEDIT 在C:\Windows\System32, 另一個檔案是Bootmgr ,正常情況下是在C:, 但有機會是在另一個分割區, 只要在Disk Management, 看看哪一個分割區是有Active, Bootmgr 就在這個區.



在C:\ 建立一個資料夾名"Boots" 用系統管理員執行CMD, 執行以下指令
C:\windows\system32>xcopy /h /y bcdedit.exe c:\boots
C:\>cd\
C:\>xcopy /h /y bootmgr c:\boots



2. 備份Windows Vista Bootloader


進入Windows Vista,用系統管理員執行CMD, 執行以下指令
C:\windows\system32>cd\
C:\>xcopy /y /h bootmgr bootmgr.sav
F
C:\>cd Windows\System32
C:\windows\system32>xcopy /y /h bcdedit.exe bcdedit.sav
F





3. 複製Windows 7 Bootloader 到Windows Vista


把之前Boots 資料夾放在Windows Vista C: 下,然後用windows vista 安裝碟開啟電腦, 進入還原系統環境, 並執下以下指令
C:\>attrib bootmgr -s -h -r
C:\>cd boots
C:\boots>xcopy /y /h bootmgr c:\bootmgr
C:\boots>xcopy /y /h bcdedit.exe c:\windows\system32




4. 複製VHD 檔案到Windows Vista 下並加入開機選單


如在C:\ 建立資料夾名VHD, 並把VHD 檔案放在裹. *建立VHD 檔案詳細請參閱上一篇*


以系統管理員執行CMD, 並輸入以下指令
C:\>bcdedit /copy {current} /d "New VHD Description"
C:\>bcdedit /set device vhd=[driveletter:]\\
C:\>bcdedit /set osdevice vhd=[driverletter:]\\
C:\>bcdedit /set detecthal on



重新開機做可以選擇VHD 開機


2009年11月10日星期二

Windows 7 一個不可忽略的新功能: Boot from VHD (1)

Virtualization (虛擬化) 這個技術在各個層面已經開始普及, 當然Windows 7 更是擁有成熟的虛擬化技術, 除了大家比較熟悉的XP MODE, 其實Windows 7 還有一個功能就是可以直接由VHD (Virtual Harddisk) 啟動, 當中過程不會涉及真實安裝在硬碟裹的Windows 7. 與XP MODE/Virtual PC不同的是Virtual Guest OS 不需要依靠Host 安裝Virtual PC 來執行, 所以係完全與Host 分離, 而且Host 上的硬件如Display card, USB device, Wireless 都可以支援. 這樣的好處是可以建立一個測試環境, 就算中了病毒都不會影響現有的Windows 7, 由於全程只是在VHD 檔案上執行, 所以備份,還原亦變得簡單.
首先要準備一隻Windows 7 安裝碟, 一隻Windows® 7 的 Windows® 自動化安裝套件 (AIK) 和已安裝的Windows 7 .
Windows® 7 的 Windows® 自動化安裝套件 (AIK) 下載位置 http://www.microsoft.com/downloads/details.aspx?displaylang=zh-hk&FamilyID=696dd665-9f76-4177-a811-39c26d3b3b34

1. 在磁碟管理建立一個VHD,在選單功能->建立VHD
設定VHD 大小和儲存位置
* Dynamically expanding 是會根據你所做的動作,設定而慢慢增長到你所設的大小限制, 好處是不會一開始便霸佔硬碟大位置, 壞處是效能比較慢.
* Fixed Size 是根據你所設定的大小, 便會即時建立相同大小的VHD 檔案在硬碟裹. 好處是有一個不俗的效能, 壞處是一開始便佔去硬碟比較大空間和建立時候會比較長的時間.
這是根據你的硬碟可用位置有多少而選擇.





2. 之後便可以初始化VHD, 建立一個磁碟區,分配一個Driver Letter 如F:\

3. 放入AIK 碟並執行Windows AIK Setup
* 如有需要請安裝.NET Framework


4. 放入Windows 7 安裝碟, 並找尋install.wim 位置 (預設位置: \sources\install.wim)

然後執行Deployment Tools: Command Prompt, 執行下面command line

imagex /info "e:\sources\install.wim"

找出版本代號, 如下圖紅色位置, index="4"....[EDITIONID]Ultimate[/EDITIONID]

即是4代表Windows 7 Ultimate


5. 執行imagex /apply d:\install.wim 4 f:\ 來獲得 Windows 7 Ultimate 放在VHD裹, 大約10分鐘便完成


6. 完成後, 以管理員身份執行執行CMD, 輸入以下Command line新增 Windows 開機載入器bcdedit /copy {current} /d "Windows 7 Ultimate VHD"


7.設定 Windows 開機載入器 ,輸入bcdedit 來找出GUID 即是Identifier,並分別輸入以下三句command line
bcdedit /set {guid} device vhd=[driveletter:]\Directory\vhd filename
bcdedit /set {guid} osdevice vhd=[driverletter:]\Directory\vhd filename
bcdedit /set {guid} detecthal on

8. 設定完, 可以Restart, 便會看見開機選單, 選擇"Windows 7 Ultimate VHD" 做可以直接進入VHD

9. 如果要取消這個VHD Boot up, 以管理員身份執行執行CMD, 輸入以下Command line取消Windows 開機載入器
bcdedit /delete {GUID} /cleanup


這個新功能設定上並不困難,只需要9步做可實現, 但在管理, 維護OS來得更簡單,方便. 遲些還會介紹進階設定.