It creates a series of folders from a template. (It's the one I was working on last week.) Some of the folders in the template have special permission sets on them. Not all of the users that will run the script actually have access rights to all the subfolders, so when the script runs it will stop when it runs into an ownership problem. At the heart, it's basically just an XCOPY /E /H /I / K /O. I neglected to test the damn thing as a member of the sales group which has about enough rights to view but very limited write permissions in the sub folders.
Basically when the thing gets to the Engineering folder it stops. Also, it appears that there may be a problem with ownership. Another group creates the top level folder then just stops. I'd rather just set it up so that whoever starts the app it runs as an administrator which doesn't have such limitations. From: Don Ely [mailto:[email protected]] Sent: Wednesday, January 28, 2009 6:56 PM To: NT System Admin Issues Subject: Re: Scripting question What does the script do? On Wed, Jan 28, 2009 at 6:52 PM, Jim Majorowicz <[email protected]> wrote: I've got a short script that only works if you're running it as a network admin. Is there a way I can set up some sort of additional script or executable that will run the script with admin privileges? ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
