Dear miamikk,
Don't bother with this error CWmi::Connect(): ConnectServer(Namespace) failed. - 0x8004100e), You have a WebDav issue.
Just follow the steps provided in this link.
http://www.windows-noob.com/forums/index.php?/topic/490-how-can-i-configure-sccm-2007-sp1-in-windows-server-2008/
Don't Forget to mark this as an answer if you find it Helpful.