Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xcalcs

Status
Not open for further replies.

GrimR

IS-IT--Management
Jun 17, 2007
1,149
ZA
I have run the following cscript on my computer and it works.
Running the same script on server2003 does not do anything.
Running it on the share from my PC script times out.

Code:
CSCRIPT.EXE "C:\Xcacls\XCACLS.vbs" "F:\Clerk Folders" /E /G "domain\Audit Manager Assistants":M ; "domain\Audit Supervisors":M ; "domain\Audit Manager Seniors":M /T
Code:
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\administrator>CSCRIPT.EXE "C:\Xcacls\XCACLS.vbs
" "F:\Clerk Folders" /E /G "domain\Audit Manager Assistants":M ; "domain\Audit Supervisors":M ; "domain\Audit Manager Seniors":M /T
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Starting XCACLS.VBS (Version: 5.2) Script at 03/05/2011 12:12:51 PM

Startup directory:
"C:\Documents and Settings\administrator"

Arguments Used:
        Filename = "F:\Clerk Folders"
        /T (Traverse Directories)
        /E (Edit ACL leaving other users intact)
        /G (Grant rights)
                domain\Audit Manager Assistants:M
                domain\Audit Supervisors:M
                domain\Audit Manager Seniors:M



*****************************************************************
Directory: F:\Clerk Folders
Granting NTFS rights (M access for This Folder, Subfolders and Files) for "domain\Audit Manager Assistants"
Granting NTFS rights (M access for This Folder, Subfolders and Files) for "domain\Audit Supervisors"
Granting NTFS rights (M access for This Folder, Subfolders and Files) for "domain\Audit Manager Seniors"
Completed successfully.
*****************************************************************


Operation Complete
Elapsed Time: 321.6172 seconds.

Ending Script at 03/05/2011 12:18:13 PM

unfortunately the permissions do not get applied.

MCITP:EA/SA, MCSE, MCSA, MCDBA, MCTS, MCP+I, MCP
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top