Sider

Sunday 6 November 2011

How to add a SMB share to a HDI Dune players main page


When you first turn on a HDI Dune player it is tempting to use the “Network Browser” to access content on the local network. The disadvantage with the “Network Browser” is that you either have to use the UPNP standard, with all its limitations, or rely on NetBIOS to find and resolve you shares.
The best way to access video content on a network share from a HDI Dune player is to “map” the share to the main page with a shortcut. Se how this is done below!

Saturday 9 July 2011

Extracting Intel NIC drivers


If you download drivers for Intel network cards from downloadcenter.intel.com you will get at .exe file. For example I just downloaded “PROWin7_64_v16.3.exe”.

If you want to inject the drivers to an image, a .exe file is no good. Here is the command line to extract the drivers to a folder:

PROWin7_64_v16.3.exe –e –f c:\Work\PROWin7_x64_Extracted

-e is the extract option
-f followed by a location tells where to extract the files. My experience is that you have to provide the full path.

Notice that you get a lot of drivers! The lazy method is to just add all of them to your image, but you can of course locate the one you need, and remove the rest before injecting.

Creating multi language Boot.wim and WinRE.wim


If you for some reason need to create a multi language installation media you need to add the needed language packs to the boot.wim file found on the installation DVD. If want to take advantage of the of the “Windows Recovery Environment" you also have to update the WinRe.wim file.

Instead of doing the guide myself I will post a link for a really good guide on how it´s done. The guide is also updated to support Windows 7 SP1.

http://forums.mydigitallife.info/threads/12145-HowTo-create-a-multi-language-Windows-7-DVD-installer

Creating a customized image of WHS2011–Part 1


I got a comment on the post ”Installing WHS 2011 on “headless” hardware using AutoUnattend.xml” with a question in the direction of sysprep and WHS2011.

If you don’t now “Sysprep.exe” here is a short explanation:

Sysprep.exe is a tool u can use to prepare a customized Windows installation for capturing and distributing to other computers. The reason you would want to do this is if you are going to deploy a lot of systems with the same drivers, and/or software configuration. Sysprep.exe is a “Online” tool that you run from a booted Windows OS, it´s located in “C:\Windows\System32\Sysprep\”. IMPORTANT – Do NOT run this tool on you workstation, there is a good chance that you will destroy your installation. Of course, if you already have a WHS2011 that would not be a problem, you can just restore you system Smiley

If your not a IT pro dealing with tons of systems there can still be good reasons for making you own customized image of Windows. Looking at client OS it make sense to have a image with the most common software installed, and keeping you image updated with the most common NIC drivers also make things easy. Also if you are the “family go-to IT guy”, you will quick learn to love a USB stick with a couple of customized images.

When we are talking WHS2011, to be honest, I don’t see a lot of reasons for creating images, unless you plan to build/sell systems. On the other hand, I always find a excuse and this time I decided to make a image of WHS2011 with my favorite screen capture software installed.

In the first part of the guide I will focus on creating the image. In order to use the image we also have to capture it and find some way of deploy it, I will do that in separate blog posts.

Here we go…

Sunday 3 July 2011

Windows Automated Installation Kit

If you want, or need, to work with Windows unattended installations, you need some tools.

The most important ones is:

Dism.exe – A servicing tools that can be used to everything from mounting images to injection drivers and changing Windows version.

ImageX.exe – The best tool for working with .wim files. Dism can also be used for mounting/changing wim files. But ImageX have shorter command line options, and is needed for image capturing.

Windows PE – Is a very basic “core” version of Windows that you can boot to the memory. If you have ever booted a Windows Vista or 7 installation media you have been en PE, as it is the underlying OS that Setup.exe is running from. Windows PE is pretty cool, and can be used for a lot of stuff. Please remember that there are some license restrictions when it comes to the use of PE, but as long as you use it to installing correctly licensed Microsoft software it should be okay.

Fortunately Microsoft have made a single kit with these, and many other usable, tools. There are two versions – OPK and WAIK. The OPK kit is for “System Builders” and OEM´s, and the WAIK is for Enterprise Admins. The only difference between these two versions is the name, and WAIK can be downloaded without from microsoft.com so that’s a easy choise.

The WAIK iso can be downloaded from this link - http://www.microsoft.com/download/en/details.aspx?id=5753 

After downloadning mount (or burn) the iso file, and run the WAIK setup.

With SP1 for Windows 7/Server 2008R2 there were also released a supplement to the WAIK kit. The supplement contains some changes to the PE tools, and primary to handling of language packs. If you don’t have any contact with Language Packs, I will recommend not to download it. The “installation” is done by copying some files and folders to the right location, but is not documented very well. You can get it here - http://www.microsoft.com/download/en/details.aspx?id=5188

After then installation you can press start and navigate to “All Programs” -  “Microsoft Windows AIK” and start the “specialized” command prompt to start using the tools. Remember to start the command prompt with admin rights, else you will get stuck quick.

Sunday 19 June 2011

Installing WHS 2011 on “headless” hardware using AutoUnattend.xml


As a follow up on my previous post “Installing Server 2008 R2 unattended” here is a follow up on how to install “Windows Home Server 2011” on “headless” hardware.

WHS 2011 is a bit different when it comes to running setup.exe, and its therefore not enough to just put a AutoUnattend.xml in the root of the installation media. Also, for reasons I don’t know, Microsoft have decided to implement the possibility to automate the installation with use of a Cfg.ini file, in fact most of the “how-to” I found on the web is based around the Cfg.ini solution.

I think the Cfg.ini solution is okay, but having a mindset focused around xml files I decided to write a guide based on AutoUnattend.xml. Notice I have yet to find the (big) advantage compared to Cfg.ini, so for now the only “exclusive” settings I will do is around Internet Explore.

Let´s go!

 

Saturday 18 June 2011

Create a bootable ISO file with Oscdimg.exe


When you install the WAIK or OPK kit, you also automatically get Oscdimg.exe installed. It can be used from the WAIK/OPK cmd prompt.

Let´s say you have a copied the content of a Windows DVD to “C:\Work\MyCustomWinDVD”, made some changes, and are now ready to burn the .iso file. The syntax would be like this:

“oscdimg –bC:\Work\MyCustomWinDVD\boot\etfsboot.com -h -u2 -m –lMyCustomISO C:\Work\MyCustomWinDVD C:\Work\MyCustomISO.iso”

Options explanation:

-b - Specifies the location of a boot sector file, in this case found in the boot folder of the Windows DVD

-h - Include hidden files and directories

-u2 - Specifies that only the UDF file system is used

-m - Ignore the maximum (CD) size of a image

-l - Is used to label the iso file

Friday 17 June 2011

Installing Server 2008 R2 unattended


I stumbled over a post on wegotserved.com, explaining how to install Windows Server 2008 R2 on a HP WHS box. I will give the author credit for being creative but I would like to point out an alternative, the AutoUnattended.xml.

This post is a basic “how-to” and I am not going to explain the whole concept and all the tools around “Windows Automated Installation Kit”. Also i will add that i don´t own a HP whs box, the following is a general description and should work on all systems that´s capable of booting on a USB drive. (From what I understand, the HP hardware will boot on USB if no boot info is found on the hard disk)

WARNING – After creating the USB stick, booting on this stick WILL clean your hard disk, so be careful rebooting you workstation if you are not sure on the boot order.

To get started you need the following:

· A (properly licensed) Windows Server 2008 R2 DVD.
· An empty USB stick, minimum 4GB.

Let´s get started!