Advertisement
Promo

Desktop platforms Toolkit

View and manage permissions in Windows 2000 from a console

Jim Boyce

Published: 23 Dec 2005 12:55 GMT

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

Windows 2000 provides several mechanisms that enable administrators to view and manage permissions. In many situations, however, it's useful to be able to manage permissions from a console. Showacls.exe and Cacls.exe are extremely useful for viewing and managing access control lists (ACLs), which control permissions, from a console or from a batch file or script.

Showacls.exe, included with the Windows 2000 Resource Kit, is a console tool that enumerates access rights for files, folders, and folder trees. The /S switch causes Showacls.exe to include subdirectories; the /U switch lets you specify a user. Replace <path> with the file or folder path for which you want to view permissions:

Showacls.exe /S /U:(domain)\(user) <path>

For archival purposes, you can redirect Showacls.exe's output to a file.

The Cacls.exe tool, included with Windows 2000, lets you modify ACLs. You can use Cacls.exe to modify permissions for a single user or multiple users, change ACLs for a single file or folder, or change them for an entire folder tree. Cacls.exe can add or remove permissions as needed.

For the Cacls.exe syntax and usage, execute the following command at a console prompt:

CACLS /?

  • Email
  • Trackback
  • Clip Link
  • Print friendlyPrint with EPSON

Did you find this article useful?
60 out of 124 people found this useful


Full Talkback thread

0 comments


Company/Topic Alerts

Create a new alert from the list below:




Video icon

Video

Microsoft Windows 7 Special Report Special Report

How Microsoft can make Windows 7 a success

How Microsoft can make Windows 7 a success

Comment Many businesses have given Vista a wide berth; Microsoft must focus on five areas to make sure Windows 7 doesn't suffer the same fate, argues TechRepublic's Jason Hiner

More Special Reports

Win a Creative Zen X-Fi2 player and accessories

Win a Creative Zen X-Fi2 player and accessories

What is ZDNet UK's usual tagline?

Competition closes - 14 Jan 2010

Desktop Management Benchmarking

Test Your Desktop Management Systems

How good are your company's desktop management solutions? How do they compare with those of your peers?

Take two minutes to complete our new Desktop Management and Energy Consumption benchmark, and find out what issues your business needs to focus on.


Skip Sub Navigation Links to CNET Brand Links

Help

Become part of the ZDNet community.

Newsletters