Archive for the ‘Windows 7’ Category

Deploying Microsoft Windows Server 2008 Networking with Cisco

June 6, 2011

Cisco has published an really useful whitepaper around networking deployments with their Cisco gear and does provide great technical details around the new enhanced capabilities of the new networking features from 2008/Vista stack.

Techniques like Teredo, ISATAP, NAT, SMBv2, IPv6…..will be discussed in detail especially the multisite cluster DNS is also covered here:









Deploying Microsoft Windows Server 2008 and Vista on a Cisco Network

Stay tuned…. Winking smile




Powershell–How to write your own custom functions in Powershell?

May 15, 2011

How to write your own functions within Powershell?

As most of you knows, Powershell is a really powerful toy for administrators which are dealing with a lot of systems. Most of the time, you do same operations and need to write your own scripts. I usually use here the "function" method to build my own Powershell functions which I call later in my script anytime.

Function Example: Enumerate all drives/partitions on a server
function GetDrives
    Get-WmiObject Win32_DiskPartition | select-Object Name, VolumeName, DiskIndex, Index 

Function Example: Start all VMs
function StartVM ([string]$VMName) {
    write-host (‘INFOTEXTBOX: Starting all VM now: ‘+$VMName)
    Get-VM -Suspended $VMName | Start-VM -Force
    Get-VM -Stopped $VMName | Start-VM -Force
    while (!(Get-VM $VMName -Running)) {sleep 1}

Function Example: Cleanup or Remove all VM
function RemoveVM ([string]$VMName) {
    write-host (‘INFO: Remove VMs now:’+$VMName)
    Get-VM $VMName| Remove-VM -force | Out-Null
    while (Get-VM $VMName) {sleep 3}

Function Example: Remove ISO drive from VM
function RemoveISO ([string]$VMName) {
    $DVD=Get-VMDisk $VMName | Where-Object {$_.DriveName -like ‘DVD Drive’} | Where-Object {$_.DiskImage -like ‘*.iso’}
    if ($DVD) {
        ForEach ($actDVD in $DVD) {
            write-host (‘INFO: Remove Mounted ISO from VM ‘+$VMName)
            Remove-VMDrive $VMName -ControllerID $actDVD.ControllerID -LUN $actDVD.DriveLUN -DiskOnly | Out-Null

These are examples for Hyper-V and Cluster Environments where we do utilize command like  “Remove-VMDrive” or “Get-VM” from the Powershell Hyper-V library module from Codeplex or built in Failover Cluster module.

PowerShell: calling a function with parameters

PowerShell Tutorial 10: Functions and Filters

Stay tuned for further PS examples Winking smile



Microsoft TechDay Online–Webcast und Expertenchat

February 2, 2011

Microsoft veranstaltet zwischen dem 21.02.- und 23.02.2011 die Techdays Online welche Themengebiete wie z.b. Hochverfügbarkeit, Virtualisierung, Cloud Management beinhalten wird. Dabei werden wirkliche sehr interessante Webcast zur Verfügung stehen.

“Der Microsoft TechDay bietet seit annähernd 3 Jahren geballtes Wissen rund um die neuesten Microsoft-Technologien. Egal ob Sie IT-Führungskraft, technischer Entscheider oder Administrator sind – bei uns erhalten Sie Informationen aus erster Hand!
Wir freuen uns, Ihnen neben den ursprünglichen Offline-Events seit neuestem auch den Microsoft TechDay Online anbieten zu können. Bei diesem Online-Event können Sie die Vorträge live oder auch on Demand anschauen und in unserem Expertenchat offen gebliebene Fragen klären. Unsere Offline-Events ganz in Ihrer Nähe behalten wir natürlich weiterhin bei.“

Dabei habe ich ebenfalls die Möglichkeit erhalten, meine bisherigen Erfahrungen in Bezug auf die täglichen Herausforderungen für den Datacenter Administrator, in einem Webcast zu komprimieren. Mein Track zu diesem Thema wird heissen “Virtualisierung für den Administrator: Die täglichen Aufgaben für Optimierung und Verfügbarkeit”

Weitere Informationen zu TechDay Online ist zu finden unter:

Agenda für Virtualisierung


Stay tuned… Winking smile


Whitepapers around Windows Server 2008

November 20, 2010

Here you can find all relevant whitepapers which are published by Microsoft around Windows Server 2008 Features, Roles like HA, RDS, File and Storage, Virtualization … and some general information’s.

Free eBooks around Microsoft Technologies

November 20, 2010
Here are some useful ebooks which are available for free:
Free eBook: Moving to Microsoft Visual Studio 2010
(10 chapters by Patrice Pelland, Pascal Paré, and Ken Haines)

Free eBook: Introducing Microsoft SQL Server 2008 R2
(10 chapters by Ross Mistry and Stacia Misner)

Free eBook: Programming Windows Phone 7 Series (DRAFT Preview)
(6 chapters by Charles Petzold)

Free eBook: Petzold’s Programming Windows Phone 7 (Special Excerpt 2)
(newer than the eBook above; 11 chapters by Charles Petzold)

Free eBook: Own Your Future: Update Your Skills with Resources and Career Ideas from Microsoft
(8 chapters by Katherine Murray)

Free eBook: Understanding Microsoft Virtualization Solutions (Second Edition)
(6 chapters by Mitch Tulloch)

Free eBook: First Look Microsoft Office 2010
(14 chapters by Katherine Murray)

Free eBook: Windows 7 troubleshooting tips
(short eBook by Mitch Tulloch)

Free eBook: Introducing Windows Server 2008 R2
(9 chapters by Charlie Russel and Craig Zacker)

Free eBook: Deploying Windows 7, Essential Guidance
(10 chapters from the
Windows 7 Resource Kit and 6 TechNet articles)


Terminal Services aka Remote Desktop Services Step-by-Step Guide’s available

October 21, 2010

Here is an summarized list of all step-by-step guides from Microsoft around deploying Terminal Services (RTM) / RDS  – Remote Desktop Services (R2) with Windows Server 2008 RTM/R2. I personally think there are many useful scenarios where this built-in role can be implemented. My personal favourite is the TSGateway (RTM) or RD Gateway (R2) where you can publish all your servers to a.e. Internet on a secured base as the traffic is based on SSL. Also the granular capability of user access rights management – of course Active Directory Groups can be used as well – is a powerful tool, which are realized with CAP (Connection Access Policy) and RAP (Ressource Access Policy).

Try it out:

Deploying Remote Desktop Web Access with Remote Desktop Connection Broker Step-by-Step Guide

Deploying Remote Desktop Gateway Step-by-Step Guide

Deploying RemoteFX on a Remote Desktop Session Host Server Step-by-Step Guide

Deploying RemoteApp Programs to the Start Menu by Using RemoteApp and Desktop Connection Step-by-Step Guide

Deploying RemoteFX for Personal Virtual Desktops Step-by-Step Guide

Deploying Remote Desktop IP Virtualization Step-by-Step Guide

Deploying a Single RemoteFX Server Step-by-Step Guide

Deploying Virtual Desktop Pools by Using Remote Desktop Web Access Step-by-Step Guide

Deploying Personal Virtual Desktops by Using Remote Desktop Web Access Step-by-Step Guide

Installing Remote Desktop Session Host Step-by-Step Guide

Deploying Remote Desktop Web Access with Remote Desktop Connection Broker Step-by-Step Guide

Deploying USB Redirection with RemoteFX Step-by-Step Guide

Deploying Remote Desktop Licensing Step-by-Step Guide

Customizing RD Web Access by Using Windows SharePoint Services Step-by-Step Guide

Stay tuned…. Smile


Ramazan Can [MVP Cluster]

Windows7 – WindowsXP Mode –> Access to local drives via published applications ?

June 29, 2009

Is it possible to access my local drives within the virtual machine from published applications ? As the windows tools like explorer will not be published per default you cannot access your drives directly except via going to map a network drive. If required, you can start the explorer.exe from any published application which offers you a “open” or “save to” dialog where you normally access your local drives.

In my case I had gone trough the outlook 2007 menu “File –> Open –> Calender…” dialog to start the explorer.exe which is located at c:\windows\:

Change the “File of Type” to “All Format” and browse to “My Computer –> C:\ –> C:\Windows\” and start via right click on your mouse the advanced menu context and select “Open”.


Here we go :


Explorer from Windows 7 and Windows XP side-by-side :


As the explorer from windows XP is running “isolated” within the WindowsXP virtual machine you cannot use drag&drop or the lovely copy&paste functionality !

Possibly there is a “registry tree” of what applications will be published and this can also be modified but I haven’t investigated yet.

Outlook 2007 and 2010 side-by-side ?

June 29, 2009

Is it possible to run more than 1 outlook instance in the same time ? Exchange Administrators should now what I mean here, normally this isn’t possible due to the MAPI issue. BUT if you are using Windows 7 (or any other application virtualization technology like MED-V from Microsoft) you can easily run that in the new WindowsXP Mode. I had installed within the WindowsXP virtual machine Outlook 2007 and are running the CTP version of Outlook 2010 on my main Windows 7 (RC1) system. When you had enabled – which is the current default setting – the “Auto Publish” mode in the virtual machine setting all application which you install additionally to the OS will be published trough your start menu.

Auto Publish – Setting


Start Menu with published Application’s


Outlook 2007/2010 – side-by-side


RSAT – Remote Administration Tools for Windows 7 RC

May 21, 2009

If you are already testing the Windows 7 / 2008 R2 release candidate you can get the remote administration tools for managing Windows Server 2008 R2 (core R2) roles and features you can download the RSAT tools here :