Windows 7 GodMode!

6. January 2010

Stumbled on this through twitter, check out this following post on cnet basically it is a method to access all the control functions for Windows 7 from one location.

http://news.cnet.com/8301-13860_3-10423985-56.html

nice.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Blog, Microsoft, Windows

Windows 7 XP mode differencing disk blowout? Try compacting your VHD.

3. January 2010

If you find your virtual disk file growing exponentially with Windows XP mode under Windows 7 (Pro, Ultimate and Enterprise) this might be related to the fact that the virtual disk file used in XP mode is a “differencing” disk. A differencing disk is linked to a dynamically expanding or fixed disk and only saves the changes relative to the base disk. This protects the base pre-configured Windows XP install but a side effect of this is that the differencing disk only grows in size and never shrinks.

This shows the location of the differencing VHD and the Parent disk (From the settings screen in Virtual PC)

image

Recovering this space is a simple process but needs to be preformed offline and not while XP mode is hibernated. The process of “compacting” reduces the size the disk by removing unused space on the virtual hard disk.

First shutdown the XP mode virtual machine. Click Start then Windows Security within the virtual machine

image

Select Shutdown then Shutdown then OK

image 

image

By default the differencing .vhd is located in…
C:\Users\<PROFILE NAME>\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines

image (Size is 3GB)

From the parent Windows 7 machine select Start then “All Programs” then Windows Virtual PC

 

image

Right click on the Windows XP Mode virtual machine and select Settings

image

Select Hard Disk 1 and select Modify from the right side.

image

Select Modify then Compact virtual hard disk

 image

Select Compact

image

Done!

Post compacting my install I recovered 50% of disk space.

image Size is 1.5GB

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Blog, Virtualization, Windows , , ,

Microsoft App-V – Moving beyond the overview

24. July 2009

In my previous blog here I provided an overview and “what is” application virtualization and Microsoft App-V. In this post I will attempt to move beyond the basics and try to address the good, the bad and the ugly of application virtualization with Microsoft App-V.

Desktop and Application optimization…
If you read my previous post you should now have an idea what application virtualization and Microsoft App-V is and what it can provide to a computer network. I remember reading somewhere that “a operating system is at it fastest and optimal post a fresh install and before any applications are deployed”. This is something I and I am sure any IT pro will agree with and while we would love to keep our machines in this optimal state usually an application or two is required. Now meet my friend App-V, this neat little application can conceivability keep your machine as close to a fresh install as possible as applications are not installed in the traditional sense.

What do you mean the application is not installed?
Microsoft App-V for example provides a virtual registry and  virtual file system. When a sequenced or virtualized application is deployed to a Windows Vista workstation the application does not sit in c:\program files\… or write to [HKLM\Software\Microsoft\…] it is truly sandboxed and held at arms length from the operating system. As far as the application is aware it is installed locally however when it writes to the local registry that application call is redirected to a virtual or “faked” registry, this also hold true for the file system. 
What you see is an application laid down on disk but does not “taint” the local operating system with crazy registry entries or participating in DLL hell.

Can I virtualize application xyz?
Now not all applications are created equal and not all applications are a candidate for virtualization, what I mean is not all application will function within a virtual environment or even sequence correctly in the first place. Generally applications that fit the following list may not be candidates however all applications are different and everybody's experiences are different.

  1. Applications that install a boot time service.
  2. Applications that use COM+ (check here for more info and workarounds)
  3. DLL’s that run in Dllhost.exe AKA COM DLL surrogate virtualization.
  4. MAPI applications check the following link for help.
  5. Internet Explorer (google or bing :-) this, some believe you can).
  6. Device drivers or any application that uses them (unless you can install the device driver separately and locally from the sequenced application)
  7. Applications for example that are tied to a machine or tied to a system’s MAC address.
  8. Helper applications such as those with a multifunction printer… the root of all evil for any virtual environment :-)
  9. Operating system hotfixes in any way shape or form.
  10. most (but not all) antivirus applications that use filter drivers that interact with the operating system directly.
  11. Some windows services.

So what is actually virtualized?
One of the great things about App-V or application virtualization in general is the ability to uninstall an application and ALL settings, binaries, registry entries, and random configuration files are removed no ugly desktop icons or folders in c:\program files or manually remove

When a file is sequenced the following is a list of what is wrapped up into well… a sequence.

  • Files
  • Fonts
  • Registry entries
  • INI files (oh the horror!)
  • Namespaces
  • Services
  • COM/DCOM objects

What methods are available for application virtualization?
There are three methods available for deploying application virtualization when utilising Microsoft App-V, standalone, streaming and full infrastructure.

Standalone – Enables virtual application delivery to businesses that may not have the backend infrastructure to support streaming or the full infrastructure model. The only software required is the sequencer which can sit on a workstation. Applications are sequenced and packaged into a MSI (Microsoft Installer) which contains all the information required to deliver and install the virtual application. This model requires a method of application delivery either manual (CD/DVD or USB) or automatic (SCCM, AD or some other package deployment tool). This model is also best suited to users who are remote or disconnected from the network.

