Icacls and Cacls.exe - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Programming
Click Here to Login
Reply
 
Thread Tools Display Modes
 
Old 06-27-2012, 01:49 AM   #1 (permalink)
The Ghost
 
luke127's Avatar
 
Join Date: Mar 2012
Location: Australia
Posts: 832
Default Icacls and Cacls.exe

Okay can I just ask what exactly do these things do. I know they are the DOS version of changing a files permissions. However how could I use these on a USB or External Drive to make it more secure etc. I am also wishing to learn more about the syntax and how things should be written bla bla bla.

Anyone wish to enlighten me?
__________________

__________________
Yeah, I'm the boss 😂😂 FIGJAM 😂😂
luke127 is offline   Reply With Quote
Old 06-27-2012, 10:37 AM   #2 (permalink)
Private Joker
 
carnageX's Avatar
 
Join Date: Feb 2007
Location: South Dakota
Posts: 24,443
Default Re: Icacls and Cacls.exe

Not really a programming question, but w/e.

Quote:
Currently, you can use the Xcacls.exe utility, the Cacls.exe utility, and the Xcacls.vbs utility to modify NTFS permissions in Windows Server 2003. The Icacls.exe utility is an alternative option for modifying NTFS permissions. The Icacls.exe utility resolves various issues that occur when you use the existing utilities
The Icacls.exe utility is available for Windows Server 2003 with Service Pack 2

Unless the drive is plugged into the same port all the time, the drive letter could change, and would essentially break the permissions you setup on it, and could interfere with other operations.

And syntax of what exactly? Different languages have different syntax, so it depends on what language you're talking about..
__________________

__________________
Laptop: MSI GT70 2OC-059us | i7-4700MQ | 16GB | GTX 770m | 500GB SSD / 750GB HDD | 17.3" | Win10 Pro
Desktop: 4690k | 12GB g.Skill RipJaws | GTX 970 | 520hx | Z87X-UD4H | Corsair Vengeance C70 | Corsair H110 | Acer 25" | Acer 22" | Win10
Mobile: Samsung Galaxy Note 5


If I help you, or you just like what I said, rep me by clicking the under my post
carnageX is online now   Reply With Quote
Old 06-28-2012, 05:55 PM   #3 (permalink)
The Ghost
 
luke127's Avatar
 
Join Date: Mar 2012
Location: Australia
Posts: 832
Default Re: Icacls and Cacls.exe

Well different commands require different syntax.

Example: Net user administrator /active:yes
if you do this net user administrator /active: yes it won't work. So this is what I am talking about. What letters commands and other things can you use?
__________________
Yeah, I'm the boss 😂😂 FIGJAM 😂😂
luke127 is offline   Reply With Quote
Old 06-28-2012, 06:02 PM   #4 (permalink)
Private Joker
 
carnageX's Avatar
 
Join Date: Feb 2007
Location: South Dakota
Posts: 24,443
Default Re: Icacls and Cacls.exe

Just type /? after the command you're trying to run and it'll tell you what switches you can use with it..

If you're wanting to know ALL the switches for EVERY command.. then you might as well just look up the commands in the MSDN library.
__________________
Laptop: MSI GT70 2OC-059us | i7-4700MQ | 16GB | GTX 770m | 500GB SSD / 750GB HDD | 17.3" | Win10 Pro
Desktop: 4690k | 12GB g.Skill RipJaws | GTX 970 | 520hx | Z87X-UD4H | Corsair Vengeance C70 | Corsair H110 | Acer 25" | Acer 22" | Win10
Mobile: Samsung Galaxy Note 5


If I help you, or you just like what I said, rep me by clicking the under my post
carnageX is online now   Reply With Quote
Old 06-29-2012, 02:56 AM   #5 (permalink)
The Ghost
 
luke127's Avatar
 
Join Date: Mar 2012
Location: Australia
Posts: 832
Default Re: Icacls and Cacls.exe

Thank you
__________________
Yeah, I'm the boss 😂😂 FIGJAM 😂😂
luke127 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What Are CCC.Exe, Atiedxx.exe, Atiesrxx.exe, Mom.exe And CLIStart.exe? Osiris Tips, Tricks & Tutorials 0 01-07-2010 07:11 AM
Disable AppleMobileDeviceService.Exe, iTunesHelper.exe and iPodService.exe Osiris Tips, Tricks & Tutorials 0 06-07-2009 11:46 AM
explorer.exe, userinit.exe, rundll32.exe not initialising! squirrellym Microsoft Windows and Software 3 08-03-2008 05:08 PM
Net.exe, Net1.exe, Cmd.exe __Camouflage__ Microsoft Windows and Software 1 12-17-2006 02:10 AM
Help with CACLS-ACL's Edster12 Microsoft Windows and Software 1 12-19-2004 03:49 PM



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 09:37 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.