Folder Sharing

  • Thread starter Thread starter Rick ***
  • Start date Start date
R

Rick ***

I'm the administrator and my wife has a Limited account
on our machine.
I'm trying to set folders to "Make this folder private"
through the Sharing Properties, but it's always grayed
out. Even in my personal Documents folders.

Any suggestions??

Thanks!
 
Hi Rick,

This issue can occur for either of the following reasons:

The folder is not in your user profile (Drive_letter:\Documents and
Settings\User_name, where Drive_letter is the drive on which Windows XP is
installed and User_name is your user name). The Make this folder private
option is available only for files in your user profile (the My Documents
folder and its subfolders, and the Cookies, Desktop, Start Menu, or
Favorites folders).

The Windows folder is located on a drive that is formatted with the FAT or
FAT32 file systems. The Make this folder private option requires the NTFS
file system.

More Information:
http://support.microsoft.com/?kbid=307286
 
As Ramesh said, by default, only folders in the My Documents structure can
be made "private". And as Ramesh pointed out, you must be running NTFS for
your file system.

If you're running XP Pro, in Explorer go to Tools, Folder Options, View and
uncheck Use Simple File Sharing. This option is not available in XP Home.
 
Looks ok, Ramesh. Will have to export that Registry key(s) first, before I
try it though :)
 
Yes Doug, I ve created a folder which contains the undo files. It would be
even more better if I'd included a backup feature which automatically
exports the specific .reg file. Not sure which API / function to use.
 
Ramesh,

There are a couple of options. You can use the SHCopyKey API call, or you
can use RegSaveKey and RegRestoreKey. One note on the RegRestoreKey
routine, the key you're restoring must exist, even if empty for the Restore
to work.

So if you use RegSaveKey to backup

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Then delete the entire Run subkey, you have to recreate the Run subkey
before the RegRestoreKey function will work.

The major difference is that SHCopyKey creates a copy in whatever root and
branch of the Registry you specify. RegSaveKey and RegRestoreKey use a REG
file (that isn't readable by the way) to store the information.
 
Thanks Doug, I will give shlwapi.dll API a try. I prefer SHlwapi functions
and used it earlier for recursive registry key deletion and like it very
much.

BTW, I came across an MSKB article which says deskband wont appear after
creating the necessary keys. I will forward that KB ID to you tomorrow (i'm
at work now). This might help you in the "quick launch bar" project.
Moreover, the registry key for enabling QuickLaunch involves lot of binaries
("implementing" key) .
 
Back
Top