Hi, I have just been told that one of sessions has been “approved”. :-)
So, if you are going to TechEd in Berlin, this might be the session for you:
Inside the LAB – Building your own private cloud
So you need a lab, for testing, for building pilots, doing some dev and testing. In that case you need something that is really flexible, fast, simple and works all the time. In this session we will look into this, how you can do this with simple and in some cases free solutions from Microsoft. This session is all about Hyper-V, SVMM, iSCSI, Cluster, MDT and some PowerShell. You will learn how to deploy the physical servers, including recovery if/when they fail and also how to use the some solution for deploying the VM’s using MDT with SCVMM and of course there will be a bunch of best practices on how-to
Mikael Nystrom – MVP Windows Server – Setup/Deployment
Sometimes you need a fast way to create a reference image. You know, suddenly you need to have a VHD file of Windows Server 2008 R2 and a Windows 7 machine, like NOW. It always seem to be NOW or yesterday that things need to be done, wonder why…
Anyway, you need the following:
- WAIK (Well, you only need Imagex, but if you have WAIK installed you have that)
- WIM2VHD, and that's just a small download
- The OS (You only need the Install.wim, but I’ll guess you already have the DVD somewhere anyway)
WIM2VHD
This tools i really nice actually, but it only supports Windows 7 and Windows Server 2008 R2. The command line to create a VHD file is quite simple:
cscript WIM2VHD.wsf /wim:g:\sources\install.wim /sku:1
That will create a 40gb dynamic VHD file in less than 3 minutes (Yes, I do have a SSD disk), but it also have a bunch of other commands that could be used to make it more fun :-)
Required parameters:
/wim: Path to the .wim file
/sku: Sku number or sku name
Some Optional parameters:
/vhd: Name and path to the VHD file you would like to have
/size: Size (default is 40960 mb)
/disktype: Dynamic, Fixed or FastFixed (FastFixed requires VHDTOOL)
/unattend: Path and name of an unattended XML file
/qfe: A comma-seperated list of .MSU files that you would like to have in the image
/mergefolder: Names of folders that you would like to have in the image
I use it from time to time when a need a fast solution and i don't have time to do it the “real” way and in this case the real way is using MDT of course.
Mikael Nystrom
MVP Windows Server – Setup/Deployment
Microsoft Deployment Toolkit 2010 Update 1 - Now Available!
If you’re making the move to Windows 7, Windows Server 2008 R2, and/or Office 2010, you need tools and guidance to help you through the process. Microsoft Deployment Toolkit (MDT) 2010, a free Solution Accelerator, is designed to fill that need.
The latest MDT 2010 Update 1 release, now available for download, offers something for everyone:
For System Center Configuration Manager 2007 customers:
Next Steps
-
-
Learn more about MDT 2010 by visiting the MDT site on TechNet. -
Get the latest news by visiting Microsoft Deployment Toolkit Team Blog. -
Ask questions, post answers, and share your insights in the MDT Forum. - In Sweden, you can also use ITProffs if you prefer the Swedish language :-)
Number One:
Microsoft announces that in SP1 for Windows Server 2008 R2 they will have Dynamic Memory Allocation. That's nice, not always useful, but nice to have. So now you wonder when SP1 is about the come, right :-), sorry cant tell you that…
But meanwhile, you can read about it here
http://blogs.technet.com/virtualization/archive/2010/03/18/dynamic-memory-coming-to-hyper-v.aspx
The rest:
Well, the requirement for Virtual XP mode has changed, it does no longer require that the hardware has support for hardware assisted virtualization and that super nice, that means that more or less anyone can use Virtual XP mode (A part of Windows 7)
Next up, Remote FX, its a component that will be inside Hyper-V and what it does is provides the VM with accelerated graphics, you can now run Aero/Glass/Silverlight with full acceleration, pretty cool :-)
http://blogs.technet.com/virtualization/archive/2010/03/18/dynamic-memory-coming-to-hyper-v.aspx
http://www.virtualization.info/2008/01/microsoft-acquires-vdi-vendor-calista.html
A change in license is also being done. The separate license that was needed to run a Virtual Desktop is going away. That means that the cost for VDI will be lower, much lower. This will begin July 1, 2010
“Licensing model changes for virtual Windows desktops: Beginning July 1, 2010, Windows Client Software Assurance customers will no longer have to buy a separate license to access Windows in a VDI environment. In addition, on the roaming-rights front, as of July 1, 2010, Software Assurance customers and new Virtual Desktop Access customers will have rights to access their virtual Windows desktops and Office applications hosted via VDI on secondary, “non-corporate” network devices, like home PCs and kiosks”
Citrix & Microsoft are also working on enabling HDX in Citrix to work with Remote FX in Hyper-V. http://www.citrixandmicrosoft.com/
oh, right, also. MS has created a depth performance analyze around Hyper-V, you should read it. http://download.microsoft.com/download/0/7/7/0778C0BB-5281-4390-92CD-EC138A18F2F9/WS08_R2_VHD_Performance_WhitePaper.docx
/m
Mike & Mike (Michael Anderberg & Mikael Nystrom) will travel around in Sweden during springtime and do a one day hands on lab, a day where you can rapidly learn how to deploy Windows 7 at customers. This is a joint venture with Microsoft TechNet. Interested?
go to http://www.deploymentroadshow.com/
See you there :-)
/m
Windows 7 – Utrullning i ”lagom” stora företag
This session is about Windows 7 Deployment for small and midsize business, that means that I will cover things like Upgrade Advisor, Windows Easy transfer, MAP, ACT, WAIK, WDS and MDT. A warning is in place, if you expect a lot of PowerPoint, you will be disappointed…
Building the Master Image in Microsoft System Center Virtual Machine Manager 2008 R2
The session is a bit more complex, I have done this session at Tech US and at Microsoft Management Summit in Las Vegas. Its all about creating reference images for Hyper-V, we will cover how you do this with SCVMM and also with out. Its a pretty geeky and demo intense session…
If your going to TechDays in Sweden next week and your business is Windows Deployment or virtualization, don't miss my sessions :-)
/mike
Well, its not “only” me, Its me (Mike), Johan Arwidmark, Chris Jackson Jeremy Chapman and Mr "MDT" Michael Niehaus. And we are doing a one day full blown Windows 7 Deployment day. Right now we are working on the content to be able to show you real world answers from real world deployments that we have done, this day is going to be the day of all the details, the drivers, the apps, the inventory, the decisions and the big How to do this. So…
Sign up for the event and meet us there, and you, yes you. If you come to the session, walk up to the podium and say “Hey Mike, I do read your blog from time to time”

