Discussion Locked

XCACLS missed in W2K

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello !

I'm writing CMD batch script to fix some security holes in W2K Professioanl and NT Workstation (client-side script)

In Windows NT environement I used to remove "Execute" right
for "Everyone" group from mshta.exe (MS HyperText Application)as well as disable ShellScrap Application (*.SHS) execution
using XCACLS utility from the NT Resourse Kit -
> xcacls mshta.exe /E /P Everyone:EWD
> xcacls shscrap.dll /E /P Everyone:EWD

In W2K there are no XCACLS utility in Resource Kit anymore, but merely CACLS utlility, that can deal with "Read, Write, Change and Full Control" file permissions.

Is that correct that there is no way to add/remove "Execute" file permission in W2K from the command line ?

Best regards,
Nikolay N. Semenov

3 replies

by nikolay_semenov

That's Right !
http://www.microsoft.com/windows2000/library/resources/reskit/tools/existing/xcacls-o.asp

Using this tool, you can set all file-system security options accessible in Windows Explorer from the command line. XcAcls does this by displaying and modifying the access control lists (ACLs) of files.

XcAcls is especially useful in unattended installations of Microsoft Windows 2000 Professional or Server. By using this tool, you can set the initial access rights for folders in whichthe operating system resides. When you distribute software to servers or workstations, XcAcls also offers one-step protection against deletion of directories or files by users.

This discussion is closed to new replies.