Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 10672

Windows Explorer Displays Redirected Folders as a Different Name

$
0
0

Hi Guys,

Windows 2008 and Windows 2008 R2 has this new feature where it displays folders in which you have ownership of as "Documents" or "Start Menu" for Folder Redirection.

This only renames it when browsing it through Windows Explorer (explorer.exe).  If you browse the folders through a command prompt using DIR, it will display the correct name... %username%.

I think Microsoft did this to make it more user friendly, but HOW DO I TURN IT OFF its annoying!

I wrote this program in visual basic that takes ownership of a folder, Grants Administrators, SYSTEM and %username% full control.  It grabs %username% from the folder name as ususally with redirection the folder in which the data is redirected to = %username%.  After setting the permissions correctly the program then gives ownership BACK to the user.

Anyway upon running my little application... look what explorer did.  I had Ownership of the folder for a split second before the application gave ownership back.  Because of this when I opened up the folder Explorer populated many of the folders as "Application Data" when they should be displayed as %username%.

Even though the user now has ownership of the folders now, it still displays them as Application Data!  If I log into the file server as another user account, it displays them correctly.  Explorer is caching this meta data under the users profile somewhere.

There is NO information on this on the internet.  Can someone at Microsoft give me some information to turn this functionality of explorer.exe off or tell me where this meta data is stored so I can blow it away without having to re-create the entire profile?


Clint Boessen MCSE, MCITP: Messaging
Perth, Western Australia

Blog: http://clintboessen.blogspot.com/

Viewing all articles
Browse latest Browse all 10672

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>