+ Post New Thread
Results 1 to 3 of 3
Windows Thread, XCalcs Help please in Technical; Hi, this is my first time using xcalcs. I have a folder c:\shortcuts that I want to make read and ...
  1. #1
    rocknrollstar's Avatar
    Join Date
    Jun 2008
    Location
    Hampshire
    Posts
    435
    Thank Post
    387
    Thanked 28 Times in 24 Posts
    Rep Power
    20

    XCalcs Help please

    Hi, this is my first time using xcalcs. I have a folder c:\shortcuts that I want to make read and execute for all users on the domain, and full access for teachers and admins. I really need a command line that I can put in a batch file to run in a GPO.

    I've downloaded the xcalcs.vbs, but can't really work out the parameters, particularly if I need authenticated users R/E and teachers/admins full access. Needs to recurse into subdirectories too!

    Thanks in advance.

  2. #2

    Join Date
    Dec 2007
    Location
    Nottinghamshire
    Posts
    187
    Thank Post
    59
    Thanked 21 Times in 19 Posts
    Rep Power
    17
    You'll need to test this before using it but

    copy "\\server\Xcacls.vbs" "c:\"
    cscript c:\xcacls.vbs c:\folder /E /p "Authenticated users":re;re
    cscript c:\xcacls.vbs c:\folder /E /p "Domain\Staff":f;f
    cscript c:\xcacls.vbs c:\folder /E /p "Domain\domain Admins":f;f
    del c:\xcacls.vbs /s /q

    Just change the bold bits to what you need, ive not had much luck running Xcacls from a network shair also never tried it in a GPO let me know if it works.
    Last edited by notalot; 11th January 2010 at 12:12 PM.

  3. Thanks to notalot from:

    rocknrollstar (15th January 2010)

  4. #3
    rocknrollstar's Avatar
    Join Date
    Jun 2008
    Location
    Hampshire
    Posts
    435
    Thank Post
    387
    Thanked 28 Times in 24 Posts
    Rep Power
    20
    Thank notalot. Worked like a charm! Although the line#:

    cscript c:\xcacls.vbs c:\folder /E /p "Authenticated users":re;re

    needs to read

    cscript c:\xcacls.vbs c:\folder /E /p "Authenticated users":X

    Thanks again- couldn't have done it on my own

SHARE:
+ Post New Thread

Similar Threads

  1. Xcalcs helppppp please
    By alonebfg in forum Coding
    Replies: 1
    Last Post: 15th October 2007, 10:57 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •