SharePoint 2013/Server 2012 Install Issues

Today I installed SharePoint 2013 on a Server 2012 server and ran into a couple errors. The first was that the IIS configuration failed. This ended up being because .NET 3.5 was not able to be installed. This is an error that spans Server 2012 and Windows 8. The solution is to mount the install media and type the following in a cmd window

dism.exe /online /enable-feature /featurename:NetFX3 /Source:D:\sources\sxs /LimitAcces

Note: your source drive letter will depend on what drive the media is in or mounted too.

http://social.technet.microsoft.com/Forums/windowsserver/en-US/5a786052-38a1-46f9-add2-e6487bc6a8aa/net-framework-20-and-35-feature-install-fails-on-windows-server-2012-rc

The next issue I ran into was that when I clicked on set up, after installing the prereqs I was told that the server needed to restart. The solution to that is…

1. Open Regedit. Click File Export (you ALWAYS want to backup your registry this way prior to making changes)

2. Find the key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager”.

3. Rename the “PendingFileRenameOperations” value to “PendingFileRenameOperations2”.

Once I renamed it, the install could continue.

http://social.technet.microsoft.com/Forums/sharepoint/en-US/14620c85-3c43-4c24-8471-fa30c34c85c2/constant-server-restart-pending-whenever-i-try-to-install-sharepoint-server-2010-beta