You can use the scripts from here. Its simple registry scripts, that either disable Libraries in Windows 7, or only remove Libraries icon from Windows 7 Explorer, or restore to default settings.
Tested on my machine and it works fine.
Found on askvg.com