Need to set XP folder security on XP WS in AD enviourment to full permissions for everyone from AD or command line

We are running a MS AD server 2003 environment where software are installed via Ghost AI packages.
When a package is made of an proprietary application on the packet builder XP WS,
Ghost fails to record that a program library afterwards the primary installation has been given full access to user "everyone" in order to function.

How can  we correct this either from the AD or via a command line script ?


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If I follow your question correctly, you're looking at applying permissions to a folder from a command line.
You can use the cacls utility for this:

cacls C:\MyFolder /T /E /G Everyone:F

/T = push to all subfolders
/E = edit the ACL instead of replacing it (i.e leave the current perms in place)
/G = Grant "Everyone" : F(ull control)

Hope that helps - cacls /? will give you further options.
Toni UranjekConsultant/TrainerCommented:

You can use Group Policy to configure File System permissions.

1. Open the policy you wish to use in the Group Policy Editor.
2. Navigate to Computer Configuration / Windows Settings / Security Settings / File System.
3. Right-click File System and press Add File.
4. Browse to the file or folder whose permissions you wish to configure, select it, and press OK.
5. In the Database Security for <File or Folder> dialog, set the permissions and press OK.
6. In the Add Object dialog, make your selection and press OK.





Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Storage Software

From novice to tech pro — start learning today.