After install SharePoint 2013 standalone in a Windows Server 2008 R2 SP1 and launch the SharePoint 2013 Products Configuration Wizard, I got a failure in the step 8 when creating sample data.
System.ArgumentException: The SDDL string contains an invalid sid or a sid that cannot be translated. Parameter name: sddlForm at System.Security.AccessControl.RawSecurityDescriptor.BinaryFormFromSddlForm(String sddlForm) at System.Security.AccessControl.RawSecurityDescriptor..ctor(String sddlForm) at Microsoft.SharePoint.Win32.SPNetApi32.CreateShareSecurityDescriptor(String[] readNames, String[] changeNames, String[] fullControlNames, String& sddl) at Microsoft.SharePoint.Win32.SPNetApi32.CreateFileShare(String name, String description, String path) at Microsoft.Office.Server.Search.Administration.AnalyticsAdministration.CreateAnalyticsUNCShare(String dirParentLocation, String shareName) at Microsoft.Office.Server.Search.Administration.AnalyticsAdministration.ProvisionAnalyticsShare(SearchServiceApplication serviceApplication)
After googling a bit, I found this article that provides a workaround to solve the error.
Basically you must to share the folder located at
C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\Analytics_<guid>\
and then re-launch the SharePoint 2013 Products Configuration Wizard again and this time the setup will be successfull.
NOTE: For SharePoint Foundation 2013, that is my case, the folder to share is
C:\Program Files\Windows SharePoint Services\15.0\Data\Analytics_<guid>\
Thanks to the author for the article and hope you find this useful and prevent you to waste hours trying to solve the issue.