Selasa, 24 Januari 2012

Membuat image 7 untuk komputer lain via Sysprep



information   Information
Windows 7 System Preparation Tool is a powerful, native Windows tool. When for instance used in so called Audit Mode, it let's you to freely configure Windows 7 to be then deployed to other computers as hardware independent image.

In this tutorial we use System Preparation Tool (sysprep) to prepare your Windows 7 installation to be moved to a new computer, keeping all your installed applications, program settings and user profiles. You can use this method for instance when you have bought a new PC and want to transfer your existing setup completely, without need to reinstall everything, or when you want to make major hardware changes like change the motherboard or GPU, which would usually cause Windows to stop booting normally.

warning   Warning
Using this method causes Windows 7 to lose all activation information, and it needs to be reactivated afterwards. If your Windows 7 is an OEM version, you might not be able to reactivate afterwards, at least not without phone activation option.

With the speed of today's hardware evolution, most of us geeks are upgrading the hardware more often than operating system. Upgrading hardware can be painfully slow process if we need to reinstall the operating system and all our installed applications, plus transfer program settings and user profiles.

Using sysprep makes this easy. Changing the motherboard, or for instance an old ATI GPU to a new nVidia GPU quite often causes Windows 7 not to be able to boot anymore. This fact is usually accepted by the user, who then reinstalls the OS and all applications and transfers user profiles from a backup location.

Same thing when buying a new computer with completely different hardware setup compared to the old one, or trying to restore a system image to different hardware setup. Normally this would include a complete reinstallation of Windows 7 and all applications.

Why not use sysprep to avoid reinstalling? Here are the different scenarios where you can use it.




warning   Warning
PLEASE DO NOT FORGET TO CREATE A SYSTEM IMAGE BEFORE PROCEEDING!


As you can read on this thread, on rare occasions this method does not work. If this happens, you can always restore your system using your backup image.

Backup Complete Computer - Create an Image Backup
System Image Recovery




METHOD ONE

Changing hardware components but keeping old hard disk(s)

Use this method if you:
- Change other hardware components but keep your old HD containing Windows 7

- Move the HD containing Windows 7 to another computer
  1. Before installing new hardware, boot Windows 7 normally
  2. Run Command Prompt as administrator
    .
    Windows 7 Installation - Transfer to a New Computer-audit_1.png
    .
  3. Type to Command Prompt: %windir%\System32\Sysprep\Sysprep.exe, and hit Enter
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_start.png
    .
  4. In sysprep dialog that opens, choose System Cleanup Action as Enter System Out-of-Box-Experience (OOBE), select Generalize, select Shutdown Options Shutdown. Click OK
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_run_and_generalize.png
    .
  5. Sysprep generalizes now your Windows 7 setup and shuts down your computer. Do not run any other programs during this phase!
    .
    Name:  Sysprep_Run_and_generalize_2.png
Views: 39726
Size:  3.5 KB
    .
    Name:  Sysprep_Run_and_generalize_3.png
Views: 39649
Size:  3.4 KB
    .
  6. Switch the main power of your PC off and install the new hardware OR dismount the hard disk(s) and mount it (them) to a new computer
  7. Boot the PC from sysprep generalized hard disk. You will notice Windows booting as if it was the first boot after installation, installing default drivers and updating registry. One or two reboots are needed, depending on your system specifications
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_reinstalling_devices.png
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_registry_settings.png
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_reboot_needed.png
    .
  8. When Windows finally boots up, you will need to enter all information as if this really was a new, fresh installation
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_first_boot_2.png
    .
  9. Because your old user profiles already exist, Windows does not accept your normal username, but instead you have to create a new temporary user. I use username Test for this purpose
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_first_boot_3.png
    .
  10. When login screen appears, choose your old user account to login
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_first_boot_5.png
    .
  11. Windows boots now to default OOBE first boot desktop, with default 800*600 resolution and default theme. All your installed applications are there, as well as your old user profiles and folders. Windows has installed the default drivers for your setup, you can update them if needed
    .
    Windows 7 Installation - Transfer to a New Computer-sysprep_first_boot_6.png
    .
  12. Go to Control Panel > User Accounts and delete the temporary user account (in this case Test) that you just created