Streaming – Model consists of the streaming server, the sequencer and the App-V client. Applications are placed on the streaming server where they are downloaded or streamed to the client on demand. When streamed a client receives what is called “feature block 1” then obtains further blocks when needed this leads to faster start-up times for applications.

Full Infrastructure – Requires the largest investment in “infrastructure” as it consists of one or more Microsoft System Center Application Virtualization Management Servers and the App-V client on workstations or Terminal Servers.

Allot of IT adman's find the “streaming” model works for them and can easily leverage existing servers and software onsite.

Client considerations…
Always ensure a large enough cache has been provisioned (2GB standard) perhaps 4GB is better. Ensure clients are pre-cached on Terminal Server’s for best performance and user experience, and remember at this stage only 32bit (x86) operating systems are supported. (This will change with App-V 4.6)

Sequencer Considerations…
Provision an isolated and dedicated workstation for application sequencing. Ensure this workstation does not have any background applications or agent software loaded. If you are not sequencing Microsoft Office but it is part of your base workstation image make sure it is also loaded to the sequencing machine. The sequencing machine must have a second drive letter that matches the virtual drive used by the client, this could be a network drive or USB drive for example. The default drive is Q. Deploying to a staging environment is recommended.

My first post on App-V is available here.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Blog, Virtualization, Windows ,

XenConvert 2.01

26. June 2009

Citrix just release a minor update for its P2V/V2V migration utility XenConvert 2.0. (Current Release 2.0.1)

This version introduces the support for OVF contents created with VMware vSphere 4, plus it enhances support for OVF and VMDK files created with other VMware products, including VI 3.x, Workstation 6.5.2, Studio 1.0, OVF Tool 0.9, Converter 3.0.3 and 4.0.

Versions are available for both x86 and x64 and is available from here
http://citrix.com/English/ss/downloads/details.asp?downloadId=1855017&productId=683148

Things to watch out for in this release (known problems)
1. Windows Boot and System drives must be on the save volume

