You can use the gpedit.msc solution if you have Windows 7 Pro, Ultimate, or Enterprise. The Group Policy Editor is not included in Windows 7 Home Premium.
As suggested by that article, in my Win 7 Pro system, the entry is "Desktop Gadgets" rather than "Windows Sidebar" and you might have to configure both "Turn off desktop gadgets" and "Turn off user-installed desktop gadgets"