Jump to content

Disabling Shared Documents Folder in WinXP


Recommended Posts

Hey Gosh - love your .inf guide (It's making our WinXP corporate image look real good). :)

Quesiton: In your options.inf, you have the following:

;Disable Shared Documents folder (Windows XP)

HKLM,"%Advanced%\Folder\NoSharedDocs","CheckedValue",0x00010001,1

HKLM,"%Advanced%\Folder\NoSharedDocs","DefaultValue",0x00010001,1

HKLM,"%Advanced%\Folder\NoSharedDocs","HKeyRoot",0x00010001,0x80000002

HKLM,"%Advanced%\Folder\NoSharedDocs","Type",0,"checkbox"

HKLM,"%Advanced%\Folder\NoSharedDocs","Text",0,"Disable Shared Documents folder"

HKLM,"%Advanced%\Folder\NoSharedDocs","UncheckedValue",0x00010001,0

HKLM,"%Advanced%\Folder\NoSharedDocs","ValueName",0,"NoSharedDocuments"

HKLM,"%Advanced%\Folder\NoSharedDocs","RegPath",0,"%Policy%\Explorer"

How is this different from these - aside from that one is current user and the other is local machine (or am I'm missing something big here)??

HKCU,"%Policy%\Explorer","NoSharedDocuments",0x00010001,1 ;remove shared documents from my computer

or

HKLM,"%Explorer%\MyComputer\NameSpace\DelegateFolders\{59031a47-3f72-44a7-89c5-5595fe6b30ee}" ;remove shared documents from my computer

For those that don't know, the variable substitutions resolve as listed:

Policy = "Software\Microsoft\Windows\CurrentVersion\Policies"

Explorer = "Software\Microsoft\Windows\CurrentVersion\Explorer"

Advanced = "Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"

Thanks

Link to comment
Share on other sites


Those 3 registry keys all will disable the shared documents folder. Options.inf just adds some new settings to folder options. Since the only way to disable shared documents in the GUI is tweakui (maybe gpedit.msc for pro), i added it to folder options so users can easily enable/disable it. The policy is the preferred way to disable the shared docs folder, since most people know about the policy, but not as many know about the delegatefolders one.

When i was making options.inf i just went to winguides.com and looked for anything that interested me. I copied the descriptions into the .inf to keep it organised.

-gosh

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...