2. Do not run from within a Terminal Services 2000 session (i'll try not to!!)

3. XenConvert has problems with mapped drives when the next available mapped drive is a network drive, quick workaround is to remap network drives to something other then the lowest lettered drive

4. Disable autorun and AV software during convert

XenConvert Requirements
XenConvert can run on Windows 2000 SP4 to Windows 2003 R2 SP2 with x64 support on Windows 2003

XenConvert can convert or P2V/V2V the following

Windows Server 2003; Standard, Enterprise SP1/SP2
Windows Server 2003 R2; Standard, Enterprise SP1/SP2
CentOS 5.2
Oracle Enterprise Linux 5.0
Red Hat Enterprise Linux Server 5.2
Novell SUSE Enterprise Linux 10 SP1/SP2
32-bit
Windows Server 2003; Standard, Enterprise SP1/SP2
Windows Server 2003 R2; Standard, Enterprise SP1/SP2
Windows Small Business Server 2003 SP1/SP2
Windows XP SP1/SP2/SP3
Windows 2000 SP4
CentOS 5.2
Oracle Enterprise Linux 5.0
Red Hat Enterprise Linux Server 5.2
Suse Linux Enterprise Server 5.2
Novell SUSE Enterprise Server 9 SP2/SP3/SP4
Novell SUSE Enterprise Server 10 SP1
Debian 4.0
Microsoft Virtual Server 2005 R2 SP1
Virtual Machine Configuration (*.vmc)
Fixed VHD
Dynamic VHD
XenServer
XVA Version 2
VMware (VMDK formats)
OVF
Stream-optimized Monolithic VMDK

With experimental support for the following

64-bit
Windows Server 2008
Windows Vista SP1
32-bit
Windows Server 2008
Windows Vista SP1
Hyper-V
Fixed VHD
Dynamic VHD
VMware
Virtual Machine Configuration (*.vmx)
Flat Monolithic VMDK
Sparse Monolithic VMDK
Flat Extent VMDK
Sparse Extent VMDK

Supported desternations

XenServer 4.0, 4.1, 5.0 and 5.5

XenConvert has a simple wizard interface or a command line option, remember to disable all AV software, autorun, any search indexing software, enable windows automount
(hint: DISKPART, automount enable)
 

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Blog, Citrix, Windows , , , ,

Citrix Ready Community - Verified

11. June 2009

http://community.citrix.com/citrixready

I cannot rave about this site enough, it is a community driven site of which people are able to search for application and environment compatibility or contribute there own experiences running Citrix applications.

For example if I am interested in running the SAP Business One client under XenApp or streaming it via XenApp's application virtualization technology but want to know if I should even attempt to profile or deploy the application in a Citrix XenApp environment I can search and read about other people experience's.

[EXAMPLE OUTPUT]

SAP Business OnEssentialse :

Citrix Product Product Version Platform Votes
Access Essentials 2.0  
6 Vote Now!
XenApp (Presentation Server) 5.0 Hosted for Windows Server 2003
2 Vote Now!
XenApp (Presentation Server) 5.0 Hosted for Windows Server 2008
2 Vote Now!
XenApp (Presentation Server) 5.0 Streamed for Windows Server 2008
3 Vote Now!
XenApp (Presentation Server) 4.5 Hosted for Windows Server 2003
5 Vote Now!
XenApp (Presentation Server) 4.0 Hosted for Windows Server 2003
2 Vote Now!

 SAP Business One issue
Forum: Presentation Server 4.5 - General Question: SAP Business One issue Subject:
SAP Business One issue Poster: Saidovic Saidovic Hi All, I installed SAP ...
Date created 2007-11-22    Last modified 2007-11-22 

However this site is not limited to XenApp presentation virtualization or application virtualization as most Citrix products can be "community certified" the following is a list of Citrix hardware or software supported

Access Essentials
Access Gateway
Branch Repeater
Essentials for Hyper-V
Netscaler
Password Manager
Provisioning Server
Receiver for Windows
StorageLink
WANScaler
XenApp
XenDesktop
XenServer

The other great thing about this site from my experience if you can present it or virtualize it with XenApp you can usually do the same with Microsoft Terminal Services (Remote Desktop Services) or Microsoft Application Virtualization (App-V)

I think this is a great initiative and think the Microsoft community would also benefit from the same, does anyone know of a similar site for Microsoft hardware or software?

http://community.citrix.com/citrixready

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Blog, Citrix, Windows , ,

Hyper-V 2.0 will be release October 22 with Windows 2008 R2

8. June 2009

On the Windows Server Division blog, Ward Ralston, Group Product Manager of Windows Server Marketing, announced that Windows Server 2008 R2 will be released and available the same time of Windows 7.
This means both client and server operating systems will be released togeather at the same time (first time since the release of Windows 2000 server and workstation).

When Microsoft released Windows 2008, Microsoft decided to include just a beta version of the hypervisor (Hyper-V) within Windows, subsequently an update (RTM) was released via the Windows Update service.
This time Hyper-V version 2 will be RTM and part of the final release!! (All publicy available on October the 22nd 2009!!)

The only edition of Hyper-V 2.0 that will be delayed is the stand-alone platform Hyper-V Server 2008 R2, which Microsoft will release within 30 days the release of Windows Server 2008 R2.

Microsoft partners will have access to Hyper-V 2.0 starting the second half of July, through MSDN and TechNet software subscriptions.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Blog, Virtualization, Windows , ,

Hyper-V, Xen and ESX head to head

8. June 2009

Something I had always looked for, for my own information and from a marketing perspective was a solid performance comparison between what could be considered the big 3 hypervisors.

There are a number of these “lab tests” out there (and most look to be dated) but this is current and covers most of the points I was interesting in reading about.

I recommend having a look at the following post and I also recommend looking around the rest of the site. virtualizationreview.com has a ton of virtualisation related information and is usually presented in a complete and unbias fashion.

http://virtualizationreview.com/articles/2009/03/02/lab-experiment-hypervisors.aspx

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Blog, Citrix, Virtualization, Windows , , ,

Microsoft to offer Live Migration and High Availability for FREE

8. June 2009

I missed this as it was covered a few weeks back but further information has come to light - MS will offer advanced virtualisation features which come as a premium on other hypervisors for free, and while some reported that this free release “comes with a number of strings” it turns out that it does not. In fact MS will provide these features without the use of SCVMM! all you need is the console of the server or a free management tool which will be available for Windows 7

The original announcement was blogged by Zane Adam here.
http://tinyurl.com/c4xsnq

And an excellent follow up was posted here by Jeff Woolsey (MS Hyper-V product Manager)
http://tinyurl.com/dezg7r

Being that I deployed my first Hyper-V solution last week over my “previous” favourite hypervisor (ESX) note I said “previous favourite” I was extremely impressed with Microsoft’s first release. Performance was outstanding, manageability was good and the fact that our preferred backup application Backup Exec 12.5 can get easy access to the VM’s I am a converted man and eagerly awaiting the R2 release.

Allot of businesses look to VMware for vmotion, HA etc… and often it is a mission getting these “enterprise priced features” across the line into the SME market. I cannot help but believe VMware and some other players will need to readdresses strategies and licensing in the near future as the commoditisation of the hypervisor continues…

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Blog, Virtualization, Windows ,

Citrix is providing XenServer enterprise virtualisation solution for FREE!!

8. June 2009

How this differs from other free hypervisors is that a number of enterprise features have been included that otherwise would have cost $$.

This includes,
Centralised management
Live migration (not even available with Hyper-V, scheduled for Windows 2008 R2)
Resource scheduling
64bit Hypervisor (ESX is 32bit for example)
Bare Metal Hypervisor
Integrated storage management

(Note High availability is missing from this release, you need XenServer Essentials for that)

XenServer essentials is now the commercial version of XenServer which essentially is a management and feature extension for Xen and Hyper-V.
http://citrix.com/English/ps2/products/product.asp?contentID=683148

Full facts and figures for XenServer 5 can be found here
http://www.xenserver5.com/

For those of you thinking about testing or trailing XenServer 5 it installs in VMware Workstation, however as VMware Workstation does not pass Intel or AMD virtualisation extensions through its emulated BIOS you can not test Windows VMs (unless someone knows something I do not?!) as Xen requires these to virtualise Windows.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Blog, Citrix, Windows ,