Microsoft KB Archive/288292

From BetaArchive Wiki
Knowledge Base


Managing File and Folder Permissions Through the Command Line Utility

Article ID: 288292

Article Last Modified on 11/1/2006



APPLIES TO

  • Microsoft Windows NT Server 4.0 Standard Edition



This article was previously published under Q288292

SUMMARY

This article describes how to use the command line utility to take ownership of all files and subdirectories in a folder, and to grant the Administrators group Full Control of these objects.

MORE INFORMATION

  1. Start a command prompt.
  2. To set ownership of a folder and all of its contents, run the following command:


subinacl /subdirectories *.* /setowner=domainname\user

  1. To grant the Administrators group Full Control permissions to the folder and its contents, run the following command:


cacls *.* /t /e /g domainname\administrator:f


Keywords: kbinfo KB288292