Tag Archives: windows

Windows 8 Consumer Preview in VMWare Workstation

Checking out the new Windows 8 Consumer preview!
Installing in a VM on a host with Windows 7 and Intel Core i7.
Downloading the x64 English version from here: http://windows.microsoft.com/en-US/windows-8/iso
“To snap apps, you need a screen resolution of at least 1366 x 768” so I guess I better increase the resolution! Went with 1680×1050 which seems like an arbitrary number but with the highest (1920×1080) the text was blurry.

Could not detect which OS was on the disk, set it to Win7 x64. 4G RAM and 25G disk.

There’s a funny fish shown during first install.

After this, enter language and hit install, enter license key, custom install, use all disk.

This appears to be the current loading screen while the computer is booting too :)

After windows boots you get to decide hostname, enter your windows account, make some settings if you want to update drivers, safety filters. You can enter some extra security stuff (e-mail, alternative e-mail, security question).



To get to settings move the mouse cursor down to the bottom right corner.

A task bar is available if you move the cursor to the left top corner of the screen.

Xbox games doesn’t work (not allowed to sign in from my region).

Pinball FX starts but it’s lagging, a lot. But, if it’s slow just hit the windows key and you’re back to the block(s). In the end it doesn’t work either.

There’s a messaging square where you can add facebook, there’s also an e-mail square where you can add gmail.

Weather shows temperature as Fahrenheit, even though all my settings in control panel are set to Sweden/Swedish.

So I put some music on the skydrive, and then started it (whereupon it downloads the song). It then starts up a media player that takes up the whole screen. You can tell that this is meant to be used for a tablet where you don’t want clutter or where you want it to look nice.

Also, you go to settings to turn it off.

Ubuntu Server + VMWare Workstation

0/ Have your own virtual machine in your desktop is not hard!

0.1/ Some Terminology

  • OS – Operating System
  • Host OS – Underlying OS – in this you install VMWare Workstation.
  • Host needs to be stared for the guest to be able to start.
  • Guest OS – The extra OS you install inside the host or in VMWare Workstation.
  • VM – Virtual machine.

1/ Pre-install

1.1/ Storage space, memory, CPU

What do you want to do?
Do you have enough of it?
My desktop has an Intel i7-920, 8GB RAM and two 500GB hard drives.
Generally when testing I would give it 1GB or maybe 2GB for Windows. This can be decreased later if you feel the need.
You can also increase storage, memory and CPU after you create your virtual machine.
It is easy to create a new virtual machine so do not worry if you make it too small or too big.

1.2/ Network setup, LAN, Bridged, Hidden.

Do you want to be able to access your VM from your LAN, Internet or do you want a completely private network between your virtual machines?

Especially if you do set up a Windows guest OS (perhaps to use as a client in your test environment) please do remember that before you connect it to the Internet (to install patches etc) you should definitely think about installing an anti-virus solution on it.
I recommend Microsoft Security Essentials (MSE) – it is free and takes up little resources.
I read recently that the time you have until your unprotected computer is infected is about 10 seconds. But if your computer is behind a NAT – broadband router (so it has an IP like 192.168.x.x or 10.x.x.x or 172.16.x.x.x) then it is safer, but not safe from other computers on your network.

2/ Install the OS

2.2/ Download Ubuntu, easy setup wizard

There are two versions of Ubuntu – desktop and server version. If this is your first time with Linux you may be better of starting with the desktop variant. I used the server version (uses less resources – no graphical user interface).

Here is a guide for using the Ubuntu Virtual Kernel with VMWare Workstation.

2.3/ Windows 2008 R2?


3/ Set up management

3.1/ sshd – autostart if you reboot host OS / Windows.

I haven’t managed to set up autostart of the VM when rebooting the OS.
But then again, I do not run “life-critical” services in the virtual machine, just some cheap bash-script and an EyeOS. Not sure if I want to have it autostart, I like to have a fast reboot.

3.2/ Timezone, time.

Quite frustrating, but here is how it worked out in Linux: time-sync-for-linux-vms-in-vmware-workstation

4/ Post-Installation Joy

4.1/ Something simple like screen + irssi

This is really easy to set up.
Basically all you need to do is install these in a Debian style Linux (like Ubuntu):

sudo-apt get screen irssi openssh-server

then start a screen session called chat and the command ‘irssi’

screen -S chat irssi

It then starts irssi in a screen.
You can hit CTRL+A+D (or, CTRL+A D also works) to detach it and get back to the terminal. You can then close the terminal / log off from the server. Next time you log on you can just type:

screen -rdx chat

