Welcome wonkydonk,
I do not know why you got this error, there are no worries on the previous lines

Try again please, I can not reproduce and It works without problem for others.
......
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",{374DE290-123F-4565-9164-39C4925E467B},X:\Users\Default\Download
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Start Menu","X:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",Programs,"X:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs" <== the error !!!
ps: for the next time directly share the log in HTML, it is easier to read