METHOD TWO

Change the hard disk(s) or move Windows 7 setup to a new computer using third party imaging software
Use this method if you:
- Replace the HD containing Windows 7 on your old computer 

- Move Windows 7 to a new HD on another computer
  1. Follow steps 1 through 5 above (method 1)
  2. Boot PC with an imaging CD/DVD (Paragon, Macrium etc.)
  3. Create an image of your system
  4. Turn PC off, change the hard disk(s) and reboot with imaging application, restoring the image OR boot the new computer with imaging software and restore the image
  5. Continue from step 7 above (method 1)



METHOD THREE

Change the hard disk(s) or move Windows 7 setup to a new computer using Windows Seven's native Backup and Restore
Use this method if you:
- Replace the HD containing Windows 7 on your old computer 

- Move Windows 7 to a new HD on another computer
  1. Follow steps 1 through 5 above (method 1)
  2. Change the hardware componets you want to, letting the old HD be still mounted as system disk OR if transferring to a new computer, mount the old HD to the new computer as system (boot) disk
  3. Boot computer normally, continuing from step 7 above (method 1)
  4. Launch Windows Seven Backup and Restore, create a complete system image. This tutorial shows you how: Backup Complete Computer - Create an Image Backup
  5. Shut down the computer, dismount the HD and mount the new one
  6. Boot from Windows 7 installation DVD, choosing Repair > Restore an image, using the image you created in previous step. This tutorial shows you how (from Step Two / 7): System Image Recovery
  7. When image is restored, boot your computer normally
This procedure is failsafe, and works every time. There is nothing to worry, but of course it is recommended to make a backup before trying this. I have even used this method when some serious driver issues caused the PC to constantly crash (BSOD), to reset all drivers to Windows defaults and then reinstalling them one by one to find the culprit.




Note   Note
What does Sysprep generalizing do to my Windows 7 setup?
  • All system specific information is removed or uninstalled
  • Security ID (SID) of your hardware setup is reseted
  • All system restore points are deleted
  • All event logs are deleted
  • All personalization is removed (taskbar, toolbars, folder options, start orb etc.)
  • Built-in administrator account is disabled (if it was enabled) and needs to be re-enabled if needed

What happens when booting first time after sysprep generalizing?
  • First boot configuration is run
  • New SID is created
  • Re-arm counter is reseted if not already re-armed three times
  • Windows 7 is booted using first boot default drivers and settings


I have tested all above mentioned methods with all versions of Windows 7, from Starter to Enterprise. It works every time, with one exception: for reasons unknown to me, sysprep seems sometimes dislike Windows Media Player networking service, which is by default started every time Windows 7 starts. In about every third time I've done this, I've got an error message when trying to generalize:

Windows 7 Installation - Transfer to a New Computer-sysprep_fatal_error.png

However, this is not a big problem. You just need to stop the WMP networking service, and run sysprep with generalize option again. You can stop the service in question by typing net stop WMPNetworkSvc to command prompt, and hitting Enter:

Windows 7 Installation - Transfer to a New Computer-sysprep_stop_wmp_service.png

If you have any questions, do not hesitate to ask.

Jumat, 20 Januari 2012

Merubah mode dari IDE/Compability menjadi AHCI setelah instalasi Windows XP