Irssi is my IRC tool of choice, it’s slim and well, I’ve gotten used to it. It has scripts and you can do encryption and lots of nice little things with it if you want to.

Of course the screen does not resume when you restart the whole server / virtual machine.

4.2 Other ideas:

Red Hat Enterprise Linux in VMWare Workstation.
How small VM can you have for just IRSSI?
File share from Windows to Ubuntu in a VM.
EyeOS – OS in your web browser.

Windows 7 Blank Windows Update Screen

Ever noticed this?

blank windows update

blank windows update

I googled my behind off and saw some posts about registry , re-registering, runing as administrator but any way the last one did not work. A restart do get them back.
Maybe not the most awesome ‘fix’ but I think a restart might be good every now and then for Windows ;)

Spinning Camera in FPS games

Ever experienced this relatively frustrating phenomena?

My setup:

Windows 7 x64 with an ATI Card HD5700 series.
A logitech wireless keyboard+mouse.

Camera just keeps on spinning and if you move the mouse it changes pitch, speed or whatever.

Things to try:

  • Got a joypad/joystick in the vicinity? Plug it out.
  • Got a bluetooth thing and a controller nearby? Disable bluetooth.
  • When it’s spinning you can try plugging out your mouse/kebyoard/joypad to see if it stops then.
  • Update graphics drivers
  • Try with a wire (cheap as you can find) keyboard and mouse.

I had been runnnig synergy for a week or so, this is an application for controlling the mouse on another computer – over your network – by just dragging the cursor to the edge of your screen. Was working fine, I had it running while playing Portal 2, Call of Duty, Crysis. Working fine except that it minimized the game when I was at the edge..

Then I decided to update Windows with Windows Update (bunch of security fixes only..) and new AMD/ATI Drivers for my HD5770 card.

Then suddenly it started (the updates required reboots).

I rolled back driver, unplugged mouse/keyboard, rebooted a couple of times. Went through the windows update. Killed synergy – by default even if you run a program in full screen it will switch over to the other monitor, which is not so awesome because it minimizes games like Portal 2. I scoured the Steam Forums but nothing that helped.

In the end I found a ‘synergys’ process running even though the service was disabled and stopped. To stop it I had to select the “view processes for all users” and then end it.

Then whoop! No more spinning!
I suspect it may have been the same even with the updates if I had just done a reboot.


File share from Ubuntu 10.10 with Windows 7 Client

Figured I would give this a shot and see how this is done in Linux.


1x Ubuntu 10.10 VM in VMWare Workstation. Installed with virtual kernel.
1x Windows 7 VM. All updates.

Not going to go through the installations in this post, just the domain/LDAP part. See previous posts for installation stuffs.

Found this article on ubuntu.com -> -> 10.10/serverguide/C/network-authentication.html .. But this does not exist anymore.

Whoa, quite a lot to do. Think I will read the manuals this time :)

Basically I think I just need to install and then configure Samba.
Because it has file-sharing and authentication/authorization.

So, first step will be to install Samba and try file-sharing.

File Sharing

sudo apt-get install samba

installs these:

The following NEW packages will be installed:
libavahi-client3 libavahi-common-data libavahi-common3 libcups2
libfile-copy-recursive-perl libgnutls26 libldap-2.4-2 libsasl2-2
libsasl2-modules libtalloc2 libtasn1-3 libwbclient0 samba samba-common
samba-common-bin update-inetd

After that I can run \\192.168.0.ip which is the IP of the VM running samba – it gives me a login prompt.

Uncommenting this in /etc/samba/smb.conf

[homes] comment = Home Directories
browseable = yes

Still asks for a password. Tried with user@ip – this seems to work. It shows a directory called “homes” but it doesn’t work to browse into it.

[2011/02/06 16:30:45.949726,  1] smbd/service.c:678(make_connection_snum)
create_connection_server_info failed: NT_STATUS_ACCESS_DENIED

Set ‘share’ and set the guest account = nobody  then I got this:

[2011/02/07 13:22:06.770082,  0] smbd/service.c:988(make_connection_snum)
canonicalize_connect_path failed for service foo, path /mnt/foo

Then what I did was this:

  1. created a directory called /samba
  2. sudo chmod +x /samba
  3. sudo chmod 777 /samba
  4. sudo chown nobody /samba
  5. add this to /etc/samba/smb.conf
  6. [foo] comment = foo
    path = /samba
    read only = no
    guest ok = yes
    guest only = yes
    browseable = yes
  7. security = share
  8. guest account = nobody

And then \\ip\foo and woopsie! I can both write and read :)

