There was an error with Userunit.exe . This had to do woth file permission settings on the C drive. After I changed the settings to Everyone (full access) windows was working again. Very strange because WinXP was working without any problems with the settings which I had before.
