How to programmatically fight with WPS:Properties of the root directory
The easiest way to clear up problems in a root directory is to erase "WP ROOT. SF". You'll have to turn off the hidden and system attributes and you may have to Alt-F1/boot to a command line to actually delete it (I don't recall). After doing so, you'll have to open this drive's notebook and reset whatever properties you normally change (e.g. sort order, includes, etc). Doing so will recreate this file.
FYI... Root directories have no EAs, so "WP ROOT.SF" provides an alternate means of storing WPS info. The file itself contains the root's .CLASSINFO. Any other EAs that would be attached to a directory (e.g. .ICONPOS) are attached to this file instead.