Tadi pagi iseng² ngrecovery windows[nginstall ulang] di ThinkPad T61 ternyata gak bisa kalo pake mode AHCI, dan harus pake mode Compability[IDE].
Setelah recovery windows berhasi, kepingin rubah seting BIOS mode SATA pake AHCI, tetapi dgn catatan windows xp udah terinstall… Setelah beberapa saat googling ketemu artikel berikut di http://www.laptops-drivers.com/driver-request/changing-ide-to-ahci-mode-after-installing-windows-xp.html
Soalnya kata temen² HDD sata terdapat fitur yang namanya NCQ  jika diaktifkan hasilnya cukup siginifikan dari pada menggunakan mode IDE. HDD support NCQ dan chipset intel dengan fitur AHCI ada baiknya gunakan mode AHCI dari IDE agar HDD SATA dapat bekerja maksimal pada platform intel.
Ok.. jika di sistem anda sudah terinstal Windows XP dan juga ingin menggunakan mode SATA-AHCI begini caranya..
A. Download driveer yang di Anda perlukan di http://dowloadcenter.intel.com 
Ada dua driver yang anda perlukan nantinya, 
(i) Intel Matrix Storage Manager 
(ii) f6flpy32 : Biasanya digunakan dengan “F6 mode” ketika anda menginstal Windows XP.
B. Ekstrak file (i) lalu copy file “IaStor.sys” ke dalam “C:\windows\system32\”
C. Copy Paste registry file berikut ini, simpan ke dalam notepad lalu ganti nama menjadi “ahci.reg”.
Windows Registry Editor Version 5.00 
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2922&cc_0106]
“Service”=”iaStor” 
“ClassGUID”=”{4D36E96A-E325-11CE-BFC1-08002BE10318}” 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor]
“Type”=dword:00000001 
“Start”=dword:00000000 
“Group”=”SCSI miniport” 
“ErrorControl”=dword:00000001 
“ImagePath”=”system32\\drivers\\iaStor.sys” 
“tag”=dword:00000019 
“DisplayName”=”Intel AHCI Controller” 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Parameters]
“queuePriorityEnable”=dword:00000000 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor\Enum]
“0?=”PCI\\VEN_8086&DEV_2922&SUBSYS_B0051458&REV_02\\3&13c0b0c5&0&FA”
“Count”=dword:00000001 
“NextInstance”=dword:00000001
D. klik kanan  My Computer -> Manage -> Device Manager 
Pada IDE ATA/ATAPI Controller, pilih dan klik kanan INTEL(R) Controller pertama lalu pilih update driver. Instal secara manual dengan cara browse ke dalam folder ekstrak file (ii). Pilih “iaAHCI.inf” untuk di instal dan inilah saatnya kita menginstal driver AHCI.
E. cek kembali bahwa anda sudah melakukan langkah B. 
Sekarang ikuti langkah-langkah berikut. 
1. Dobel klik file “ahci.reg” 
2. restart sistem anda dan masuk ke dalam bios 
3. ubah mode SATA anda dari IDE ke AHCI
F. setelah windows menyala, otomatis akan mengenali hardware baru, yaitu SATA AHCI. terkadang sistem akan meminta restore, abaikan saja.  Sekarang instalkan file (i) kedalam sistem Windows XP anda.
Setelah selesai semua, restart kembali dan Windows XP anda telah siap bekerja dalam mode AHCI.

Selasa, 17 Januari 2012

Install Windows 8 in VirtualBox

Windows 8 is the hot topic in current world of Operating Systems, this new OS from Microsoft expected to release in 2012. This OS would be totally different from normal desktop Operating Systems as per the news and rumors available on internet currently. I got the chance to install this latest OS from Microsoft on desktop virtualization software and see the new changes. This simple guide shows how to install Windows 8 in VirtualBox and play around with it. (with the original release from Microsoft)

UPDATE – This guide has been updated on 16-09-2011.
Microsoft released the first distribution as developer preview recently. Most of the users confirmed that the steps in this guide worked well with official release also.
inside post

Step by Step Method to Install Windows 8 in VirtualBox

