I recently upgraded to the Windows 8 ADK. For some reason I'm getting access denied when trying to run this custom task sequence step and I have no idea why. It always worked before. I verified %OSDSTATESTOREPATH% is set properly just before the command runs.
cmd.exe /c if not exist "%OSDSTATESTOREPATH%" md "%OSDSTATESTOREPATH%"
