App-V : Remove all OS-nodes from all OSD filesApp-V : Verwijder alle OS-nodes uit de OSD files

If you want to remove the nodes from all of the OSD files at the content share at once, you only have to run this PowerShell Script.

$ContentPath = "D:Content" 
$dir = Get-ChildItem $Contentpath -recurse -include *.osd

foreach($osdfile in $dir) 
{ 
    [xml] $xmldoc = New-Object XML 
       $xmlDoc.Load($osdfile) 
    $nodes = $xmlDoc.SelectNodes("/SOFTPKG/IMPLEMENTATION/OS") 
    $root = $xmlDoc.SOFTPKG.Implementation

    foreach ($node in $root.OS) 
    {        
        [void]$root.RemoveChild($node) 
    } 

    $xmldoc.save($osdfile)

Als je in een keer de nodes uit alle OSD files in de content share wilt verwijderen, hoef je alleen maar onderstaand script uit te voeren.

$ContentPath = "D:Content" 
$dir = Get-ChildItem $Contentpath -recurse -include *.osd

foreach($osdfile in $dir) 
{ 
    [xml] $xmldoc = New-Object XML 
       $xmlDoc.Load($osdfile) 
    $nodes = $xmlDoc.SelectNodes("/SOFTPKG/IMPLEMENTATION/OS") 
    $root = $xmlDoc.SOFTPKG.Implementation

    foreach ($node in $root.OS) 
    {        
        [void]$root.RemoveChild($node) 
    } 

    $xmldoc.save($osdfile)

P2V Migration with MDT 2010

With the Microsoft Deployment Toolkit it was a piece of cake to deploy your machine with Windows XP, Windows 7 or even Windows Server 2008 R2. From now on it is also possible, with a MDT 2010 Add-on, to P2V your existing Windows XP, Windows Vista and even Windows 7 machine. Only (for now) the 32-bit version of these operating systems can be P2V’d. A virtualized version of the operating system can be used as a virtual machine inside your 32-bit or 64-bit Windows 7 machine.

The P2V Migration add-on is still in the beta stage right now, but because this add-on can be another positive vibe to (finally) migrate to Windows 7 I really would like to share it with you.

Continue reading “P2V Migration with MDT 2010”

Windows 7 RA vs. VNC Viewer

A customer came to me with the question which of the two does a better job for delivering remote assistance to the end-users : the built in remote assistance function of Windows 7 or the (3rd party tool) VNC Viewer. Because I’m a big fan of the Request Remote Assistance function in Live Messenger for supporting friends and family with their computer issues I advised them to use the default remote assistance.

image Continue reading “Windows 7 RA vs. VNC Viewer”

How-to Register for Windows Intune (from outside the USA)

image 

Microsoft made the beta version of Windows Intune available earlier today. Too bad it’s only available for participants in the USA, Canada, Mexico and Puerto Rico. I was curious if you really have to be in one of the countries physically or if a ‘American-oriented Live ID’ will do. (This how-to is still a bit of work in progress)

Continue reading “How-to Register for Windows Intune (from outside the USA)”

Excel 2010 x64 Compile Error While Opening XLS Which Uses 32-bits LIb

Just opened a Excel Sheet (Created with Excel 2003) in my 64-bit version of Excel 2010 (beta) and received the following error : Compile Error : The code in this project must be updated for use on 64-bit systems. Please review and update Declare statements and then mark them with the Ptrsafe attribute.
I never received such an error (maybe because Excel 2010 is the first 64-bit Excel?), so I started to feed Google a part of the error message. The first hit brought me the solution.

So I added the PtrSafe attribute to the Declare function which changed the lines in this : Declare PtrSafe Function….. After I saved the sheet, closed it and reopened it again..the error just disappeared!

Having Troubles Activating Office 2010 Beta?

image6[1]

I’ve been a user of Office 2010 since I received the invitation for the Technical Preview. So when I heard that I could download the Beta version of Office Professional Plus 2010, I checked TechNet right away and downloaded the 64-bits version (I was also using the 64-bit Technical Preview version).

Because I had Outlook configured with Exchange, etc I tried to ‘upgrade’ my Technical Preview version, but that one failed. A message appeared telling me that I had to uninstall all the previous versions of Office 2010 before I could install the beta version. So I did…

Office 2010 Beta was installed in a few minutes, but when I launched Outlook I ran into some issues (probably because of the Technical Preview key that was still in place?) with the product key. The following message appeared :

When I pressed the Change Product Key button to enter the Beta key I received from TechNet nothing happened! I found out that when I start Excel (or maybe any other Office app) and clicked the Change Product Key a change product key screen appeared (see image below) and I was able to activate Office 2010!

 
Now I could enter the key and click Continue to apply the changed product key. Strange enough Office 2010 didn’t go online and activate immediately, but when I restarted Outlook the activation wizard appeared and when I tried to activate Office 2010 it just activated fine!

How-To Use : Windows 7 USB/DVD Download Tool

image

Buy and Download
If you want Windows 7 you can not only buy the physical media in the store of your choice, but you can also buy (and download) the ISO files at your online Microsoft Store! In an earlier blogpost I described how you can create a bootable USB stick to install Windows 7 from.

To help everybody out who isn’t technical enough to run diskpart and make a bootable usb stick from the command prompt Microsoft created a tool : Windows 7 USB/DVD Download Tool. With this tool the only thing you have to do is to download the ISO and the tool. With a few mouse clicks you create a bootable USB stick from the downloaded ISO file!

Click Read More to see how the tool works!

Continue reading “How-To Use : Windows 7 USB/DVD Download Tool”

How-To Register For MS Office Web Apps

image

Just earlier today Nick Simons announced on the Office Web Apps blog that they’re expanding the Office Web Apps Technical Preview! So if you want to try the new Office Web Apps….just click here to sign-up.

Note : If English isn’t the default language in your Internet Explorer and you receive the error below, just set English to your default language. IF you’re not sure how you have to do this, just read the instruction below.


The item can’t not be found error message in Dutch.

Change your default Internet Explorer language
To change your browser language open Internet Options in Internet Explorer and click Languages (on the bottom of the dialog screen)

Add English (United States) [en-us] to the list and be sure that English is the first in the list (see image below).
image

Close the browser (very important!), reopen the browser and click the link again. User the Windows Live ID you want to use for Office Web Apps and you should now see the License Agreement. Accept it and you’re ready to use Office Web Apps.

How-To Pin The Windows 7 Recycle Bin To The Taskbar

Recycle Bin Leeg 

Ever since I’m using Windows 7 with the new taskbar (or the so called Superbar) I was wondering why it isn’t possible to simply pin your Recycle Bin to the taskbar. If you try to pin it to the taskbar it is just added to the existing Libraries/Explorer pinned application (see image below).

image

It is possible to pin the Computer icon to the Windows 7 taskbar, so I imagined that it it probably should also be possible to pin the Recycle Bin to the taskbar the same way. I did some research and….it is possible!

Just follow the steps below to pin the Recycle Bin to your Windows 7 Taskbar.

  1. Right click on the desktop and select New –> Shortcut
  2. Enter the following info in the Type the location of the item: field : %SystemRootexplorer.exe /E,::{645FF040-5081-101B-9F08-00AA002F954E}image 
  3. Click Next
  4. Enter a name for the shortcut (Recycle Bin for example :-))
    image
  5. Click Finish. By default the new created Recycle Bin icon isn’t the correct one. We’ll change it in the next few steps.
  6. Right-click on the just created icon and select Properties
  7. Click Change Icon
    image
  8. Enter the following location in the Look for icons in this file : %SystemRoot%system32SHELL32.dll
    image
  9. You can just select any icon you like, but the original Recycle Bin icon is also available. Select an icon and click OK
  10.   Click OK
  11.   Now just drag the just created shortcut to the taskbar to pin it there.
    image
  12.   Done!

WordPress Widget : WebSlice Recent Posts

With this plugin you can make your website/blog WebSlice-proof. I see you thinking, wtf is a WebSlice? It’s a feature of the new Microsoft Internet Explorer 8! A really cool feature I think.

Just visit this Microsoft webpage to read all about the WebSlice functionality in Internet Explorer 8.

How do I use/install the plugin?
To install the plugin, just download it, extract it and upload the webslice-recent-posts folder (and it’s content) to your website’s wp-adminplugins folder and enable it through your own WordPress Dashboard.

To use the plugin with your website just add the WebSlice Recent Posts widget to your sidebar. The functionality is exactly the same as the default Recent Posts widget, but with the WebSlice functionality!

Note: It’s my first WordPress plugin, so please be nice if you leave a comment.

Download WebSlice Recent Posts