A while back we had a client that was migrating out of their existing domain and into a new SBS2008 installation. One of the things I learnt (too late) was to disable folder redirection before doing a migration otherwise clients will still point to the old server. Unfortunately I did not have access to the old server/domain but I had got a copy of the redirected folders and thankfully there was no real data on the server to be migrated from the redirected folders.
However to fix the redirected folders I had to use csccmd to remove references to the old server which was easy enough using “csccmd /unpin2:\\oldserver\share /recurse”. I then changed the registry entries in HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ User Shell Folders to point to the new location. This worked fine for every machine except one. This particular machine had a very strange symptom in that when clicking on the Start/All Programs button the machine would pause for about 20 seconds and then nothing would happen (to the end user). Behind the scenes the Start Menu, Startup and Programs entries in the registry would get deleted. I tried to use ProcessMon from sysinternals to monitor the registry setting but I either got too much registry information to work out what was going on or nothing at all (depending on the filters I had applied).
Anyway, yesterday I stumbled across Ramesh’s site which mentioned running “regsvr32 /i shell32.dll”. I tried this, clicked on the All programs and nothing happened – again. I rebooted and the problem persisted. I then ran it again and was about to reboot the machine again when the user logged into the machine so I had to stop work (I was doing all this remotely using rdp). I logged into the machine this morning and checked the registry. Somehow the registry items were no longer blank but were repointing back to the original server. I reset them back to the new locations and now the All programs button works as designed. I think the trick was to run regsvr32 and then reboot before clicking on the All programs button. (Either that or reboot twice and then check the registry settings and correct them)