Re: Can this be fixed by a VBS and how




"Trebor" <Trebor@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DE51E0F4-C552-419E-967D-37AC89E5EA6B@xxxxxxxxxxxxxxxx
Hello to all

I got a bit of an issue here that I think using the right script will fix
but not sure where to start looking or how to set it up.

The issue is resetting security permissions on a large amount of files in
a
folder that resides on a Windows 2003 R2 STD Server. These files had the
user
listings in the security tab removed so now they can not be accessed by
anyone unless the logged on user takes ownership of them. I want to either
build a custom script that will restore permissions to the domain users or
use a copy of a script as a template to use to.

Any suggestions?

By "having the user listings in the security tab removed" do you mean that
the files have had all permissions revoked for all users? If so, then the
only account that will be able to make any permissions changes will be an
administrator, and even then it will first need to take ownership of all of
the files. I'm not sure, but I'd guess that a resource kit tool exists that
will do that.

Once that is done, the permissions will need to be re-applied, not restored,
as the old permissions no longer exist. Do you have a way of determining
what the individual file permissions should be?

/Al


.



Relevant Pages

  • Re: cant get access to disk share when connecting from a remote s
    ... The systems are DUTs. ... for each of the drives within the system. ... Everything in the scripts work except the file permissions below the shares ... the shares on the DUTs manually, after they run my rename script, but I would ...
    (microsoft.public.windows.server.scripting)
  • Re: Changing file permissions using vbscript
    ... You, or rather the context your script will run in, may only ... ownership, such as by having Full Control. ... The file will be defined with the permissions that are effective ... If the file is defined with permissions that allow the context ...
    (microsoft.public.security)
  • Re: VBA Script to Read WMP 11 Database
    ... The script failed on the desktop when I downloaded WMP11, ... Just reviewing the bidding -- WMP 11 responds properly to commands in a VBS ... That's why the computer wouldn't let me manually change the permissions. ... Digital Media MVP: 2004-2007 ...
    (microsoft.public.windowsmedia)
  • Re: VBA Script to Read WMP 11 Database
    ... The script failed on the desktop when I downloaded WMP11, ... Just reviewing the bidding -- WMP 11 responds properly to commands in a VBS ... That's why the computer wouldn't let me manually change the permissions. ... The CREATOR OWNER is likely on windows to be one of the admin accounts ...
    (microsoft.public.windowsmedia)
  • Re: how to restrict users to search in their own Organizational Unit
    ... will be given the necessary permissions. ... Who would you DENY? ... decided a script can make it possible to accomplish, ... If I need to create a security group per OU and then add all users ...
    (microsoft.public.windows.server.active_directory)