That's funny, i just posted a similar script to REMOVE the taskbar on another site, lol, but here's a script to put it back.
Save this code as
RestoreTaskBar.reg Code:
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSetTaskbar"=dword:00000000
"NoTrayItemsDisplay"=dword:00000000
"HideClock"=dword:00000000
"NoToolbarsOnTaskbar"=dword:00000000
"NoTrayContextMenu"=dword:00000000
"NoSaveSettings"=dword:00000000
This will create the directory possibly missing, as well as reset all tasbar items to be viewable.
the last one enables the settings to be saved, if you wish to test this before saving the settings, change it to
00000001.
This will require a reboot to take effect
-Hope it helps!