Thursday, October 31, 2013

Backslash i Cord på norsk Mac

(How to get a backslash in Cord on a Mac with a norwegian keyboard layout - in Norwegian)

Tasten til høyre for ?-tasten gir deg backslash på norsk Mac.

Den kan iflg. mange nettfora nås via Alt-Shift-/ eller Alt-Shift-7, men dette fungerer ikke i fjernstyringsverktøyet Cord. I Cord er ofte backslash nødvendig for å få logget på et domene når man fjernstyrer en Windows-PC (man må typisk skrive domenenavn\brukernavn)

Sunday, October 6, 2013

Converting physical computer to virtual: Bluescreen

I have finally taken the leap and upgraded my trusty but painstakingly slow Windows Vista computer to Windows 8. I wanted to do a fresh install, but it is always nice to have a path back to using the old OS in case something goes wrong with the new installation. What better choice than doing a conversion of the physical Vista computer to a virtual one (a P2V)!

The free VMware vCenter Converter specializes in just that - it is an easy download and run application (the documentation is also good, but you won't really need it).

Caveat: Your only option is to do a full copy of your disk volume, which means you really need an extra disk drive of some kind (I used an external one) with at least the same amount of free space as the total capacity of your physical disk with all its partitions. It is fast however - a couple of hours was all it took to clone my 160 Gb drive - fully acceptable.

I went with all recommended/standard options and chose a VMware Workstation or other VMware virtual machine as the destination type, since I wanted VMware Player to handle the computer from inside my new Windows 8 after the installation.

Problem: The first conversion failed at around 96% with an error message stating that it could not update drive letters. However, the virtual disk and the .vmx file was already there, so I went ahead and tried to boot it from VMWare Player, making sure the network interfaces on the toolbar were all turned off to avoid the physical computer and the virtual one to find each other. Of course, the VM would not boot, but went into the bluescreen of death (BSOD) after the initial progress bars.

Cause/Solution: One of the recommended settings was to use SCSI as the virtual disk controller. On a second conversion attempt, I only changed this to IDE (corresponding to the physical controller in my computer). Another couple of hours later, my VM was ready and booted fine.

Wednesday, September 11, 2013

TFS 2012 authenticates trusted domain users, but not groups

I am configuring my first Team Foundation Server (TFS) 2012 in a domain we can call TFSdomain, that has a one-way trust to another domain where most users will access TFS from, let's call it the UserDomain. I tried to add UserDomain\Domain Admins to the Team Foundation Administrators group to let one of the group's users, UserDomain\Administrator have access to the TFS Web Administration. It did not allow access.

The UserDomain\Domain Admins is also a member of the local BUILTIN\Administrators which is a member of the Team Foundation Administrators group. This gives access to TFSdomain\Administrator, but not to UserDomain\Administrator.

I then added UserDomain\Administrator directly to the Team Foundation Administrators and tried again. Now I was allowed access as expected.

I then noticed the icon of the UserDomain\Administrator entry in the Team Foundation Administrators group. It shows the icon for a single user - not for a group. It is also not possible to see group members from the TFS Administration Console.


Have I discovered a bug in TFS 2012, or is there some other reason for this behavior?