[2011/02/07 13:23:14.022980,  1] smbd/service.c:1070(make_connection_snum)
192.168.0.ip (192.168.0.ip) connect to service foo initially as user nobod


Sharepoint – Part 3

The previous posts:
Part 1 – installing Sharepoint 2010 Foundation.
Part 2 – basic features in the web interface.

I said I was going to look into the RSS updates, how to manually edit the database and look into the underlying structure of the Sharepoint. But, only went through the last of the obvious administration tools :p

Other management tools

Under the start menu there are three new programs:

Central Administration –

This opens a page to http://win2k8:48820/default.aspx – I could log on with my extra account (the one with admin/owner privileges).

The sections are:

Application Management

Manage web apps, create site collections, service apps, content databases.

Under Manage Web apps there are some nice stuff you can change on each site. Select the site you want to work on and click on “General Settings”.

The central admin is it’s own site so by default there are two and the changes you make on one does not replicate over to the other one.
For example you can set timezone, resource throttling, outgoing e-mail, workflow, enable/disable some features.

In the bar on the top there is the possibility to change policy settings.

Back one step to App Management there is the possibility to add more databases and database servers.

System Settings

Manage farms and alternate access mappings.
Like adding features and solutions, change outgoing e-mail settings (notifications)

Backup and Restore

What ^^ says.
“To recover the data, use the PowerShell restore command Restore-SPSite.”


Review problems and solutions, check job status.


manage farm admin group and configure service accounts

also you can specify anti-virus settings, block file types, and self-service site creation

Upgrade and Migration

check product, patch and upgrade status
for example you can see what versions you have installed:
I have:

Microsoft SharePoint Foundation 2010  – 14.0.4763.1000
Microsoft SharePoint Foundation 2010 1033 Lang Pack – 14.0.4763.1000
Microsoft SharePoint Foundation 2010 Core – 14.0.4763.1000

General Application Settings

configure send to connections, convert document settings, report services,

Configuration Wizards

none by default

Management Shell

This did not work, gave me this error: “The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.”

Sharepoint 2010 Foundation – Part 2


See the installation guide which I published recently.

This article is a brief look what to do in Sharepoint after it has been installed!


I don’t want to log on with the built-in Administrator account anymore.
Still no AD services installed.
Created a new standard account with no password – could not log on.
Logged on with account and set a password – could log on but

Error: Access Denied

In computer management there are three new groups:
WSS_ADMIN_WPG – write access to “system resources” for Sharepoint Foundation
WSS_WPG – read access to “system resources” for Sharepoint Foundation
Added my new user to both – did not work. Neither did if it’s in “administrators” group.
Then in side the web page, up in the left corner there is something called “site actions”.
Added my new user as a member/contributor” and whoopsie now it can log in!
This account can however not see all the actions under “site actions”.
So put it in the “owner” group – and now the account can see most of the settings.

– Now over to the fun stuff! All the things we can do inside the Sharepoint.

Site Administration

Set locale, RSS (niice! don’t think google reader will work for me), search/indexing (presuming robot.txt stuff), workflow(maybe authoring – reviews etc of documents?)

Site Features

You can create pages (wiki – so Sharepoint is like a wiki as well, never saw that part when I’ve used it before, I’ve only used it to upload documents :) – anyway – nice).
Calendar, lists, discussions, share documents (libraries), tasks, announcements, links, surveys, subsites and workspaces.

Change home page.

Apparently some stuff requires me to install another Software – Sharepoint Designer. Free.

Anyway, you cannot go into pages and then click on Home to edit the front page.
To edit the home page: go to the Home Page click on -> site actions and then Edit Page.

In there it feels free, you can add pictures, write things, change font, size, color, etc and you can drag things around.


Here you can make fancy changes to what appears to be relatively complicated things such as defining content types, columns, templates, themes, master pages (default?) and dom-dom-dom Solutions.

Looksie Feelsie

Here you can change name of sharepoint, customize the menu on the left or on the top (top appears to only be able to give URL:s)

Stay tuned, there will be more things coming about Sharepoint!
I will look into the RSS updates, how to manually edit the database and look into the underlying structure of the Sharepoint.

Sharepoint 2010 Foundation + Windows 2008 R2 + VMWare Workstation


I just write down notes from the installation.
But intended as a guide for how to set up your own sharepoint lab.

Guides and Documentation

Sharepoint server on technet: http://technet.microsoft.com/en-us/library/cc303422.aspx

SQL Server 2008 R2 and Sharepoint 2010 server I downloaded the trial from Microsoft.