Last time at TechEd EMEA I did a TechTalk, which is a short interview, in this case Johan Arwidmark is asking all the questions (Well hi does not know Windows 7 Deployment so he keeps asking me all the time, or something)
Anyway, it was kind of fun to do, we talk about MAP, ACT, WAIK and the one we all love, MDT 2010. Enjoy.
/mike
In November I did a LiveMeeting for Microsoft regarding Windows 7 Deployment. For some reason that session was recorded. Surprise :-)
The recording is in the Swedish language and you can watch it here…
/mike
So folks, if you live in Stockholm, Malmö, Göteborg or Sundsvall. Johan and I will come to visit you next week. Johan and I have been talking about doing a road show for many years now, for many reasons it never happened until now (And only “hi” knows when its going to happen again.
So, please com join us for a whole day of OS deployment, as you might know OS Deployment is something that means a lot for Johan and me (yes, we are strange, but in a nice way I think)
We will cover OS deployment from very, very small environment to very very large ones, we will cover Windows 7, Windows Server 2008 R2, Physical machines, Virtual Machines, some really nice tips and tricks and some really odd ones to :-)
And hey, you, don't be afraid to step up and shale my hand and say that you read my blog, I always wanted to see if there is anyone that really do that. I might even have some kind of gift for you in return. :-)
One more thing, if you think that installing Windows using a DVD, watch this and think once more…
/mike
This time it will be fun. There is one thing that many people do not know and that is the fact that you can run the LiteTouch script directly from with in the OS and there seems to be only a handful of people that knows you can use command line parameters using that LiteTouch.vbs script file. So in reality, what does this really mean. Well.
So the feature is not “hidden”, its just so common for people to use it for some reason, I think that in refresh/upgrade scenarios its perfect. That way I can have one settings in customsettings.ini that works nice with “Baremetal Install” and then have command lines for doing refresh/upgrade’s. So if you look in the help file for MDT you can search for settings that you can do to make the install silent and automatic, lets say that you want to use skip the task sequence page, in that case it will be similar to this in customsettings.ini:
SkipTaskSequence=YES
TaskSequenceID=TS01
and similar to this in a command line form:
\\server\deploymentshare$\scripts\litetouch.vbs /SkipTaskSequence:YES /TaskSequenceID:TS01
As you can see, we need to add a slash before every variable and replace the equal sign with a colon
So, as an example, here is how to publish an icon to the desktop for the user to click on and it will then install Windows 7. First we need to create a CMD file, the file will then be published using a GPO: The file content is listed below, but you need to modify parameters or add/remove stuff that you do not need for your environment. For example, it is unlikely that your Task Sequence for Windows 7 Enterprise has an unique ID of WC001 :-)
Creating a CMD file on the deployment server
- Log on to the deployment server
- Create a new share \\SERVERNAME\Public
- Create “WindowsXP2Windows7.cmd” in that share, it should look like this:
@Echo off
CLS
REM Let's delete the old shortcut on the desktop first so that we do not keep it after the refresh/upgrade
del "%allusersprofile%\desktop\Upgrade this computer to windows 7.lnk"
REM Let's deploy the OS now
REM Note, this should all be in the same row, but i need to “bend” it so you can see
\\SERVERNAME\deploymentshare$\Scripts\LiteTouch.vbs /SkipTaskSequence:YES
/TaskSequenceID:WC001 /SkipDeploymentType:Yes
/DeploymentType:REFRESH /SkipComputerName:YES
/SkipDomainMembership:YES /UserDataLocation:AUTO
/SkipUserData:YES /SkipComputerBackup:YES /ComputerBackupLocation:NONE
/SkipLocaleSelection:YES /SkipApplications:YES /SkipAdminPassword:YES
/AdminPassword:TheLocalPassword1
/SkipBitLocker:YES /SkipSummary:YES /FinishAction:REBOOT
Using Group Policy to publish the CMD file to the users desktop
- Logon on to the DC
- Start Group Policy Management Console
- Create a new Policy Called “Upgrade to Windows 7”
- Open Computer / Preferences / Shortcuts
- Create a new Shortcut using the following settings under the General TAB
- Name: Upgrade this Computer to Windows 7
- Target type: File System Object
- Location : All Users Desktop
- Target Path: \\SERVER\Public\WindowsXP2Windows7.cmd
- Run: minimized
- Icon file path: %SystemRoot%\system32\SHELL32.dll
- Icon Index : 137
- Modify the new shortcut under the Common TAB according to the following:
- Remove this item when it is no longer applied
- Item-Level Targeting
Under targeting you can set your conditions for computers to receive this shortcut, this for example is my settings:
Now, on the Windows XP test box that you have, run GPupdate /force and verify that the Shortcut is popping up, and then run it. If you get questions you would like to avoid, set the parameters in customsettings.ini/MDT database or add them to the command line.
So, that's it. Only thing you need to do now is to relax and let the users refresh their own boxes…
/mike
So, you are about to deploy Windows 7, yes perfect. So you have set up your deployment solution, done the apps job and everything is perfect !!!, or…
For some reason when you open up System in the control panel it says:
Rating : Unrated
And that is not good, so you want to rate the system during the deployment phase, so do I
How-to:
Add a “Run a command” in the end of the Task Sequence that runs the following command
“winsat formal”
and you are done.
btw, it is kind of fun to read inside the VBscript’s:, Check this out :-) (line 1208 in LiteTouch.wsf)
' Are you kidding me? THis is the 21st century, what kind of computer doesn't have a networking adatper?
GetNetworkingErrorHint = "No networking devices were found on this machine!"
/mike
So, this one is nasty, the problem will be that when doing a refresh from Windows XP to Windows 7 the USMT will not apply all settings, due to a small issue. The result will be that some settings are lost, it captures some setting but not all. If you read the USMTcapture.log you will see “Downlevel Manifests folder is not present. System component settings will not be gathered.”
and here is one solution
http://systemcenterideas.com/2009/09/usmt-issues-with-mdt-2010/
And no, there are no official fix for this at the moment…
/mike
So You did not go to TechEd, and you don't want to buy the TechEd Online ticket to see all the sessions, in that case let me show this:
Of course, there are others to, also you will see TechTalks from other TechEd’s around the globe, check this out:
http://www.msteched.com/online/channels.aspx?cname=track&channel=Windows+Client%2c+Server+%26+Management
/Mike
- Storage, store the .VHD file and the settings file at the same location and if possible format the hard drive using 64k blocks instead of using standard, that will increase speed and lower impact on the parent partition
- The Time Synchronization service should ONLY be enabled when the child OS does not have any other way of getting the correct time, that means that member servers, domain controllers, workstations in a domain should NOT get the time from the parent partition. Also it is important the the parent partition get’s the correct time, if the parent partition is part of a domain then it should sync from that of course.
- When upgrading from Hyper-V RTM to Hyper-V R2 you need to turn of all running machines and you need to remove all snapshots. BEFORE you start them up please modify the following:
- Add a SCSI interface and move all disk’s to the SCSI disk instead of having them on the IDE interface, that makes it possible to de-attach them if needed whiteout turning of the machine later on (It has NOTHING to do with performance, just management)
- Check the CPU Setting, there is a new feature that enables you to migrate between machines that NOT have the same CPU, you wnat to have that checked before you want to move it, otherwise you will have to turn it off before moving it, kind of boring
- Use separate NIC’s, the minimum of NIC’s is TWO, one for management, and one for the child partitions. I recommend 4 NIC’s if you use iSCSI or have a decent load on the server. In the case of using iSCSI as storage for the parent partition use one NIC for management (that should have the highest order in the binings list)
(this is NOT my hyper-V server, ok, just want you to understand what I mean with “Binding Order”
Also on the Network adapters that you use for iSCSI, DO NOT USE any kind of loadbalancing stuff from the vendor, iSCSI it self is redundant when you add MPIO and configurea that for iSCSI use (Go into control panel and check the “Support for iSCSI”, wait two seconds and reboot)
Also, use Jumbo Frames if possible on the iSCSI network, it does require that all network devices on that network can handle Jumbo Frames - Will contione later on, need to back to work now.
More Posts
Next page »