Jun 142010

Application pool password “recovery” possibility removed from SharePoint 2010

 

As some of you may know, in SharePoint 2007 it was possible to get the username & password for the application pool identity by deploying a webpart with a small piece of code as shown in Tobias Zimmergren's post here. This post showed us the need for running a least-privileged installation in SharePoint 2007 because this password was stored as plain text.

 

So I thought I’d try this out for SharePoint 2010 and what do you know, it doesn’t work anymore. Microsoft clearly saw this “bug” and resolved it by making sure the app.Password method can’t be called directly in code. If you need the password I think you’ll still be able to get it but not as plain text to be shown for the whole world to see.

 

If anyone does find a way around this and it’s still a bug, feel free to comment!

 

Gr

Tom

Published: 6/14/2010  3:38 PM | 0  Comments | 0  Links to this post

Jun 112010

Options for running 64-bit VPC (.vhd) from Windows 7 (non server OS).

 

If you’re working with SharePoint 2010 images you are aware that these need to run on a 64bit  system. Now the problem is that Microsoft’s own Virtual PC software does not support 64bit images, so Microsoft has Hyper-V for this (only available in Windows Server).

 

Now if you want to download and run SharePoint images provided by Microsoft they will have .vhd hard disks which run a 64bit OS and as not everyone is running a Windows Server instance on their machine you won’t have Hyper-V to run these.

 

Here are at least some of your options to get past this problem without installing Windows Server on your machine.

 

1. Converting your virtual hard disk

 

Now there are tools to convert .vhd disks to .vmdk and the other way around such as “StarWind V2V Image Converter”. So in our case you convert you’re .vhd file to a .vmdk file which you can then run with VMware player which does support 64-bit OS. I’ve tried this and it does work but it sure takes a long time, time you possibly don’t have…

 

2. Free 3rd party software that runs both .vhd and .vmdk and supports 64-bit OS.

 

I’ve now found a great piece of software called “VMLite Workstation” which is completely free and available for download after registration. This tool allows you to create virtual machines from almost any type of hard disk (.vhd - .vmdk - .vdi - .hdd) and multiple OS’s including 64-bit.

 

This way you just download the hard disks in .vhd format from Microsoft and create a new Virtual machine with VMLite and you’re working in 5 min’s!

 

http://www.vmlite.com/

 

Hope this saves you some time!

 

Gr

Tom

Published: 6/11/2010  2:44 PM | 0  Comments | 0  Links to this post