Tuesday, 22 May 2018

[Windows 10] Multilingual Image Creation & Deployment using DISM


Mount install.wim & adding language pack

1. Run the Deployment & Imaging Tools as administrator.

image

2.  Get info

I. Get info if the Wim File.

Type command :
Dism /Get-WIMInfo /WimFile:C:\my_distribution\sources\install.wim

II. Mount the Wim file according to the Image name.

Type command:
Dism /LogPath:C:\DismLogs\MountOSInstallWim.log /Mount-Wim /WimFile:C:\my_distribution\sources\install.wim /Name:"Windows 10 Pro" /MountDir:C:\test\offline

image

3. Add Language Pack.

Type command:

Dism /image:C:\test\offline /LogPath:C:\DismLogs\AddLangPack.log /Add-Package /PackagePath:C:\test\LangPacks\Microsoft-Windows-Client-Language-Pack_x64_zh-cn.cab

You can add multiple languages in one command line. Command eg:

Dism /image:C:\test\offline /LogPath:C:\DismLogs\AddLangPack.log /Add-Package /PackagePath:C:\test\LangPacks \Microsoft-Windows-Client-Language-Pack_x64_ja-jp.cab /PackagePath:C:\test\LangPacks\Microsoft-Windows-Client-Language-Pack_x64_ko-kr.cab /PackagePath:C:\test\LangPacks\Microsoft-Windows-Client-Language-Pack_x64_th-th.cab

image

4. Unmount the Wim once language is added.

Type command:

Dism /Unmount-WIM /MountDir:C:\test\offline /commit

image

Mount boot.wim & adding language pack

1. Mount the boot.wim file.
Type command :

Dism /Logpath:C:\DismLogs\MountBootWim.log /Mount-Wim /WimFile:C:\my_distribution\sources\boot.wim /Index:2 /MountDir:C:\test\offline

image

2. Add the WinPE LangPack
Type Command:

Dism /image:C:\test\offline /Logpath:C:\DismLogs\AddWinPELangPack.log /Add-Package /PackagePath:C:\test\WinPE_LangPacks\WinPE-Setup_zh-cn.cab

image

You can add multiple languages in one command line eg :

Dism /image:C:\test\offline /Logpath:C:\DismLogs\AddWinPELangPack.log /Add-Package /PackagePath:C:\test\WinPE_LangPacks\WinPE-Setup_zh-cn.cab /PackagePath:C:\test\WinPE_LangPacks\WinPE-Setup_ja-jp.cab /PackagePath:C:\test\WinPE_LangPacks\WinPE-Setup_ko-kr.cab /PackagePath:C:\test\WinPE_LangPacks\WinPE-Setup_th-th.cab

image

3. Once added, copy the required language folders from
C:\test\offline\sources to C:\my_distribution\sources

image

4. Proceed to unmount the boot.wim
Type command:

Dism /Unmount-WIM /MountDir:C:\test\offline /commit

image

Re-Create the Lang.ini file

1. Mount the install.wim file again.

Type command :

Dism /LogPath:C:\DismLogs\MountOSInstallWim.log /Mount-Wim /WimFile:C:\my_distribution\sources\install.wim /Name:"Windows 10 Pro" /MountDir:C:\test\offline

image

2.
Type command:

Dism /image:C:\test\offline /Gen-LangINI /distribution:C:\my_distribution
(If you want to check if your language pack is installed: Dism /image:C:\test\offline /distribution:C:\my_distribution /Get-Intl)

Unmount the wim.
Type command:

Dism /Unmount-WIM /MountDir:C:\test\offline /commit

image

3. Mount the boot.wim file to copy the lang.ini file.
Type command:

Dism /LogPath:C:\DismLogs\MountBootWim.log /Mount-Wim /WimFile:C:\my_distribution\sources\boot.wim /Index:2 /MountDir:C:\test\offline

Then,

Xcopy C:\my_distribution\sources\lang.ini C:\test\offline\sources\lang.ini
Overwrite? Y

image

Once complete, unmount.
Dism /Unmount-WIM /MountDir:C:\test\offline /commit

image











































Monday, 14 May 2018

[Windows 10] Multilingual Image Creation & Deployment–Prerequisites


Good Day Everyone!

One of our client requested for a Windows 10 ISO which comes with multi language selection during the installation. Their request is due to some of the users who are unable to click on the required options as they don’t speak or write English. As most of us noticed, Windows 10 normally comes with English for the installation part & later on we can change it to our preferred language. Below guide is to create a WIM file which allows us to choose the language at the very beginning of the installation, Out of the box experience - OOBE.