Before start the steps, understand the basic requirement for this installation. You must have aHardware Virtualization Technology (VT) computer. I tried this on Dell Optiplex 755 computer which doesn’t have VT supported processor, the installation started and copied all files, but with the first restart virtual machine hung with black screen in some white texts. I have changed all possible settings in Virtual machine and tried, but no luck.
1) Make sure your computer support Hardware Virtualization Technology – Read more information about Virtualization Technology.
vt-x-enabled_thumb
2) Download the correct distribution for your computer processor (32 bit or 64bit), you can download it from official site here.
3) Create a new virtual machine. Select ‘Windows 7’ as OS version.
4) Enable VT-x and Nesting Paging options as shown below.
VirtualBox settings for Windows 8
Enable PAE/NX under processor settings. You can change the processor numbers according to physical processor cores, (I set to 2, because mine is Intel Core2duo)
Enable IO APIC under motherboard settings of virtual machine.
enable IO APIC
5) Enable 3D Acceleration, you can enable 2D Acceleration also. Maximize the display memory size. In fact, I’m not sure how these settings will be helpful to improve the display performance…keep reading.
display settings
6) Mount the downloaded ISO file and start the virtual machine. Installation should start normally like Windows 7.
installation first screen
7) Run and configure the first personalization steps. You must land on the new version of desktop environment metro UI if everything is correct.
As per Microsoft’s requirements, screen resolution should be higher than 1024×768 to get proper working tiles in metro UI.
Here is the solution to fix this issue and get better performance, lets install VirtualBox guest additions.

Install VirtualBox guest additions on Windows 8 Virtual machine

8.) Mount the guest additions built in ISO file by going to ‘Devices’ in menu and click ‘ Install Guest Additions’. After ISO mounted to virtual machine’s DVD/CD drive, explore the drive.
Right click on Windows guest additions for 32bit or 64bit (depends on the installed version) file and under Compatibility change the mode to Windows 7.
guest additions installation
After pressing Apply, run the installation and restart Virtual machine. Now automatically the screen resolution will be changed to higher and you could see the difference in performance. Now check the tiles in metro UI, it must work.

Issues I Faced and How I Fixed


Let me tell the truth, the above steps did not work on my Intel core2duo processor. But, I managed to install successfully by trying several combinations.
If the above steps did not work for you, then you can try the below steps. When I tried the above steps above steps, I got the following error. This is the new interface for famous Windows blue screen error.
error message

Here are the settings helped me in my host.
9) Change the motherboard main chipset to ICH9.
chipset ICH9
10) By default when disk created for virtual machine, it will be mounted in SATA controller. But, manually you have to mount the virtual hard disk to IDE controller.
ide disk

I’m sure above steps will be helpful to fix some booting and crashing issues in Windows 8 with Oracle VirtualBox.
Network and sound works fine inside virtual machine. It’s a nice experience to work with the latest OS in virtualization environment without disturbing your existing physical Operating Systems.
I have already written a guide on install Windows 8 in VMware workstation 8 which works better than VirtualBox (in my computer).
Let me know how the above installation went in your computer and how is the performance.

Senin, 16 Januari 2012

Backup Dan Restore Windows Dengan Symantec Ghost 11.5 Booting USB

Windows BackupDalam kesempatan ini iniSip akan berbagi cara backup dan Restore windows melalui USB. Berdasarkan pengalaman cara ini sangat cepat dan hanya membutuhkan kurang dari 3 menit untuk menjadikan windows seperti semula pada waktu membuat backup windows. Kenapa harus backup windows..??? Untuk mengembalikan windows dengan cepat tanpa harus instal ulang windows yang memakan waktu paling cepat 1 jam belum lagi instal driver dan software lainnya.

Kenapa backup windows dilakukan…? Suatu saat atau kerena sebab lain windows bisa mengalami crash atau tidak bisa masuk windows atau lainnya yang disebabkan karena sesuatu baik itu virus, kesalah operasi atau lainnya sehingga kita hanya diberi pilihan instal ulang agar windows bisa kembali, dari pada harus instal ulang windows lebih baik memilih cara ini.
Syarat agar bisa melakukan Backup windows:
  1. Aplikasi dan tool lainnya bisa didownload diakhir tulisan
  2. USB untuk melakukan booting dan menjalankan aplikasi Ghost
  3. Windows harus mempunya lebih dari 1 partisi karena kita tidak bisa melakukan backup dan restore windows hanya 1 partisi
