Home > Windows Tips > > Powerful free tool expands your security info edit options
Win IT Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Powerful free tool expands your security info edit options


Serdar Yegulalp
01.12.2005
Rating: -4.00- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


One of the ways you will view or edit the security information for objects in the Windows file system is through the CACLS command.

However, CACLS only covers a limited range of functions and objects, and can't address more complex scenarios, such as when you need to move security information between objects or domains.

Fortunately, Microsoft took the time to write another command-line tool, and a very powerful and flexible one at that, called SubInACL. It is a free download available from (http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en) for Windows 2000, Windows XP and all editions of Windows Server 2003.

SubInACL can audit security information not just about files, but also Registry keys and services, and can transfer security information among users, groups, domains, and of course, objects themselves.

The full command set for SubInACL is documented in an HTML file included with the program. When you pass any command to SubInACL, you can also supply a switch, /testmode, that determines if the changes in question can be made but doesn't actually change them. This is useful if you are, for instance, supplying a SID or a domainusername as a parameter and aren't sure they're correct, or simply want to audit the results of a whole slew of scripted commands passed to SubInACL.

Another useful switch if you're doing batch processing is /offlinesam, which lets you refer the program to a dump file with a list of SIDs instead of attempting to look them up on the computer itself. This is handy if the domain you normally work with for those objects isn't accessible or has been taken offline. (The dump file can be produced by running SubInACL itself using the /dumpcachedsids switch.)

Note that you won't be able to use SubInACL if you're running it in the context of a user account that isn't allowed to modify object or user security information.


Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter. Check out his Windows 2000 blog for his latest advice and musings on the world of Windows network administrators -- please share your thoughts as well!

Rate this Tip
To rate tips, you must be a member of SearchWinIT.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Windows Technology Updates, Reviews and Solutions

Laptop Discounts with free coupon codes, huge savings at Notebook Review

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts