Contents tagged with Windows Vista
I thought I should share my experience on working with SharePoint 2010 development on Windows 7. My previous posts on installing SharePoint 2007 on Vista and Windows 7 are posts that are quite popular. The downside with the “old” SharePoint version is that it was not officially supported to install it on a client machine, but SharePoint 2010 is supported for installation on Windows 7 and Windows Vista SP1 for development purposes.
There are many opinions on having SharePoint 2010 installed on your client OS. Some thinks it is despicable, but I think it is great and I’ve used local installations for years now. It’s perfect for rapid development, testing and demos. In seconds you can spin up a site and show some basic stuff for a client. Of course I use virtualization when testing my final bits etc.
Benefits and drawbacks
Having a local installation have several benefits:
- You are running on the metal – i.e. no virtualization layer
- If you don’t have more than 4GB RAM then virtualization will be really slow
- Visual Studio 2010 heavily uses WPF which requires a lot of your GPU. The virtualization layer will degrade the WPF performance
- You don’t need to spin up and shut down VMs
- Saves you a lot of disk space – one VM requires at least 20GB
Of course there are drawbacks. I would never go from developing on a local installation to production. Always test your code on a server OS!
SharePoint Foundation 2010 on Windows 7
I have installed SharePoint Foundation 2010 on my Windows 7 machine. I did not go for a full SharePoint Server installation. Most of the development can be done towards SPF and it makes a minimal impact on my client OS. But perhaps I go for a full SPS 2010 install once we have the final bits of it in June.
MSDN contains instructions on how to install SharePoint 2010 on a client OS, you need to extract the setup files and make some changes to the setup configuration file. With SQL Server Development Edition installed on my machine I installed a Server Farm, i.e. not the Standalone configuration. I also used domain accounts when I installed it, which required me to be connected to the domain during installation.
After the installation I’ve changed all SharePoint Services and SQL Services to be manually started to save some boot time. Emmanuel Bergerat has a great post on how to create Stop and Go scripts with PowerShell so that you quickly can start and stop all services. Starting these services and warming up my sites takes about 2-3 seconds on my machine equipped with an SSD (best gadget buy of 2010!)
Visual Studio 2010 RC and Team Foundation 2010 Basic
I use Visual Studio 2010 in combination with a Team Foundation Server 2010 Basic installation on my local machine. Using a local install of TFS is something I really recommend – never loose any of your local projects or files.
Visual Studio uses the GPU a lot so you will certainly have a better experience running without a virtualization layer. F5 debugging is no pain, it just takes a second to compile, package, deploy and start Internet Explorer.
If you have not tried to install SharePoint Foundation 2010 on your Windows 7 then stop reading right now and do it! It will increase your productivity immediately. The experience is awesome and together with RC of Visual Studio 2010 it’s just amazing.
Here is a tip for you Codeplex users out there.
If you are using the Visual Studio and the Team Foundation source control then you are prompted for username and password every time you open up a project. This dialog does not contain any functionality to store the username and password. If you are often opening projects and/or switching projects entering usernames and passwords can get annoying.
The Credentials Manager is found in the Control Panel, just search for it. To add a username and password all you have to do is click on Add a Windows credential and then enter the name of the Codeplex TFS server (tfsXX.codeplex.com) and then you username and password. Click Ok and then fire up your Codeplex solution in Visual Studio and you are ready to get back to coding!
Until next time...
I made some updates to my Windows Search Index Tool so it also displays all the inclusion and exclusion rules and even functionality for adding and removing rules. So now you can easily exclude folders by creating a rule like this:
On the Rules tab, click on the Add button. The button should only be enabled if you are running in elevated privileges on Vista. Enter the pattern, like the image shows and choose if it is an inclusion or exclusion rule and hit Add.
Note: Only do this if you are sure on what you are doing!
You can download the Windows Search Index Tool here. Update: link is now correct
I recently had some problems when my index suddenly was corrupt and I had to restart indexing all files, which takes a long time if you are using your computer and do not want it to interfere with your work. Somehow it started working again but I have not been able to get it to index up all my files, there are always files left to index.
To find out what’s going on and why it sometimes takes so long to index files I whipped up a small tool to help me out in my investigations, which I now I’m happy to share. I still have to do some investigation on why I still have a lot of files that don’t index and it looks like it is the Internet Explorer history, which of course changes all the time…
Anyway, here is the tool for you to grab, just download the ZIP file and unpack it and run.
The tool will show you your current Windows Search status and how many files there are in the index as well as how many that there are left. To see what’s currently indexing you have to run the program under elevated privileges or click the Elevate button (on Vista only).
The tool displaying that the index is paused due to low battery The index tool shows that a full crawl is done, but the current indexed file is not shown The current file being indexed is shown after the Elevate button is pressed
The tool also shows you what your current scopes are. You have to option to select a file and verify that it is in the index, and it will also show you why it’s indexed.
Hope you like it and please share your comments…
Note: I have not tested this anymore than on my Vista SP1 machine running Windows Search 4 and I do not guarantee anything…
Everybody has something to say about Windows Vista, good and bad. Most often I hear complaints and especially on the User Account Control. Today the Swedish IDG website had an article about the 10 most annoying things with Vista and how to solve them, and of course one of them was about the poor UAC.
I must say, and I have been using Vista since before RTM, and only found the UAC annoying during the first few days, when installing the machine. Since then I barely notices it – and if I do, I know why and I can feel more safe using my machine.
The User Account Control was not thrown into Vista just to cause warning dialogs whenever you do something that you should be careful about. It is put there to make you aware of that you or an application is making changes to something that may have an effect on your machines configuration and/or security.
During your initial installation and configuration phase with your Vista machine this may of course be annoying since you are doing a lot of installs and configurations, but during normal usage you should not see it at all. I see the UAC dialog about twice a day on my laptop which I use for developing and this is when I start the necessary services (like SQL Server, which I have set to manual startup) and when I start Visual Studio for doing SharePoint development (I have installed WSS on my Vista). Then once in a while UAC is shown when I install/uninstall some new applications. At home on Media Center I have not seen it in ages.
I’ll just turn it off
Most Vista UAC tips and tweaks states that you should turn the UAC off and so did the article I referred to. This is a completely working solution – but I do not think that it is any good solution! Anyone recommending this solution should immediately quit their jobs and do something else.
We Windows users have had some rough years prior to Vista with viruses, Trojans and worms infecting Windows machines due to bugs in applications and uncareful clicking on mail attachments. Recommend to turn it off will set us back a few years…but it’s up to you.
Running all programs as administrator is just plain dumb. What other modern operating systems are recommended to run as administrator or root?
The UAC is designed to be annoying
Yes it is! If it wasn’t annoying then you wouldn't notice it – and it would not make any sense having it. The UAC is not designed for power users, it is mainly designed for normal Vista users, like my mother for example. I have previously helped her with removing stuff from her machine that she had no idea that she installed. Now with Vista and UAC I have not had the “pleasure” of that.
As a power user, who often tries new programs, I will be aware of when a program tries to write to the system folders or registry and I can allow or disallow it.
I think UAC is here to stay. Hopefully Windows 7 may contain some tweaks to make it more responsive, since starting the Task Manager with elevated privileges during a 100% CPU usage really sucks.
Once upon a time Microsoft decided to give the users of Windows Vista the opportunity to buy an extra expensive version – called Vista Ultimate. Buyers of this version would eventually get some nice and exclusive content and applications to their sweet new operating system. Microsoft did deliver some nice enhancements such as animated backgrounds and new sound schemes – certainly worth the extra cost.
As time went on people waited for the real Ultimate Extra to be delivered…
Let’s stop this nonsense and cut the the point...
Yesterday Microsoft released a couple of new extras. Not the big deal yet, but for once something really funny – a new game called Microsoft Tinker. A sweet little game where you should move a robot around a course with as few moves as possible and as fast as possible. It’s pretty funny and amusing.
If you have Windows Vista Ultimate, head on over to Windows Update and get it.
Two other Ultimate Extras was also available: a Tinker sound scheme and a new DreamScene Content Pack (#4).
It’s summer and time for some vacation, finally. This year has been hard work so far – and I don’t expect it to get lighter this upcoming autumn and winter. I’ve had fun though!
Microsoft SharePoint has really been one thing occupying my work – it feels like everyone is not just looking at SharePoint, they want to use it now! We have a couple of cases that is really interesting and I hope that I have convinced them and proposed a nice solution.
About half a year ago, I predicted about 2008, half of them has come true; Windows Vista Service Pack 1, Internet Explorer 8 (only beta so far), nice parental leave (you bet) and OOXML ISO approval (not quite there yet, but anyway's).
Some things are yet to come, I hope; XPS submittal to ISO, time over for msfeedicon (sorry about all you out there waiting for it – but I have some plans…), testing new Media Center (this one could come true any day, Fiji is in private beta) and upgrading customers to Windows Server 2008 and SQL Server 2008.
I would like to add some new things to the list; Townsquare (this could really turn the heat up), PDC 2008 (I really hope I can go there) and Windows 7 beta (or as it might turn out to be Windows Vista R2).
That’s all for me for now, don’t expect to much blogging over the next few weeks…
Microsoft recently released the Origami Experience 2.0 for Windows Vista, download it here. This is an update to the Microsoft UMPC interface. The Origami Experience is designed for small screens with touch-capabilities, but after just trying it out on my laptop with Vista Ultimate I figured – some of these features would fit into the Media Center interface perfectly.
There are a lot to say about the Windows Media Center interface, I think it is quite good – needs some fixes though; why are films divided in three categories – Videos, Recorded TV and DVD’s? The media features in the interface are quite good, but in our family we have a Media Center in our living room and we quite often use it to browse the Internet or run other programs. That’s where I can see a great marriage between the Media Center and Origami interfaces.
Origami Experience 2.0 contains two interesting features; Origami Now and Origami Central.
The Origami Now application is a dashboard application in which you can create Tiles. Each Tile can contain a list, an RSS feed, your e-mails etc.
I can really imagine how this would fit into the Media Center interface; your Tiles would consist of recently recorded shows and images, scheduled recordings, TV-guide etc together with the Origami Tiles. Then you would have a really nice Media Center Start Page, instead of the kind of boring Media Center Start there is today, see below.
In Origami Central you can start programs, listen or view your media, read your feeds or surf the Internet, in a very user friendly manner. Take a look at these screenshots.
I especially like the browser and feed interfaces, which are two features that should have been in Media Center by default a long time ago.
Of course, it is all touch screen oriented. So currently there is no good way to have this running on a Media Center machine, since you need a mouse or a “touch screen flat TV” :-), you can’t use the Media Center remote control to navigate easily. But I guess Microsoft could fix this pretty easy, even if it’s not integrated into Media Center you should be able to navigate the Origami applications using arrow keys…
So, I know there are some Microsofties who are reading this blog, please forward this post to your colleagues in the Media Center Team and have them arrange a meeting!
I know that the “Fiji” testing has begun, and unfortunately I have not yet made it into the program so I have no clue if these issues already has been addressed in upcoming versions of Windows Media Center.
Yes, you heard it right - now you can install Windows SharePoint Services 3.0 on Windows Vista! No need for a Windows Server 2003/2008 or virtual machines, remote debugging or any other weird workarounds!
Jonas Nilsson of Bamboo Solutions has come up with a way to allow you to install WSS onto a Vista x86/x64 machine using a special installer file. The post contains detailed instructions on how to install WSS 3.0 or MOSS 2007 on any Windows Vista machine with IIS7.
This is a dream come true for me, and will save me and my clients a lot of time, so I had to give it a try directly (pretty tired after a nice weekend in Rome with my wife).
The installation was quite easy, if you follow the instructions. I stumbled upon a problem while configuring the IIS 7; WSS need the IIS 6 Management Compatibility features to be enabled to install successfully, which I hadn't. Vista gave me some headache while trying to install this optional feature, since the Windows feature list was empty (see the left image below). I had to do chkdsk /f and a sfc /scannow to fix this. Then I could install the IIS 6 features (which was the procedure which took the longest time of the whole installation).
After that configured and done, everything went smooth and I had everything up and running within a few minutes...
SQL Databases created locally:
Windows Services running:
Central Administration running:
Thank you Jonas!!!
Author, editor and blogger, Ed Bott is currently publishing a series called Fixing Windows Vista, which contains really nice information and instructions on how to get the most out of your Vista machine.
Currently three parts has been published:
Ed Bott shows how to install a clean Vista with the latest drivers (which is the most important thing on any Vista system) on a Sony Vaio.
The User Account Control, UAC, has been one of Vistas most discussed and mocked features. I think it is a great feature, but it could of course be tweaked a little more. Until recently I only had one annoyance with the UAC and that was when I wanted to use the Task Manger and show all processes. To do that with UAC enabled you had to click Ok in the consent dialog. Of course when you need this your machine is working heavy and it all takes a long time to show the consent dialog and the secure desktop. Ed shows here how to solve these problems by creating a shortcut to a Task Manager that starts with showing all processes without the UAC, using the Scheduled Tasks. He also has instructions on how to disable the secure desktop.
If you try the Scheduled Task trick, and your shortcut does not work try to use this command line instead, notice the slash before the task name.
C:\Windows\System32\schtasks.exe /run /tn “\Task Manager wo UAC“
The latest part covers how you can use the built-in tools in Vista to identify your bottlenecks, such as the Task Manager, Resource Monitor and the Windows Experience Index.
As always it's all about the drivers...