mfeliz
Wed Aug 09 16:57:34 CDT 2006
You can also run the script in a Group Policy object this causes the
script to run as system.
DontBotherReplying wrote:
> Arvind-ACS wrote:
> > I'm trying to run a script to find out the ACL for all the folders on
> > oneof my file servers, but since I also dont have access on some of the
> > folders like finance and HR, the script fails. The only way I can think
> > of without changing the permissions on the HR and Finance folders is to
> > run the script using the builtin SYSTEM account.
> >
> > If anybody know how to run a script using the system account, please
> > let me know.
> >
> > Cheers
> > Arvind
>
> Get PSEXEC utility from
>
http://www.sysinternals.com/Utilities/PsExec.html
>
> Have PSEXEC run CSCRIPT on the target machine (or server), add a -S to
> the command line to run the script as system account. Additionally,
> you'll need to tell script the full location of the script (preferrably
> copied to the workstation).