VM – Virtual Machine
Host OS – I installed VMWare Workstation on my home desktop, so the Host OS will in my case be Windows 7 as that’s what’s installed on it.
Guest OS – On this host OS I have installed Windows 2008 R2 – this will be running inside VMWare Workstation.
NAT – Network Address Translation


  1. Install VMWare Workstation
  2. Install Windows 2008 R2
  3. Install a client – Windows 7 x64 – or connect from the host os.
  4. Install SQL Server 2008 R2
  5. Install Sharepoint

Windows 2008 R2

Easy Setup may not be the best choice -> when I did it took the timezone I was in and decided that Ukrainian would be a good language.

In the beginning it’s probably best to have the VMs connected to the Internet (so you can apply patches) – setting is called NAT when setting up the VM. I chose 2GB RAM and 40GB disk space (guide says 4GB RAM and 80GB disk).

The password/account you specify needs to meet the Windows 2008 password requirements.

Install patches
Set up remote desktop – so you can connect from your host and connect your host OS local disk drive to the guest OS – good way to share files between them.

I did not read the documentation or find a good step-by-step, figured I would try it out without any of that – this way I would learn better.

Initial Roles

Figured that a domain would be good to start with.

Select AD Domain Services and install. This installed .net 3.5.1 and then asked me to run dcpromo.

DCpromo – new forest – fqdn: guldmyr.lan – forest functional level: 2008 R2. Then it examines DNS configuration, takes forever, probably because I don’t have a DNS server installed. A while later it asks if you want to install the DNS server. Which recommends having a static IP. Changed ip to Then it asks something about delegation, went to next and there you see a summary – with install DNS selected. That went without a hitch. Restarting. You get to set a special AD password as well. Reboot.

To test that the AD was probably installed – you now can either install a new VM with a client to try to log on. Or you can use the remote desktop and authenticate with a domain account. Also a “ping win2k8” or “ping guldmyr.com” showed that dns might be working as well. After the reboot the DNS server in the ipv4 configuration was changed to localhost –

This worked for me with only the above steps – pretty easy!

When I open server manager there are some errors but none seems to awful. There are best practices you can run to improve things / harden the setup – but this is not so important at the moment – I just want to get a sharepoint server up and running.

SQL Server 2008 R2

Installing this package: SQLFULL_ia64_ENU of 1.4GB.
This extracts everything inside and takes roughly 2GB of space.
Turns out the IA64 does not work on an x64 system.
So then I tried to download SQL Express 2008 R2 instead, and it’s free and only 250MB!

Let’s see how this goes :)
Installing this package: SQLEXPRWT_x64_ENU of 250MB

New installation, accept, chose default settings in regards to directories and what to install, named instance – default settings,  Create an account – I named it SQL – click on browse to select it – format is GULDMYR\SQL. Then you get to specify SQL Server Admins. After that it’s installing. Completed without any hitches. Pathces. Reboot.

SQL Server Management Studio – could not connect.

Uninstalling SQL Server 2008 R2. Selected the R2 x64. That took care of most. ALso ENU and native client I uninstalled. Because in the hardware/software requirements this is mentioned Preparation Tool installs “SQL Server 2008 Express with SP1”

Sharepoint Server 2010

Couldn’t install –  error: “installation of this package failed”
Couldn’t extract the file either – broken download. Re-downloaded.

OK, this extracted.
Now it says that the language is not supported.
Stupid Ukrainian.
Reinstalling Win2k8

Reinstalled win2k8 – chose “install OS later” to get rid of the auto-install.
Also changed RAM to 3GB and disk to 40GB (it doesn’t use space until it’s used).

Now all is in English!

Did not install AD services this time.
Did not configure a second account, doing the install with the Administrator account.

Downloading Sharepoint 2010 Foundation instead of the server version.

Selected “install software pre-requisities”.
This installed lots of stuff successfully. Reboot. Install continues afterwards.
Ran installation file again, chose standalone setup. Completed OK.
Then a wizard runs. Completed.

Opens http://win2k8/ – log on with administrator

And now we got a sharepoint!


With the Foundation version there are a minimal amount of settings to configure when following the wizards. No choice in terms of storage, sql server, accounts. Just click-click-click!

Total size of the VM after all this is 13.6GB (14 661 324 079 bytes).

  1. Install Windows 2008 R2
  2. Patch it.
  3. Run Sharepoint 2010 Foundation pre-requisities install
  4. Run Sharepoint 2010 Foundation install
  5. Point your web browser to http://localhost or http://servername. OR http://ip (this will work from the host os).

Next post will be about what to do inside sharepoint!