This post covers the pre-requisites for the process:-

1. We need Adk installer, Windows 10 ISO file & Language pack ISO File.
image

2. Create below folders at this location C:\

I. DismLogs
II. my_distribution
III. test
image

3. Create below folders under C:\test

I. LangPacks
II. Offline
III. WinPE_LangPacks
image

4. Open the Windows ISO file & copy all the files to my_distribution folder.image

5. Copy your language pack (.cab) from language pack ISO file X:\x64\langpacks to C:\test\LangPack
image

6. Now go to C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\ & choose the language eg. th-th.
Copy the WinPE-Setup_th-th.cab to C:\test\WinPE_LangPacks
image

Window Assessment & Deployment Kit Installation

1. Install the Windows Assessment and Deployment Kit (Windows ADK) according to the windows version.
You may get it from https://developer.microsoft.com/en-us/windows/hardware/windows-assessment-deployment-kit

image

2. Ensure Deployment Tools & Windows Pre-installation environment (Windows PE) is checked. Proceed to install adk.
image

These are the prerequisites, will cover next steps on next post.

Thanks & have a good day!

Monday, 7 May 2018

[HyperV] How to enable Hyper-V in Windows 10?


Hi Guys,

This is related to my previous post (https://malvinjacob.blogspot.my/2018/05/creating-virtual-machine-from-windows.html)

In order to create a Virtual Machine from Windows 10 Hyper V, we’ll first need to enable it from the windows features. Follow below step in case your machine does not have the Hyper-V enabled.

Step 1:
Search for “Turn Windows Feature On or Off” from the start button:-
image

Step 2:
Check On Hyper V &Click OK:-
image

Step 3:-
Click on Restart now if you’re ready for a restart:-
image

Once the restart is completed, you may search fro Hyper-V Manager from Windows 10 Start button.

Thanks & Have a good day!

Wednesday, 2 May 2018

[HyperV] Creating a Virtual Machine from Windows 10 Hyper-V Manager


Hi Guys!

This post is meant for Rookies out there. Some experts might find this guide is not that necessary, but hey, not everyone knows this right? The expert in anything was once a beginner.

Prerequisite : We need to have an ISO file to boot from the virtual machine.

PS : If you can't find the Hyper-V Manager in your Windows 10, most probably it is not enabled. You may proceed to enable it by referring https://malvinjacob.blogspot.com/2018/05/how-to-enable-hyper-v-in-windows-10.html

Creating a VM from Windows 10 Hyper-V Manager

1. From the start menu, search for Hyper-V Manager & launch.

2. Click New>Virtual Machine.
clip_image002

3. Create the VM according to your preferences as per below example:-

Step 1 : Click Next
clip_image004

Step 2 : Specify the name of your VM & click next.
 clip_image006

Step 3 : Choose the VM’s Generation & click next.
 clip_image008
Note : There are two options, as a summary & easy understanding, Generation 1 creates a legacy boot whereas Generation 2 creates a UEFI boot. For a more comparison & information, you may check https://www.altaro.com/hyper-v/comparing-hyper-v-generation-1-2-virtual-machines/ .

Step 4 : Assign memory & click next. (For this guide I’ve assigned 1gb)
 clip_image010

Note : This is the part where we assign the RAM for the VM. It’s up to you how much you’re gonna assign, as long your machine’s RAM can support your VM.

Step 5 : Configure networking & click next.
 clip_image012
Note : If there is no switch available, you may create it later on & assign it to the VM. Refer
Link 1 : https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/get-started/create-a-virtual-switch-for-hyper-v-virtual-machines 
Link 2 : https://www.altaro.com/hyper-v/the-hyper-v-virtual-switch-explained-part-1/

Step 6 : Create a Virtual Hard Disk & Click next.
 clip_image014

Step 7 : Choose the ISO File to boot from the VM.
clip_image016

Once done click on Finish & you can connect to the newly created VM by right click from the VM list.

Hope this post helps in a way!
Thanks & have a good day ☺












Kick Start'in

What's up IT Geeks! A warm welcome to everyone.

This is my first post on this Blog.
I'll be posting most of the guide & also some troubleshooting steps for some issue that I go through almost everyday related to SCCM & Windows 10.
I'm also in the midst of exploring AD, AAD & EMS skillset as well, if there is any chance of me mastering it, will be posting about it as well.

Let's share our knowledge!

Thanks for the visit btw! 😉