Home > Enterprise Desktop Tips > > Free tool review: AccessChk permissions checker
Enterprise Desktop Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Free tool review: AccessChk permissions checker


Brien M. Posey, Contributor
05.09.2006
Rating: -4.33- (out of 5)


Advice for securing Windows
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


AccessChk is a small, but powerful, security utility available for free from Sysinternals. It is a command line utility designed to allow administrators to see exactly what rights a particular group has to a specific resource. This type of functionality may not seem all that helpful. After all, you can look at an Access Control List and tell instantly what permissions a user or group has been assigned. However, AccessChk gives you much more granular results.

For more information:
  • Local permissions
  • NTFS permissions
  • For example, suppose for a moment that I wanted to see what rights the Users group had over my server's C:\ folder. To do so, I could use the AccessChk command along with a couple of parameters that specify the group and the location for which I want to check the permissions. The actual syntax would look something like this:

    AccessChk "Users" c:\

    And the result is similar to what's shown in Figure A. As you can see in the figure, AccessChk lists every file and folder in the location specified and tells what rights the specified group has. One thing worth mentioning is that the AccessChk command is case sensitive. If I had used a lowercase U when I typed Users, the command would not have worked.


    Figure A
    AccessChk lists the rights associated with every file and directory in the location specified.

    Being able to look at granular file permissions is a good start, but AccessChk is not a one-trick pony. AccessChk is actually very flexible. You can use it to check what rights a particular user or group has to any file, folder, Registry key or service.

    In the previous example, I showed you how to use AccessChk to see what rights the Users group has over the C:\ folder. You could easily change the command, however, to see what permissions the Users group has over the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run Registry key. The syntax looks like this:

    AccessChk –k "Users" hklm\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

    The command's output looks something like what you see in Figure B.


    Figure B
    AccessChk allows you to check rights to Registry keys.

    Now that I have shown you a couple of examples of what you can do with AccessChk, let's look at the syntax. The syntax is as follows:

    AccessChk [-q] [-s] [-r] [-w] [-n] [-v] [-k] [-c]

    -Q     Quiet mode, no banner is displayed
    -S     Recursive mode
    -R     Show only objects that have read access
    -W     Show only objects that have write access
    -N     Show only objects that have no access
    -V     Verbose output
    -K     The specified resource is a registry key
    -C     The specified name is a Windows Service (you can also omit the name to display all services.

    What I like best about it (other than the price) is that it is such a light-weight utility. The executable file is only about 49 KB in size (the download is a 20 KB zip file). Unlike most of the more powerful commands, like utilities, this one is actually easy to use. It has a limited set of options, which prevents the utility's syntax from being overly complex. However, the utility does not sacrifice power or flexibility in the name of simplicity. In short, if you have to verify permissions on your network, you can't go wrong with AccessChk.

    About the author:Brien M. Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Windows 2000 Server and IIS. He has served as CIO for a nationwide chain of hospitals and was once in charge of IT security for Fort Knox. As a freelance technical writer, he has written for Microsoft, TechTarget, CNET, ZDNet, MSD2D, Relevant Technologies and other technology companies. You can visit his personal Web site at www.brienposey.com.


    Rate this Tip
    To rate tips, you must be a member of SearchEnterpriseDesktop.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    Add to Google



    RELATED CONTENT
    Windows desktop security tips
    The right security tools for finding Windows desktop weaknesses
    Using BitLocker in Windows 7
    20 days to a more secure enterprise
    Improvements to offline file synchronization in Windows 7
    How to get -- and keep -- user support with security
    Structuring patch management in seven steps
    Underlying causes of inconsistent patch management
    Monitoring user activity with network analyzers
    Microsoft's Patch Tuesday brings a bumper crop of security fixes
    Using third-party technologies with Microsoft's NAP

    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.



    Enterprise Desktop Security - Virus Protection, Malware Protection, Intrusion Detection
    HomeTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogs
    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 2008 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts