Re: Redirected Folders



On Thu, 30 Jun 2005 12:45:02 -0700, "Ron Gallimore" <RonGallimore@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

>I just took over a network that uses redirected documents. They were not set
>up originally to allow administrators to access these documents. How can I
>fix this? Will the steps in KB article 288991 mess up the permissions for
>current users?


The steps in that KB will not mess up user permissions.
If will set things up properly for new users.

To fix administrator access for the current users, you need to grant Administrators Full Control on all folders and subfolders,
and force User Ownership and Full Control.

The best way to do that is via a script that runs in the System context:
See tip 3215 » How do I schedule a job to run under the SYSTEM context?
in the 'Tips & Tricks' at http://www.jsifaq.com

NOTE: tip 8530 » Corrected version of SubInAcl.


In the script, enumerate sub-folders from parent folder and use CACLS.
If the parent folder is C:\Users, then:

@echo off
setlocal
pushd c:\users
for /f "Tokens=*" %%a in ('dir /b /a c:\users') do (
echo y| cacls "c:\users\%%a" /T /E /C /g Administrators:F
echo y| cacls "c:\users\%%a" /T /E /C /g "%USERDOMAIN%\%%a":F
subinacl /subdirectories "c:\users\%%a" /setowner="%USERDOMAIN%\%%a"
subinacl /subdirectories "c:\users\%%a\*.*" /setowner="%USERDOMAIN%\%%a"
)
popd
endlocal
.



Relevant Pages

  • Redirected Folders
    ... I just took over a network that uses redirected documents. ... up originally to allow administrators to access these documents. ... fix this? ...
    (microsoft.public.win2000.group_policy)
  • Re: Unnamed posters in the NG
    ... You think the administrators of Math Forum at Drexel ... The administration could fix their own mess never mind about the educational system at large or other newsgroups such as Google. ...
    (sci.math)
  • Re: administrator unable to logon interactively
    ... restore should fix the problem. ... startup script group policy on the dc controllers from a mmc group policy ... >> to the secondary domain controller and no one in the ... >> administrators group including the administrator can logon ...
    (microsoft.public.win2000.security)
  • Re: administrator unable to logon interactively
    ... > restore should fix the problem. ... > startup script group policy on the dc controllers from a mmc group policy ... >>> to the secondary domain controller and no one in the ... >>> administrators group including the administrator can logon ...
    (microsoft.public.win2000.security)
  • RE: GPO does not work fully
    ... I think I found the problem, but I don't know how to fix it..... ... when i log on to the local computer using a user name in the administrator ... On my local XP Pro Machine, the policies only work for administrators, ...
    (microsoft.public.win2000.group_policy)