Langkah persiapan backup windows
Untuk persiapan pertama USB yang kita pakai harus bisa booting USB, agar USB bisa dipakai booting maka harus diformat dengan tool yang ada dalam paket download.
Langkah Format USB:
  • Unrar file yang sudah didownload
  • Masukkan USB yang ingin dibuat booting
  • Jalankan Format Tool.exe yang ada dalam folder Format USB
  • Di Device biasanya sudah terbaca jenis USB yang dimasukkan
  • Pada Format Options conteng Crеаtе a DOS startup disk
  • Di kolom Using DOS system files located аt Arahkan ke foldar Boot di paket download yang sudah diunrar
  • Klik tombol Stаrt untuk melakukan format USB dan tunggu sampai proses format selesai
Format tool
Selanjutnya langkah Backup Windows Dengan Symantec Ghost 11.5
  • Setelah selesai Format USB selanjutnya copy file GHOST.exe yang ada di folder GHOST ke USB
  • Restart komputer untuk melakukan booting USB ( jangan lupa merubah seting bios supaya USB yang kita pakai sebagai booting pertama di bios )
  • Kalau sudah benar setingan bioas USB booting pertama maka akan lngsung masuk command prompt C:\
  • Pada C:\ ketik ghost.exe kemudian Enter (c:\ghost.exe)
  • Setelah aplikasi Ghost terbuka, Pada menu pilih Local -> Partition -> Tο Image
  • Akan terlihat jenis Hardisk, pilih sesuai dengan yang  dipakai, lalu klik OK
WIndows Backup
  • Setelah itu terlihat jumlah partisi yang ada di komputer, pilih partisi dimana windows diinstal dan biasanya dipartisi C, kemudian klik OK
WIndows Backup
  • Pilih di mana backup windows disimpan kemudian beri nama ( biasanya bisa disimpan di partisi D,E atau CD rom, kemudian klik Save
  • Setelah itu diberi tiga pilihan komres file backup yang akan dilakaukan, rekomendasi pilih yang Fаѕt
  • Setelah itu muncul peringatan apa benar ingin membuat beckup windows, klik saja Yes
  • Tunggu sampai proses backup windows selesai 100%
Setelah backup windows selesai silahkan restart dan cabut USB kemudian masuk ke windows lihat dan cek lg hasil backup windows yang telah dilakukan biasanya file hasil backup berextensi .GHO dan hasil backup cukup lumayan besar, kalau windows XP plus instal driver dan aplikasi secukupnya besarannya sekitar 3 GB. Silahkan simpan baik-baik hasil backup windows yang dibuat atau kalau perlu simpan di DVD agar suatu saat bila terjadi kerusakan windows bisa dengan mudah mengembalikannya.
Sekarang kita lanjutkan dengan Restore WIndows:
  • Booting dengan USB, jalankan Ghost dengan mengetik C:\ghost.exe pada commend prompt
  • Pada menu Ghost pilih Local -> Partition -> Frοm Image
  • Cari di mana Backup windows kita simpan, lalu klik Open ( untuk menggeser kursor gunakan tombol TABpada keyboard)
  • Setelah itu terlihat sumber partisi, pilih Primary lalu OK
  • Setelah itu pilih jenis Hardisk yang digunakan, lalu OK
  • Setelah itu terlihat partisi yang akan kita timpa atau restore windows, kalau windows yang sebelumnya diinstal di partisi C maka restore yang kita lakukan harus di partisi C ( jangan salah memilih partisi karena salah memilih partisi akan membuat data hilang karena sifatnya memformat partisi dan mengembalikan restore windows ke partisi yang dipilih ) Lalu klik OK
  • Muncul pemberitahuan apakan kita benar ingin melakukan restore windows, kalau sudah yakin pilih OK
  • Biarkan proses berjalan sampai 100% setelah selesai restart komputer dan cabut USB biar booting windows seperti biasa.
Tips:
  • Untuk windows yang dibuat backup harus bebas dari virus dan sebaiknya windows diinstal aplikasi yang seperlunya agar file beckup tidak terlalu besar.
  • Untuk menggerakkan kursor pada aplikasi Ghost gunakan tombol TAB pada keyboard dan tombol ENTERuntuk instruksi.